Skip to content

Commit c7111ce

Browse files
committed
修改 prettierrc 兼容 eslint的multiline-ternary原则
1 parent 3ed5f16 commit c7111ce

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.prettierrc.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
2-
"singleQuote": true,
3-
"semi": false,
4-
"trailingComma": "none",
5-
"arrowParens": "avoid"
6-
}
2+
"singleQuote": true,
3+
"semi": false,
4+
"trailingComma": "none",
5+
"arrowParens": "avoid",
6+
"printWidth": 120,
7+
"bracketSpacing": true,
8+
"jsxSingleQuote": true,
9+
"jsxBracketSameLine": true
10+
}

0 commit comments

Comments
 (0)