Skip to content

Commit

Permalink
chore(deps): switch to eslint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssimon committed Jan 21, 2025
1 parent 1e25619 commit 391d561
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 162 deletions.
5 changes: 2 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import path from 'node:path'
import { fileURLToPath } from 'node:url'

import { FlatCompat } from '@eslint/eslintrc'
import { fixupConfigRules } from '@eslint/compat'


// mimic CommonJS variables -- not needed if using CommonJS
Expand All @@ -22,11 +21,11 @@ export default [
],
},

...fixupConfigRules(compat.config({
...compat.config({
extends: [
'@jenssimon/base',
],
})).map((rule) => ({
}).map((rule) => ({
files: [
'**/*.js',
'**/*.mjs',
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@
"devDependencies": {
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@jenssimon/eslint-config-base": "^8.0.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.56.0",
"eslint": "^9.18.0",
"husky": "^9.0.6",
"lint-staged": "^15.2.0",
"pinst": "^3.0.0",
Expand Down
Loading

0 comments on commit 391d561

Please sign in to comment.