forked from airbnb/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
25 lines (22 loc) · 914 Bytes
/
.editorconfig
File metadata and controls
25 lines (22 loc) · 914 Bytes
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
# Documentation: https://editorconfig.org/
# VSCode Extension: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
# Defines this as the top-most EditorConfig file (project scoped)
root = true
[*]
charset = utf-8
# Soft tabs (space character) set to 2 spaces
# @see https://github.com/airbnb/javascript#whitespace--spaces
indent_style = space
indent_size = 2
# End files with a single newline character (LF)
# @see https://github.com/airbnb/javascript#whitespace--newline-at-end
insert_final_newline = true
end_of_line = lf
# Avoid trailing spaces at the end of lines (trim whitespace)
# @see https://github.com/airbnb/javascript#whitespace--no-trailing-spaces
trim_trailing_whitespace = true
# Avoid having lines of code that are longer than 100 characters
# @see https://github.com/airbnb/javascript#whitespace--max-len
max_line_length = 100
[*.md]
trim_trailing_whitespace = false