mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-18 02:59:25 +00:00
build: enable block-scoped-var and accessor-pairs eslint rules (#3102)
This commit is contained in:
committed by
GitHub
parent
2e619cc8a8
commit
32001d9a45
+5
-5
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user