diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 11:02:05 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 11:02:05 +0300 |
commit | 9a518ccf7e50deb0ce80bd8b332baff6e6881278 (patch) | |
tree | 5e0b43c563f875ba267120032ab63c79c8071c50 /src/rules | |
parent | 059976ca5a189f20c42875346021246b5789907f (diff) | |
download | eslint-config-9a518ccf7e50deb0ce80bd8b332baff6e6881278.tar.xz eslint-config-9a518ccf7e50deb0ce80bd8b332baff6e6881278.zip |
feat(eslint): Rule "no-use-before-define"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r-- | src/rules/default.json | 8 |
1 files changed, 8 insertions, 0 deletions
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" ], |