build improvements
This commit is contained in:
@@ -10,7 +10,28 @@ const compat = new FlatCompat({
|
||||
});
|
||||
|
||||
const eslintConfig = [
|
||||
...compat.extends("next/core-web-vitals", "next/typescript"),
|
||||
...compat.config(
|
||||
{
|
||||
extends:[
|
||||
"next/core-web-vitals",
|
||||
"next/typescript",
|
||||
],
|
||||
// rules: {
|
||||
// "@typescript-eslint/no-explicit-any": "off"
|
||||
// },
|
||||
}
|
||||
|
||||
),
|
||||
|
||||
// {
|
||||
// name: "custom",
|
||||
// "files": ["src/types/generated-strapi-interfaces/api/article.ts"], // Or *.test.js
|
||||
// rules: {
|
||||
// "@typescript-eslint/no-explicit-any": "off"
|
||||
// },
|
||||
// }
|
||||
];
|
||||
|
||||
console.info("eslint config",eslintConfig)
|
||||
|
||||
export default eslintConfig;
|
||||
|
||||
Reference in New Issue
Block a user