chore: generate eslintrc.js for cypress

This commit is contained in:
Evan You
2018-07-28 23:11:05 -04:00
parent 252dd3d9e1
commit 1d7b81b176
2 changed files with 14 additions and 14 deletions

View File

@@ -1,14 +0,0 @@
<%_ if (hasESLint) { _%>
{
"plugins": [
"cypress"
],
"env": {
"mocha": true,
"cypress/globals": true
},
"rules": {
"strict": "off"
}
}
<%_ } _%>

View File

@@ -0,0 +1,14 @@
<%_ if (hasESLint) { _%>
module.exports = {
plugins: [
'cypress'
],
env: {
mocha: true,
'cypress/globals': true
},
rules: {
strict: 'off'
}
}
<%_ } _%>