Skip to content

Commit

Permalink
Replace TS eslint with typescript-eslint
Browse files Browse the repository at this point in the history
This replaces the older @typescript-eslint/* packages with new flat-file
aware configuration.
  • Loading branch information
stroiman committed Aug 5, 2024
1 parent c8b83dd commit 251e7fd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 79 deletions.
3 changes: 1 addition & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
// @ts-check
import globals from "globals";
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";

export default tseslint.config(
{
ignores: ["**/node_modules/", "**/main.js"],
},
eslint.configs.recommended,
...tseslint.configs.recommended,
{
plugins: {
"@typescript-eslint": tseslint.plugin,
Expand Down
75 changes: 0 additions & 75 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.8.0",
"@types/node": "^16.11.6",
"builtin-modules": "^4.0.0",
"esbuild": "^0.23.0",
Expand Down

0 comments on commit 251e7fd

Please sign in to comment.