Browse Source

Add a basic .editorconfig file

pull/2232/head
Sami Vaarala 5 years ago
parent
commit
36fc571be0
  1. 29
      .editorconfig
  2. 2
      Makefile

29
.editorconfig

@ -0,0 +1,29 @@
# https://editorconfig.org/
#
# Approximate configuration for the Duktape code base.
root = true
[*.{c,h,c.in,h.in}]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 8
trim_trailing_whitespace = true
[*.js]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[Makefile]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 8
trim_trailing_whitespace = true

2
Makefile

@ -945,7 +945,7 @@ sax-js:
xmldoc:
# https://github.com/nfarina/xmldoc
# http://nfarina.com/post/34302964969/a-lightweight-xml-document-class-for-nodejs-javascript
$(GIT) clone --depth 1 https://github.com/nfarina/xmldoc.git
$(GIT) clone --depth 1 https://github.com/nfarina/xmldoc.git
FlameGraph:
# http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html
# https://github.com/brendangregg/FlameGraph

Loading…
Cancel
Save