mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-01 19:38:24 +08:00
updated eslint config
This commit is contained in:
parent
79c5b432fc
commit
ce6719e288
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
},
|
||||
"rules": {
|
||||
"json/*": ["error"],
|
||||
"indent": ["error", 2],
|
||||
"indent": ["error", 2, { "SwitchCase": 1 }],
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"quotes": [
|
||||
"error",
|
||||
|
@ -34,6 +34,7 @@
|
|||
],
|
||||
"semi": ["error", "always"],
|
||||
"no-unused-vars": ["error", { "argsIgnorePattern": "^(_|e|event)" }],
|
||||
"no-empty": ["error", { "allowEmptyCatch": true }],
|
||||
"require-path-exists/notEmpty": 2,
|
||||
"require-path-exists/tooManyArguments": 2,
|
||||
"require-path-exists/exists": [
|
||||
|
|
Loading…
Reference in a new issue