UNPKG

1.22 kBPlain TextView Raw
1# This file is provided by the package "node-editorconfig":
2# https://github.com/webextensions/node-editorconfig
3# https://www.npmjs.com/package/node-editorconfig
4#
5# References:
6# http://editorconfig.org/ (Official Site)
7# http://editorconfig.org/#download (Plugins)
8# http://davidensinger.com/2013/07/why-i-use-editorconfig/ (Reference)
9# https://github.com/eslint/eslint/blob/master/.editorconfig (Sample file)
10
11# No .editorconfig files above the root directory
12root = true
13
14[*]
15charset = utf-8
16end_of_line = lf
17indent_size = 4
18indent_style = space
19insert_final_newline = true
20trim_trailing_whitespace = true
21
22[{.nvmrc,*.svg}]
23insert_final_newline = false
24
25[Makefile]
26indent_style = tab
27
28[{package.json,package-lock.json,bower.json,nodemon.json,.babelrc,.travis.yml}]
29indent_size = 2
30
31[{*.markdown,*.md,*.mdown,*.mkd,*.mkdn,*.text}] # https://superuser.com/questions/249436/file-extension-for-markdown-files/285878#285878
32trim_trailing_whitespace = false # https://stackoverflow.com/editing-help#linebreaks
33
34[node_modules/**]
35charset = unset
36end_of_line = unset
37indent_size = unset
38indent_style = unset
39insert_final_newline = false
40trim_trailing_whitespace = false