mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 14:17:55 -05:00
[eslint config] [semver-minor] enforce no-underscore-dangle
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user