[eslint config] [semver-minor] enforce no-underscore-dangle

This commit is contained in:
Jordan Harband
2016-04-12 15:25:53 -07:00
parent 9060fba34a
commit 956f91527b

View File

@@ -88,7 +88,7 @@ module.exports = {
// disallow trailing whitespace at the end of lines
'no-trailing-spaces': 2,
// disallow dangling underscores in identifiers
'no-underscore-dangle': 0,
'no-underscore-dangle': [2, { 'allowAfterThis': false }],
// disallow the use of Boolean literals in conditional expressions
// also, prefer `a || b` over `a ? a : b`
// http://eslint.org/docs/rules/no-unneeded-ternary