summaryrefslogtreecommitdiff
path: root/src/rules/default.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 21:47:32 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 21:47:32 +0300
commit877c5f7ad13849f8b069f1edc862eb83afb5b683 (patch)
treef133eeb8c45b09fad6b2b2a88f2ac15952a261a4 /src/rules/default.json
parent228ce628a4058603e40917e46404fe985cc65b3c (diff)
downloadeslint-config-877c5f7ad13849f8b069f1edc862eb83afb5b683.tar.xz
eslint-config-877c5f7ad13849f8b069f1edc862eb83afb5b683.zip
feat(eslint): Rule "no-underscore-dangle"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/default.json')
-rw-r--r--src/rules/default.json9
1 files changed, 9 insertions, 0 deletions
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",
{