General fixes. Still far from good or working

This commit is contained in:
2026-01-11 13:21:01 -05:00
parent 0a361f51a1
commit 67daefb919
83 changed files with 733 additions and 1053 deletions

View File

@@ -1,15 +1,15 @@
import nextPlugin from "@next/eslint-plugin-next";
import { defineConfig } from "eslint/config";
import nextPlugin from '@next/eslint-plugin-next';
import { defineConfig } from 'eslint/config';
export const nextjsConfig = defineConfig({
files: ["**/*.ts", "**/*.tsx"],
files: ['**/*.ts', '**/*.tsx'],
plugins: {
"@next/next": nextPlugin,
'@next/next': nextPlugin,
},
rules: {
...nextPlugin.configs.recommended.rules,
...nextPlugin.configs["core-web-vitals"].rules,
...nextPlugin.configs['core-web-vitals'].rules,
// TypeError: context.getAncestors is not a function
"@next/next/no-duplicate-head": "off",
'@next/next/no-duplicate-head': 'off',
},
});