Skip to content

Commit 6078dbf

Browse files
committed
build(tools): prettier use ediftorconfig file now
1 parent cf71dfc commit 6078dbf

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ end_of_line = lf
1414
charset = utf-8
1515
trim_trailing_whitespace = true
1616
insert_final_newline = true
17+
max_line_length = 120
1718

1819
[*.css]
1920
indent_style = space

.prettierrc.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"$schema": "http://json.schemastore.org/prettierrc",
3+
"editorconfig": true,
34
"arrowParens": "always",
45
"bracketSpacing": true,
56
"htmlWhitespaceSensitivity": "css",
6-
"printWidth": 120,
77
"proseWrap": "always",
88
"quoteProps": "as-needed",
99
"semi": true,
1010
"singleQuote": true,
11-
"tabWidth": 2,
1211
"trailingComma": "es5",
1312
"useTabs": false,
1413
"overrides": [
@@ -34,8 +33,7 @@
3433
{
3534
"files": ["*.md", "LICENSE"],
3635
"options": {
37-
"parser": "markdown",
38-
"tabWidth": 2
36+
"parser": "markdown"
3937
}
4038
}
4139
]

0 commit comments

Comments
 (0)