move jest environment to base .eslintrc.js file

This commit is contained in:
Luke Crouch 2018-08-17 14:33:39 -05:00
Родитель b87e24b8d0
Коммит f71fc7e592
2 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -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 } }