-
Notifications
You must be signed in to change notification settings - Fork 160
/
.editorconfig
30 lines (27 loc) · 878 Bytes
/
.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
# http://editorconfig.org
#
# An .editorconfig file describes minor formatting tweaks
# to apply to text files to ensure consistent formatting
# in a project with multiple developers.
#
# Plugins exist to allow editors / IDEs to automatically apply
# these tweaks to a project when an .editorconfig file is
# found in the project's root directory.
#
# Plugins
# Sublime - https://packagecontrol.io/packages/EditorConfig
# IntelliJ - https://plugins.jetbrains.com/plugin/7294
# (most other IDEs/Editors - Google it)
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
# tools for these files normalize their JSON output with 2 spaces per level (package.json, config.json, .babelrc, npm-shrinkwrap.json)
[*.json]
indent_size = 2