mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 06:18:00 -05:00
[eslint config] [fix] fix npm run lint
This commit is contained in:
@@ -76,7 +76,7 @@ module.exports = {
|
||||
// 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
|
||||
'no-unneeded-ternary': [2, { "defaultAssignment": false }],
|
||||
'no-unneeded-ternary': [2, { 'defaultAssignment': false }],
|
||||
// require padding inside curly braces
|
||||
'object-curly-spacing': [2, 'always'],
|
||||
// allow just one var statement per function
|
||||
|
||||
Reference in New Issue
Block a user