Skip to content

Commit

Permalink
Upgrade to eslint v9 (#588)
Browse files Browse the repository at this point in the history
Who knew lint could be so complicated
  • Loading branch information
amacneil authored Nov 2, 2024
1 parent 2c64d41 commit c6e23f9
Show file tree
Hide file tree
Showing 5 changed files with 1,253 additions and 1,143 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.idea
*.log
*.sqlite3
*.tsbuildinfo
/.cache
/db
/dbmate
Expand Down
15 changes: 0 additions & 15 deletions typescript/.eslintrc.yml

This file was deleted.

21 changes: 21 additions & 0 deletions typescript/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import foxglove from "@foxglove/eslint-plugin";
import tseslint from "typescript-eslint";

export default tseslint.config(
{
ignores: ["**/dist"],
},
...foxglove.configs.base,
...foxglove.configs.typescript.map((config) => ({
...config,
files: ["**/*.ts"],
})),
{
files: ["**/*.ts"],
languageOptions: {
parserOptions: {
project: "tsconfig.eslint.json",
},
},
},
);
Loading

0 comments on commit c6e23f9

Please sign in to comment.