chore: remove unnecessary rules for unit test eslint config

This commit is contained in:
Evan You
2018-08-18 15:44:33 -04:00
parent b62c6ba7f2
commit 6bdf7040d4
2 changed files with 2 additions and 8 deletions

View File

@@ -115,10 +115,7 @@ const applyTS = module.exports.applyTS = (api, invoking) => {
const applyESLint = module.exports.applyESLint = api => {
api.render(files => {
files['tests/unit/.eslintrc.js'] = api.genJSConfig({
env: { jest: true },
rules: {
'import/no-extraneous-dependencies': 'off'
}
env: { jest: true }
})
})
}

View File

@@ -25,10 +25,7 @@ module.exports = (api, _, __, invoking) => {
const applyESLint = module.exports.applyESLint = api => {
api.render(files => {
files['tests/unit/.eslintrc.js'] = api.genJSConfig({
env: { mocha: true },
rules: {
'import/no-extraneous-dependencies': 'off'
}
env: { mocha: true }
})
})
}