diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-07-03 16:10:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 16:10:08 -0400 |
commit | 128588bb92142950b53ed3f51774c13b35a82fae (patch) | |
tree | b2fc6377f66cf7a0bb5d3c34121296b40adfb140 | |
parent | 8f48a23a458d5d72c9e8d0b5c79bd1eaa8e16925 (diff) |
Add no-underscore-dangle rule (#651)
-rw-r--r-- | .eslintrc.json | 1 |
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"}], |