Skip to content

Commit

Permalink
Updated lint packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ihgazi committed May 29, 2024
1 parent 69a9bf1 commit e875a58
Show file tree
Hide file tree
Showing 5 changed files with 257 additions and 126 deletions.
18 changes: 0 additions & 18 deletions .eslintrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
.eslintrc.cjs.old

# Editor directories and files
.vscode/*
Expand Down
15 changes: 15 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// @ts-check

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off"
},
}
);
Loading

0 comments on commit e875a58

Please sign in to comment.