Tweak ignores
This commit is contained in:
@@ -3,7 +3,7 @@ import config from "@/build-config/eslintrc-next-app.mjs";
|
||||
export default [
|
||||
...config,
|
||||
{
|
||||
ignores: ["thirdparty", "public"],
|
||||
ignores: ["thirdparty"],
|
||||
},
|
||||
{
|
||||
rules: {
|
||||
|
||||
@@ -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",
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
@@ -27,6 +27,7 @@ export default [
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["**/*.{jsx,tsx}"],
|
||||
plugins: {
|
||||
"react-hooks": hooksPlugin,
|
||||
"react-refresh": reactRefreshPlugin,
|
||||
|
||||
Reference in New Issue
Block a user