summaryrefslogtreecommitdiff
path: root/src/rules/default.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 11:02:05 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 11:02:05 +0300
commit9a518ccf7e50deb0ce80bd8b332baff6e6881278 (patch)
tree5e0b43c563f875ba267120032ab63c79c8071c50 /src/rules/default.json
parent059976ca5a189f20c42875346021246b5789907f (diff)
downloadeslint-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/default.json')
-rw-r--r--src/rules/default.json8
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"
],