-
Notifications
You must be signed in to change notification settings - Fork 22
/
.editorconfig
47 lines (40 loc) · 1.37 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 is the annoted, default '.editorconfig' file.
##
## http://editorconfig.org
##
## EditorConfig helps developers define and maintain consistent coding
## styles between different editors and IDEs.
## The EditorConfig project consists of a file format for defining
## coding styles and a collection of text editor plugins that enable
## editors to read the file format and adhere to defined styles.
## EditorConfig files are easily readable and they work nicely with
## version control systems.
##
## Sublime plugin: https://github.com/sindresorhus/editorconfig-sublime#readme
## Vim plugin: https://github.com/editorconfig/editorconfig-vim#readme
## Other plugins: http://editorconfig.org/#download
##
## This is the top-most EditorConfig file.
root = true
## Mind your sanity; use the Ubiquitous Text Format.
[*]
charset = utf-8
## Unix-style newlines.
## With a newline ending every file
## No trailing whitespace.
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
## Do not trim traling whitespace for markdown files.
[*.md]
max_line_length = off
trim_trailing_whitespace = false
## Mind your collegues' sanity: Indentation; no excuses, no exceptions.
[*]
indent_size = 4
indent_style = space
## Except npm ;-) npm uses an indent width of 2, so comply with that.
[package.json]
indent_size = 2