|
@@ -20,7 +20,7 @@ module.exports = {
|
|
},
|
|
},
|
|
plugins: ["react", "react-hooks"],
|
|
plugins: ["react", "react-hooks"],
|
|
rules: {
|
|
rules: {
|
|
- indent: ["error", 2],
|
|
|
|
|
|
+ indent: ["error", 2, { SwitchCase: 1 }],
|
|
"linebreak-style": ["error", "unix"],
|
|
"linebreak-style": ["error", "unix"],
|
|
quotes: ["error", "double"],
|
|
quotes: ["error", "double"],
|
|
semi: ["error", "always"],
|
|
semi: ["error", "always"],
|