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 = {
},
parserOptions: {
ecmaVersion: 6,
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
generators: true,
experimentalObjectRestSpread: true,
},
},
......@@ -53,7 +51,7 @@ module.exports = {
'array-callback-return': 'warn',
'default-case': ['warn', { commentPattern: '^no default$' }],
'dot-location': ['warn', 'property'],
eqeqeq: ['warn', 'allow-null'],
eqeqeq: ['warn', 'smart'],
'new-parens': 'warn',
'no-array-constructor': '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