We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23dba87 commit 0a0b29fCopy full SHA for 0a0b29f
packages/ui-next/eslint.config.js
@@ -1,4 +1,13 @@
1
import { nextJsConfig } from "@serp-tools/eslint-config/next-js";
2
3
/** @type {import("eslint").Linter.Config} */
4
-export default nextJsConfig;
+const config = [...nextJsConfig];
5
+const nextPluginConfig = config.find(
6
+ (c) => c.plugins && c.plugins["@next/next"]
7
+);
8
+
9
+if (nextPluginConfig && nextPluginConfig.rules) {
10
+ nextPluginConfig.rules["@next/next/no-html-link-for-pages"] = "off";
11
+}
12
13
+export default config;
0 commit comments