Configure linting for switch
This commit is contained in:
parent
89aef6d2ed
commit
686f693d09
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
},
|
||||
plugins: ["react", "react-hooks"],
|
||||
rules: {
|
||||
indent: ["error", 2],
|
||||
indent: ["error", 2, { SwitchCase: 1 }],
|
||||
"linebreak-style": ["error", "unix"],
|
||||
quotes: ["error", "double"],
|
||||
semi: ["error", "always"],
|
||||
|
|
Loading…
Reference in a new issue