-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
63 lines (50 loc) · 2.04 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# EditorConfig helps maintain consistent coding styles
# for multiple developers working on the same project
# across various 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.
# For information about the configs used here and for more
# configs available, visit EditorConfig documentation.
#
# http://editorconfig.org
# EditorConfig file follows the file tree structure.
# For a code in any directory, the file inside the same
# directory takes first precedence and then outer files.
# This is to declare the root editorconfig file for project.
root = true
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[*]
# Use UTF-8 everywhere.
charset = utf-8
# Indent using 4 spaces.
indent_size = 4
# Use tabs equivelent to the spaces used for indentation.
indent_style = tab
# Automatically adds one newline at the end of the file.
insert_final_newline = true
# Trims the trailing whitespaces on each line.
trim_trailing_whitespace = true
# Unix-style newlines with a newline ending every file
end_of_line = lf
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[*.md]
# For Markdowns, trailing whitespaces are part of syntax.
# For Ex: Two trailing whitespaces indicate that next newline
# is to be rendered in markdown as a newline.
# https://daringfireball.net/projects/markdown/syntax#block
trim_trailing_whitespace = false
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[{package.json,.travis.yml}]
# Travis and package.json defaults
indent_size = 2
indent_style = space
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Indentation override for all JS under lib directory.
# Because it is less likely that you are going to open these
# JS files and read their code.
[lib/**.js]
indent_style = space
indent_size = 2