Browse Source

add .editorconfig file

sisyphus
Dustin Falgout 9 years ago
parent
commit
eeab002b2c
  1. 1
      .coafile
  2. 21
      .editorconfig

1
.coafile

@ -9,6 +9,7 @@ indent_cli_options = -bad -bap -bbo -nbc -br -brs -brf -c33 -cd33 -cdb -ce -ci4
[C]
bears = CPPLintBear,ClangASTPrintBear,ClangBear,ClangCloneDetectionBear,ClangFunctionDifferenceBear
files = **/*.(c|h|cpp)
cpplint_ignore = whitespace/tab
[JavaScript]
bears = JSHintBear

21
.editorconfig

@ -0,0 +1,21 @@
# Top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Indent With Tabs
indent_style = tab
indent_size = tab
tab_width = 4
# UTF-8
charset = utf-8
max_line_length = 99
continuation_indent_size = 8
indent_brace_style = 1TBS
curly_bracket_next_line = false
Loading…
Cancel
Save