Skip to content

Commit

Permalink
e2e: move eslint config to .eslintrc.json
Browse files Browse the repository at this point in the history
The config migrator needs the configuration to
be in a separate file.
https://eslint.org/blog/2024/05/eslint-configuration-migrator/

Issue: ecamp#5282
  • Loading branch information
BacLuc committed Aug 2, 2024
1 parent 0f552ec commit ec9d57f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 16 additions & 0 deletions e2e/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"root": true,
"env": {
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"plugin:cypress/recommended",
"plugin:prettier/recommended"
],
"rules": {
"prefer-const": "error",
"prettier/prettier": "error"
}
}
16 changes: 0 additions & 16 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,5 @@
"eslint-plugin-cypress": "3.4.0",
"eslint-plugin-prettier": "5.2.1",
"prettier": "3.3.3"
},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"plugin:cypress/recommended",
"plugin:prettier/recommended"
],
"rules": {
"prefer-const": "error",
"prettier/prettier": "error"
}
}
}

0 comments on commit ec9d57f

Please sign in to comment.