mirror of
https://github.com/samkaraca/lazuri-doviguram.git
synced 2026-04-29 09:49:50 +00:00
19 lines
401 B
JavaScript
19 lines
401 B
JavaScript
import { FlatCompat } from "@eslint/eslintrc";
|
|
|
|
const compat = new FlatCompat({
|
|
// import.meta.dirname is available after Node.js v20.11.0
|
|
baseDirectory: import.meta.dirname,
|
|
});
|
|
|
|
const eslintConfig = [
|
|
...compat.config({
|
|
extends: ["next"],
|
|
rules: {
|
|
"react/no-unescaped-entities": "off",
|
|
"@next/next/no-page-custom-font": "off",
|
|
},
|
|
}),
|
|
];
|
|
|
|
export default eslintConfig;
|