Skip to content

Commit

Permalink
Updated eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
sistematico committed Dec 13, 2024
1 parent 108a17b commit a33eede
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,22 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
// baseDirectory: __dirname,
baseDirectory: import.meta.dirname,
});

// const eslintConfig = [
// ...compat.extends("next/core-web-vitals", "next/typescript"),
// ];

const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
];
...compat.config({
extends: ["next"],
rules: {
'@next/next/no-page-custom-font': 'off',
'@next/next/prefer-const': 'off'
},
}),
]

export default eslintConfig;
export default eslintConfig;

0 comments on commit a33eede

Please sign in to comment.