Skip to content

Commit

Permalink
[eslint config] [semver-minor] enforce no-underscore-dangle
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Apr 12, 2016
1 parent 9060fba commit 956f915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb/rules/style.js
Expand Up @@ -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
Expand Down

0 comments on commit 956f915

Please sign in to comment.