[eslint config] [fix] because we use babel, keywords should not be quoted.

This commit is contained in:
Jordan Harband
2016-01-06 09:06:57 -08:00
parent a260d2042f
commit 9af944dd05

View File

@@ -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