build: enable block-scoped-var and accessor-pairs eslint rules (#3102)

This commit is contained in:
Alexandr Garbuzov 2023-08-19 09:37:09 +03:00 committed by GitHub
parent 2e619cc8a8
commit 32001d9a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",