Skip to content

Commit

Permalink
e2e: migrate to flat config
Browse files Browse the repository at this point in the history
Using npx @eslint/migrate-config .eslintrc.json
Then add the additional packages needed
(@eslint/compat, globals, @eslint/eslintrc, @eslint/js)
Add paths from the .gitignore file to the ignored patterns.
Remove the options from the call to eslint which are not
supported anymore in the package.json.

The resulting schema of the command
node_modules/.bin/eslint --print-config specs/login.cy.js > eslint-config-js.json
is different.
But diffing only the rules seemed to look the same.

Issue: ecamp#5282
  • Loading branch information
BacLuc committed Aug 2, 2024
1 parent ec9d57f commit 046b239
Show file tree
Hide file tree
Showing 5 changed files with 1,263 additions and 303 deletions.
16 changes: 0 additions & 16 deletions e2e/.eslintrc.json

This file was deleted.

Loading

0 comments on commit 046b239

Please sign in to comment.