2020-05-13 14:17:00 +02:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es6: true,
|
2020-06-08 20:34:39 +02:00
|
|
|
'cypress/globals': true,
|
2020-05-13 14:17:00 +02:00
|
|
|
},
|
|
|
|
settings: {
|
|
|
|
react: {
|
|
|
|
version: 'detect',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
extends: ['eslint:recommended', 'plugin:react/recommended'],
|
|
|
|
globals: {
|
|
|
|
Atomics: 'readonly',
|
|
|
|
SharedArrayBuffer: 'readonly',
|
|
|
|
},
|
|
|
|
parser: 'babel-eslint',
|
|
|
|
parserOptions: {
|
|
|
|
ecmaFeatures: {
|
|
|
|
jsx: true,
|
|
|
|
},
|
|
|
|
ecmaVersion: 2018,
|
|
|
|
sourceType: 'module',
|
|
|
|
},
|
2020-06-08 20:34:39 +02:00
|
|
|
plugins: ['prettier', 'react', 'cypress'],
|
2020-05-13 14:17:00 +02:00
|
|
|
rules: {
|
|
|
|
'react/prop-types': [0],
|
|
|
|
'react/no-unescaped-entities': [0],
|
|
|
|
'no-unused-vars': ['error', { ignoreRestSiblings: true }],
|
|
|
|
},
|
|
|
|
}
|