Skip to content

Commit

Permalink
Update ESLint setup
Browse files Browse the repository at this point in the history
  • Loading branch information
bertdeblock committed Nov 19, 2024
1 parent d97ebe6 commit 96bbe25
Show file tree
Hide file tree
Showing 5 changed files with 4,070 additions and 3,327 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

14 changes: 0 additions & 14 deletions .eslintrc.cjs

This file was deleted.

10 changes: 10 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import eslint from "@eslint/js";
import eslintPluginNode from "eslint-plugin-n";
import typescriptEslint from "typescript-eslint";

export default typescriptEslint.config(
eslint.configs.recommended,
typescriptEslint.configs.recommended,
eslintPluginNode.configs["flat/recommended-module"],
{ ignores: ["coverage", "dist", "test/output"] },
);
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"lint:format": "prettier . --cache --check",
"lint:format:fix": "prettier . --cache --write",
"lint:js": "eslint . --cache",
"lint:js:fix": "eslint . --fix",
"lint:types": "tsc --noEmit",
"prepack": "tsc --project tsconfig.json",
"start": "pnpm build --watch",
Expand All @@ -38,21 +37,21 @@
"yargs": "^17.7.2"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vitest/coverage-v8": "^2.1.5",
"concurrently": "^9.1.0",
"eslint": "^8.56.0",
"eslint-plugin-n": "^16.6.2",
"eslint": "^9.15.0",
"eslint-plugin-n": "^17.13.2",
"fixturify-project": "^7.1.3",
"prettier": "^3.3.3",
"recursive-copy": "^2.0.14",
"release-plan": "^0.10.0",
"type-fest": "^4.27.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0",
"uuid": "^11.0.3",
"vitest": "^2.1.5"
},
Expand Down
Loading

0 comments on commit 96bbe25

Please sign in to comment.