Unverified Commit ca2e9f0f authored by Joe Haddad's avatar Joe Haddad Committed by GitHub
Browse files

Adjust ESLint configuration for v5 (#5051)

parent 58e00a31
Showing with 2 additions and 4 deletions
+2 -4
...@@ -39,12 +39,10 @@ module.exports = { ...@@ -39,12 +39,10 @@ module.exports = {
}, },
parserOptions: { parserOptions: {
ecmaVersion: 6, ecmaVersion: 2018,
sourceType: 'module', sourceType: 'module',
ecmaFeatures: { ecmaFeatures: {
jsx: true, jsx: true,
generators: true,
experimentalObjectRestSpread: true,
}, },
}, },
...@@ -53,7 +51,7 @@ module.exports = { ...@@ -53,7 +51,7 @@ module.exports = {
'array-callback-return': 'warn', 'array-callback-return': 'warn',
'default-case': ['warn', { commentPattern: '^no default$' }], 'default-case': ['warn', { commentPattern: '^no default$' }],
'dot-location': ['warn', 'property'], 'dot-location': ['warn', 'property'],
eqeqeq: ['warn', 'allow-null'], eqeqeq: ['warn', 'smart'],
'new-parens': 'warn', 'new-parens': 'warn',
'no-array-constructor': 'warn', 'no-array-constructor': 'warn',
'no-caller': 'warn', 'no-caller': 'warn',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment