summaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-07-03 16:10:08 -0400
committerGitHub <noreply@github.com>2020-07-03 16:10:08 -0400
commit128588bb92142950b53ed3f51774c13b35a82fae (patch)
treeb2fc6377f66cf7a0bb5d3c34121296b40adfb140 /.eslintrc.json
parent8f48a23a458d5d72c9e8d0b5c79bd1eaa8e16925 (diff)
Add no-underscore-dangle rule (#651)
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 018e23b4..7f3cdc4b 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -32,6 +32,7 @@
"no-prototype-builtins": "error",
"no-shadow": ["error", {"builtinGlobals": false}],
"no-undef": "error",
+ "no-underscore-dangle": ["error", {"allowAfterThis": true, "allowAfterSuper": false, "allowAfterThisConstructor": false}],
"no-unexpected-multiline": "error",
"no-unneeded-ternary": "error",
"no-unused-vars": ["error", {"vars": "local", "args": "after-used", "argsIgnorePattern": "^_", "caughtErrors": "none"}],