-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
67 lines (53 loc) · 1.54 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
64
65
66
67
# Stop the editor from looking for .editorconfig files in the parent directories
root = true
# Set default settings for all languages
[*]
charset = utf-8
insert_final_newline = true
end_of_line = lf
indent_style = space
indent_size = 2
max_line_length = 80
trim_trailing_whitespace = true
[*.json]
max_line_length = 130
# I temporarily increase the max_line_length to 130 for rush.json
# because the official schema path is not up-to-date
[rush.json]
max_line_length = 130
[{.prettierignore,.gitattributes,.gitignore}]
max_line_length = unset
# Ignore line length of generated tsconfig and base config
[{tsconfig.json,tsconfig.*.json}]
max_line_length = unset
# Ignore line length for generated document and config
[docs]
max_line_length = unset
# Ignore line length for pnpm generated files
[{.npmrc*,pnpm-lock.yaml,.pnpmfile.cjs}]
max_line_length = unset
# Ignore markdown files from reviews as the generated by rush
[common/reviews/**/*.md]
insert_final_newline = unset
end_of_line = unset
# Ignore line length of rush generated scripts
[common/scripts/**/*.js]
max_line_length = unset
insert_final_newline = unset
# Ignore line length of rush configuration file
[common/config/**/*.json]
max_line_length = unset
insert_final_newline = unset
end_of_line = unset
# Ignore line length of rush configuration file
[common/changes/**/*.json]
max_line_length = unset
insert_final_newline = unset
# Ignore line length of cspell config
[.github/linters/cspell.json]
max_line_length = unset
[LICENSE]
indent_style = space
indent_size = unset
[*.md]
max_line_length = unset