diff --git a/.eslintrc.js b/.eslintrc.js index 6a378f659c873d..2250fdba77ef7f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -58,12 +58,12 @@ module.exports = { 'dot-location': ['error', 'property'], 'dot-notation': 'error', 'eol-last': 'error', - eqeqeq: ['error', 'smart'], + 'eqeqeq': ['error', 'smart'], 'for-direction': 'error', 'func-call-spacing': 'error', 'func-name-matching': 'error', 'func-style': ['error', 'declaration', { allowArrowFunctions: true }], - indent: ['error', 2, { + 'indent': ['error', 2, { ArrayExpression: 'first', CallExpression: { arguments: 'first' }, FunctionDeclaration: { parameters: 'first' }, @@ -209,9 +209,10 @@ module.exports = { 'one-var-declaration-per-line': 'error', 'operator-linebreak': ['error', 'after'], 'prefer-const': ['error', { ignoreReadBeforeAssign: true }], - quotes: ['error', 'single', { avoidEscape: true }], + 'quotes': ['error', 'single', { avoidEscape: true }], + 'quote-props': ['error', 'consistent'], 'rest-spread-spacing': 'error', - semi: 'error', + 'semi': 'error', 'semi-spacing': 'error', 'space-before-blocks': ['error', 'always'], 'space-before-function-paren': ['error', { @@ -222,7 +223,7 @@ module.exports = { 'space-in-parens': ['error', 'never'], 'space-infix-ops': 'error', 'space-unary-ops': 'error', - strict: ['error', 'global'], + 'strict': ['error', 'global'], 'symbol-description': 'error', 'template-curly-spacing': 'error', 'unicode-bom': 'error',