generated from nhcarrigan/template
feat: set up announcements page
This commit is contained in:
@ -1,16 +1,17 @@
|
||||
import { dirname } from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { FlatCompat } from "@eslint/eslintrc";
|
||||
import NaomisConfig from "@nhcarrigan/eslint-config";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
const compat = new FlatCompat({
|
||||
baseDirectory: __dirname,
|
||||
});
|
||||
|
||||
const eslintConfig = [
|
||||
...compat.extends("next/core-web-vitals", "next/typescript"),
|
||||
export default [
|
||||
...NaomisConfig,
|
||||
{
|
||||
rules: {
|
||||
"@typescript-eslint/naming-convention": "off",
|
||||
"unicorn/filename-case": "off",
|
||||
"max-lines": "off",
|
||||
"max-lines-per-function": "off",
|
||||
complexity: "off",
|
||||
"import/no-default-export": "off",
|
||||
"import/extensions": ["warn", "never"],
|
||||
"stylistic/max-len": "off",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export default eslintConfig;
|
||||
|
Reference in New Issue
Block a user