move jest environment to base .eslintrc.js file
This commit is contained in:
Родитель
b87e24b8d0
Коммит
f71fc7e592
10
.eslintrc.js
10
.eslintrc.js
|
@ -28,7 +28,15 @@ module.exports = {
|
|||
"no-console": "off",
|
||||
"no-process-exit": "off",
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
files: [
|
||||
'tests/**/*.js',
|
||||
],
|
||||
env: {
|
||||
jest: true,
|
||||
}
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
"node",
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
{ "env": { "jest": true } }
|
||||
|
Загрузка…
Ссылка в новой задаче