Skip to content

Commit

Permalink
chore: upgrade to eslint9 (#440)
Browse files Browse the repository at this point in the history
* chore: upgrade to eslint9

* chore: remove type field

---------

Co-authored-by: Vladimir <[email protected]>
  • Loading branch information
btea and sheremet-va authored Jul 31, 2024
1 parent 8406e70 commit 18e91ab
Show file tree
Hide file tree
Showing 9 changed files with 716 additions and 402 deletions.
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

5 changes: 3 additions & 2 deletions eslint.config.js → eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { default: antfu, GLOB_SRC } = require('@antfu/eslint-config')
import antfu, { GLOB_SRC } from '@antfu/eslint-config'

module.exports = antfu(
export default antfu(
{
// Disable tests rules because we need to test with various setup
test: false,
Expand All @@ -12,6 +12,7 @@ module.exports = antfu(
'**/testdata',
'**/fixtures',
'**/samples',
'test',
],
},
{
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
"lint:fix": "eslint --cache --fix ."
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.4",
"@antfu/eslint-config": "^2.23.2",
"@babel/parser": "^7.20.15",
"@babel/types": "^7.20.7",
"@playwright/test": "^1.42.1",
Expand All @@ -205,7 +205,7 @@
"bumpp": "^9.3.0",
"chai": "^5.1.0",
"changelogithub": "^0.13.3",
"eslint": "^8.56.0",
"eslint": "^9.7.0",
"execa": "^8.0.1",
"fast-glob": "^3.3.2",
"flatted": "^3.2.9",
Expand Down
Loading

0 comments on commit 18e91ab

Please sign in to comment.