Skip to content

Commit

Permalink
chore: fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
z0ffy committed Nov 10, 2024
1 parent 3484747 commit 9527aa4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 28 deletions.
19 changes: 0 additions & 19 deletions .eslintrc.json

This file was deleted.

22 changes: 13 additions & 9 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ const compat = new FlatCompat({
allConfig: js.configs.all
});

export default [...compat.extends("next/core-web-vitals"), {
rules: {
indent: ["error", 2],
export default [
...compat.extends("next/core-web-vitals"),
{ ignores: [".next/*", "eslint.config.mjs"] },
{
rules: {
indent: ["error", 2],

"import/extensions": ["error", "ignorePackages", {
tsx: "never",
ts: "never",
}],
},
}];
"import/extensions": ["error", "ignorePackages", {
tsx: "never",
ts: "never",
}],
},
}
];
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"sakana-widget": "^2.7.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.14.0",
"@types/node": "22.9.0",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 9527aa4

Please sign in to comment.