Skip to content

Commit 3350663

Browse files
committed
extract .prettierrc config from .eslintrc
1 parent a34f7b9 commit 3350663

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.eslintrc

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,7 @@
44
"strict": 1,
55
"no-undef": 1,
66
"no-fallthrough": 1,
7-
"react/prop-types": 2,
8-
"prettier/prettier": ["error", {
9-
"printWidth": 120,
10-
"singleQuote": true,
11-
"trailingComma": "none",
12-
"bracketSpacing": false,
13-
"jsxBracketSameLine": true,
14-
"arrowParens": "avoid",
15-
"semi": false,
16-
"tabWidth": 2,
17-
"useTabs": false
18-
}]
7+
"react/prop-types": 2
198
},
209
"extends": ["standard", "standard-react", "plugin:prettier/recommended"],
2110
"env": {

.prettierrc

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

0 commit comments

Comments
 (0)