From 877c5f7ad13849f8b069f1edc862eb83afb5b683 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 22:47:32 +0400 Subject: feat(eslint): Rule "no-underscore-dangle" Signed-off-by: Valentin Popov --- src/rules/default.json | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/rules') diff --git a/src/rules/default.json b/src/rules/default.json index 70a6913..16571dc 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -149,6 +149,15 @@ "no-ternary": [ "off" ], + "no-underscore-dangle": [ + "error", + { + "allowAfterSuper": false, + "allowAfterThis": true, + "allowAfterThisConstructor": false, + "enforceInMethodNames": false + } + ], "no-unused-vars": [ "error", { -- cgit v1.2.3