Skip to content

Commit 328cfb3

Browse files
demenskysandersn
authored andcommittedAug 6, 2019
Simplify .editorconfig & .prettierrc.json (DefinitelyTyped#37400)
* Simplify .editorconfig & .prettierrc.json * Update `"trailingComma"` to `"all"`. Remove md indent_size
1 parent 3f6627e commit 328cfb3

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed
 

‎.editorconfig

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ root = true
44
indent_size = 4
55
trim_trailing_whitespace = true
66
insert_final_newline = true
7-
8-
[{*.json,*.yml,*.ts,*.tsx,*.md}]
7+
max_line_length = 120
98
indent_style = space
10-

‎.prettierrc.json

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
{
22
"$schema": "http://json.schemastore.org/prettierrc",
3-
4-
"parser": "typescript",
5-
"printWidth": 120,
6-
"semi": true,
73
"singleQuote": true,
8-
"tabWidth": 4,
9-
"trailingComma": "es5",
10-
11-
"overrides": [
12-
{
13-
"files": ["*.md"],
14-
"options": {
15-
"tabWidth": 2
16-
}
17-
}
18-
]
4+
"trailingComma": "all"
195
}
206

0 commit comments

Comments
 (0)
Please sign in to comment.