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 c754337
Show file tree
Hide file tree
Showing 6 changed files with 4,069 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.

1 change: 0 additions & 1 deletion bin/gember.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node

// eslint-disable-next-line n/no-missing-import
import "../dist/cli.js";
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
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"],
);
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,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 c754337

Please sign in to comment.