mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 21:58:18 -05:00
[eslint config] [fix] because we use babel, keywords should not be quoted.
This commit is contained in:
@@ -86,7 +86,7 @@ module.exports = {
|
||||
'padded-blocks': [2, 'never'],
|
||||
// require quotes around object literal property names
|
||||
// http://eslint.org/docs/rules/quote-props.html
|
||||
'quote-props': [2, 'as-needed', { 'keywords': true, 'unnecessary': true, 'numbers': false }],
|
||||
'quote-props': [2, 'as-needed', { 'keywords': false, 'unnecessary': true, 'numbers': false }],
|
||||
// specify whether double or single quotes should be used
|
||||
'quotes': [2, 'single', 'avoid-escape'],
|
||||
// require identifiers to match the provided regular expression
|
||||
|
||||
Reference in New Issue
Block a user