Add no-underscore-dangle rule (#651)

This commit is contained in:
toasted-nutbread 2020-07-03 16:10:08 -04:00 committed by GitHub
parent 8f48a23a45
commit 128588bb92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@
"no-prototype-builtins": "error", "no-prototype-builtins": "error",
"no-shadow": ["error", {"builtinGlobals": false}], "no-shadow": ["error", {"builtinGlobals": false}],
"no-undef": "error", "no-undef": "error",
"no-underscore-dangle": ["error", {"allowAfterThis": true, "allowAfterSuper": false, "allowAfterThisConstructor": false}],
"no-unexpected-multiline": "error", "no-unexpected-multiline": "error",
"no-unneeded-ternary": "error", "no-unneeded-ternary": "error",
"no-unused-vars": ["error", {"vars": "local", "args": "after-used", "argsIgnorePattern": "^_", "caughtErrors": "none"}], "no-unused-vars": ["error", {"vars": "local", "args": "after-used", "argsIgnorePattern": "^_", "caughtErrors": "none"}],