Skip to content

Commit 93fe4ed

Browse files
authored
Merge pull request #93 from marmelab/prettier-integration
Add rules
2 parents 7a979f2 + 0e6e72d commit 93fe4ed

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.eslintrc

+6-18
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,19 @@
99
},
1010
"extends": [
1111
"eslint:recommended",
12-
"plugin:import/errors",
13-
"plugin:import/warnings",
14-
"prettier"
15-
],
16-
"plugins": [
1712
"prettier",
18-
"jest"
13+
"plugin:prettier/recommended",
14+
"plugin:import/errors",
15+
"plugin:import/warnings"
1916
],
17+
"plugins": ["prettier", "jest"],
2018
"rules": {
21-
"prettier/prettier": [
22-
"error",
23-
{
24-
"singleQuote": true,
25-
"tabWidth": 4,
26-
"trailingComma": "es5"
27-
}
28-
],
19+
"prettier/prettier": ["error"],
2920
"import/no-extraneous-dependencies": "off",
3021
"no-console": [
3122
"error",
3223
{
33-
"allow": [
34-
"warn",
35-
"error"
36-
]
24+
"allow": ["warn", "error"]
3725
}
3826
],
3927
"no-unused-vars": [

0 commit comments

Comments
 (0)