From 9a518ccf7e50deb0ce80bd8b332baff6e6881278 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 12:02:05 +0400 Subject: feat(eslint): Rule "no-use-before-define" Signed-off-by: Valentin Popov --- src/rules/default.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/rules') 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" ], -- cgit v1.2.3