mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-09 09:00:16 -05:00
chore: remove unnecessary rules for unit test eslint config
This commit is contained in:
@@ -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 }
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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 }
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user