-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.editorconfig
36 lines (32 loc) · 1.05 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
# What is Editorconfig?
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
# https://www.topbug.net/blog/2012/03/14/use-editorconfig-to-maintain-consistent-coding-styles-between-different-editors-and-ides/
# Sample files:
# https://github.com/airbnb/javascript/blob/master/.editorconfig
# https://github.com/rcorp/standard-project-structure/blob/master/generators/linter/templates/.editorconfig
# https://github.com/palantir/blueprint/blob/master/.editorconfig
root = true
[*]
# Change these settings to your own preference
indent_style = space
indent_size = 2
# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# some files use 4 spaces for indentation
[*.{js,jsx,ts,tsx,xml}]
indent_size = 4
[tsconfig.json]
indent_size = 4
# Ignore paths
[/node_modules/**]
charset = none
end_of_line = none
insert_final_newline = none
trim_trailing_whitespace = none
indent_style = none
indent_size = none