Skip to content

Commit

Permalink
Merge pull request #1287 from DFE-Digital/renovate/major-eslint-monorepo
Browse files Browse the repository at this point in the history
Update dependency eslint to v9
  • Loading branch information
cshnimble authored Jul 3, 2024
2 parents 9556fdd + 84d0d50 commit 7c42845
Show file tree
Hide file tree
Showing 4 changed files with 248 additions and 189 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const azureLogin = require('./azureLogin').azureLogin;
/**
* @type {Cypress.PluginConfig}
*/
// eslint-disable-next-line no-unused-vars
module.exports = (on, config) => {

const cache = {};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"parser": "@typescript-eslint/parser",
"plugins": [
export default [
{
files: [
".js", ".jsx", ".ts", ".tsx"
],
parser: "@typescript-eslint/parser",
plugins: [
"cypress"
],
"rules": {
rules: {
"cypress/no-assigning-return-values": "warn",
"cypress/no-unnecessary-waiting": "warn",
"cypress/assertion-before-screenshot": "warn",
Expand All @@ -12,10 +16,11 @@
"cypress/no-pause": "warn",
"cypress/unsafe-to-chain-command": "warn"
},
"env": {
env: {
"cypress/globals": true
},
"extends": [
extends: [
"plugin:cypress/recommended"
]
}
}
]
Loading

0 comments on commit 7c42845

Please sign in to comment.