Tweak ignores

This commit is contained in:
Manav Rathi
2024-11-20 08:03:56 +05:30
parent 916b56fa65
commit 8f43f27fcf
3 changed files with 12 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ import config from "@/build-config/eslintrc-next-app.mjs";
export default [
...config,
{
ignores: ["thirdparty", "public"],
ignores: ["thirdparty"],
},
{
rules: {

View File

@@ -5,5 +5,14 @@ import config from "./eslintrc-react.mjs";
// A base config for Next.js apps.
export default [
...config,
{ ignores: ["out", ".next", "next.config.js", "next-env.d.ts"] },
{
ignores: [
"out",
".next",
"public",
".env*",
"next.config.js",
"next-env.d.ts",
],
},
];

View File

@@ -27,6 +27,7 @@ export default [
},
},
{
files: ["**/*.{jsx,tsx}"],
plugins: {
"react-hooks": hooksPlugin,
"react-refresh": reactRefreshPlugin,