-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
38 lines (32 loc) · 1012 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
31
32
33
34
35
36
37
38
# This file is for unifying the coding style for different editors and IDEs.
# For more information, visit editorconfig.org.
# WordPress Coding Standards:
# https://make.wordpress.org/core/handbook/coding-standards/
root = true
[*]
# Set the character set to UTF-8.
charset = utf-8
# Use LF (linefeed) for line endings.
end_of_line = lf
# Indentation size is 4 spaces.
indent_size = 4
# Tab width is 4 spaces.
tab_width = 4
# Use tabs for indentation.
indent_style = tab
# Insert a final newline at the end of the file.
insert_final_newline = true
# Trim trailing whitespace at the end of lines.
trim_trailing_whitespace = true
[*.txt]
# Disable trimming trailing whitespace for .txt files.
trim_trailing_whitespace = false
[*.{md,json,yml}]
# Disable trimming trailing whitespace and use spaces for indentation for specific file types.
trim_trailing_whitespace = false
indent_style = space
indent_size = 2
tab_width = 2
[*.json]
# Use tabs for indentation specifically for .json files.
indent_style = tab