|
|
@@ -2,6 +2,7 @@ module.exports = {
|
|
|
env: {
|
|
|
browser: true,
|
|
|
es6: true,
|
|
|
+ jest: true,
|
|
|
},
|
|
|
extends: ['eslint:recommended', 'plugin:react/recommended', 'plugin:prettier/recommended'],
|
|
|
settings: {
|
|
|
@@ -10,8 +11,10 @@ module.exports = {
|
|
|
},
|
|
|
},
|
|
|
globals: {
|
|
|
- Atomics: 'readonly',
|
|
|
- SharedArrayBuffer: 'readonly',
|
|
|
+ shallow: true,
|
|
|
+ render: true,
|
|
|
+ mount: true,
|
|
|
+ global: true,
|
|
|
},
|
|
|
parser: 'babel-eslint',
|
|
|
parserOptions: {
|