-
Notifications
You must be signed in to change notification settings - Fork 440
/
.editorconfig
47 lines (39 loc) · 1.39 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This file is provided by the package "node-editorconfig":
# https://github.com/webextensions/node-editorconfig
# https://www.npmjs.com/package/node-editorconfig
#
# To generate this file:
# $ npx node-editorconfig@latest
#
# To update this file:
# $ npx node-editorconfig@latest --overwrite
#
# References:
# http://editorconfig.org/ (Official Site)
# http://editorconfig.org/#download (Plugins)
# http://davidensinger.com/2013/07/why-i-use-editorconfig/ (Reference)
# https://github.com/eslint/eslint/blob/master/.editorconfig (Sample file)
# No .editorconfig files above the root directory
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[{.babelrc,bower.json,nodemon.json,*.yml,*.yaml}]
indent_size = 4
[Makefile]
indent_style = tab
[{*.json,.node-version,.nvmrc,*.svg}]
insert_final_newline = false
[{*.markdown,*.md,*.mdown,*.mkd,*.mkdn,*.text}] # https://superuser.com/questions/249436/file-extension-for-markdown-files/285878#285878
trim_trailing_whitespace = false # https://stackoverflow.com/editing-help#linebreaks
[/node_modules/**] # Glob/minimatch pattern to match the "node_modules" directory at the project root
charset = unset
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = false
trim_trailing_whitespace = false