diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -206,7 +206,7 @@ - [ ] "no-unused-expressions" - [ ] "no-unused-labels" - [X] "no-unused-vars" -- [ ] "no-use-before-define" +- [X] "no-use-before-define" - [ ] "no-useless-backreference" - [X] "no-useless-call" - [ ] "no-useless-catch" diff --git a/src/rules/default.json b/src/rules/default.json index 98937aa..233828e 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -397,6 +397,14 @@ "vars": "all" } ], + "no-use-before-define": [ + "error", + { + "classes": true, + "functions": true, + "variables": true + } + ], "no-useless-call": [ "error" ], |