Skip to content

Commit

Permalink
build: enable block-scoped-var and accessor-pairs eslint rules (anura…
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty541 committed Dec 22, 2023
1 parent 69e168d commit 5f1df56
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@

// Allowed a getter without setter, but all setters require getters

// "accessor-pairs": [ "error", {
// "getWithoutSet": false,
// "setWithoutGet": true
// }],
// "block-scoped-var": "warn",
"accessor-pairs": [ "error", {
"getWithoutSet": false,
"setWithoutGet": true
}],
"block-scoped-var": "warn",
"consistent-return": "error",
// "curly": "error",
// "default-case": "warn",
Expand Down

0 comments on commit 5f1df56

Please sign in to comment.