chore: re-add Prettier rules to ESLint configuration file
This commit is contained in:
parent
a77dd2b54a
commit
95e04b1d96
1 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
"airbnb",
|
||||
"plugin:import/electron",
|
||||
"plugin:flowtype/recommended",
|
||||
"prettier"
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
|
@ -28,6 +28,11 @@
|
|||
"rules": {
|
||||
"import/no-commonjs": "warn",
|
||||
"import/no-amd": "warn",
|
||||
"prettier/prettier": ["error", {
|
||||
"trailingComma": "es5",
|
||||
"printWidth": 100,
|
||||
"singleQuote": true
|
||||
}],
|
||||
"func-names": ["warn", "as-needed"]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue