Merge pull request #14148 from Snuffleupagus/editorconfig-json
Ensure that the EditorConfig rules apply to `*.json` and `*.pdf.link` files as well
This commit is contained in:
commit
ef0713e055
@ -1,6 +1,6 @@
|
|||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*.{js,jsm,html,css}]
|
[*.{js,jsm,json,html,css,pdf.link}]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
@ -9,9 +9,12 @@ insert_final_newline = true
|
|||||||
max_line_length = 80
|
max_line_length = 80
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.{json,pdf.link}]
|
||||||
|
max_line_length = off
|
||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
max_line_length = 0
|
max_line_length = off
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
[COMMIT_EDITMSG]
|
[COMMIT_EDITMSG]
|
||||||
max_line_length = 0
|
max_line_length = off
|
||||||
|
Loading…
x
Reference in New Issue
Block a user