mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-28 19:38:43 -06:00
chore: generate eslintrc.js for cypress
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
<%_ if (hasESLint) { _%>
|
||||
{
|
||||
"plugins": [
|
||||
"cypress"
|
||||
],
|
||||
"env": {
|
||||
"mocha": true,
|
||||
"cypress/globals": true
|
||||
},
|
||||
"rules": {
|
||||
"strict": "off"
|
||||
}
|
||||
}
|
||||
<%_ } _%>
|
||||
@@ -0,0 +1,14 @@
|
||||
<%_ if (hasESLint) { _%>
|
||||
module.exports = {
|
||||
plugins: [
|
||||
'cypress'
|
||||
],
|
||||
env: {
|
||||
mocha: true,
|
||||
'cypress/globals': true
|
||||
},
|
||||
rules: {
|
||||
strict: 'off'
|
||||
}
|
||||
}
|
||||
<%_ } _%>
|
||||
Reference in New Issue
Block a user