Files
novarix.uk/node_modules/@next/eslint-plugin-next/dist/index.d.ts
T
Kismet Hasanaj 39a8a128be including-modules
2026-05-03 00:14:08 +02:00

61 lines
2.4 KiB
TypeScript

import type { Linter, Rule } from 'eslint';
declare const plugin: {
meta: {
name: string;
};
rules: {
'google-font-display': Rule.RuleModule;
'google-font-preconnect': Rule.RuleModule;
'inline-script-id': Rule.RuleModule;
'next-script-for-ga': Rule.RuleModule;
'no-assign-module-variable': Rule.RuleModule;
'no-async-client-component': Rule.RuleModule;
'no-before-interactive-script-outside-document': Rule.RuleModule;
'no-css-tags': Rule.RuleModule;
'no-document-import-in-page': Rule.RuleModule;
'no-duplicate-head': Rule.RuleModule;
'no-head-element': Rule.RuleModule;
'no-head-import-in-document': Rule.RuleModule;
'no-html-link-for-pages': Rule.RuleModule;
'no-img-element': Rule.RuleModule;
'no-page-custom-font': Rule.RuleModule;
'no-script-component-in-head': Rule.RuleModule;
'no-styled-jsx-in-document': Rule.RuleModule;
'no-sync-scripts': Rule.RuleModule;
'no-title-in-document-head': Rule.RuleModule;
'no-typos': Rule.RuleModule;
'no-unwanted-polyfillio': Rule.RuleModule;
};
configs: ESLintPluginConfigs;
};
type ESLintPluginConfigs = {
'recommended-legacy': Linter.LegacyConfig;
'core-web-vitals-legacy': Linter.LegacyConfig;
recommended: Linter.Config;
'core-web-vitals': Linter.Config;
};
export default plugin;
export declare const rules: {
'google-font-display': Rule.RuleModule;
'google-font-preconnect': Rule.RuleModule;
'inline-script-id': Rule.RuleModule;
'next-script-for-ga': Rule.RuleModule;
'no-assign-module-variable': Rule.RuleModule;
'no-async-client-component': Rule.RuleModule;
'no-before-interactive-script-outside-document': Rule.RuleModule;
'no-css-tags': Rule.RuleModule;
'no-document-import-in-page': Rule.RuleModule;
'no-duplicate-head': Rule.RuleModule;
'no-head-element': Rule.RuleModule;
'no-head-import-in-document': Rule.RuleModule;
'no-html-link-for-pages': Rule.RuleModule;
'no-img-element': Rule.RuleModule;
'no-page-custom-font': Rule.RuleModule;
'no-script-component-in-head': Rule.RuleModule;
'no-styled-jsx-in-document': Rule.RuleModule;
'no-sync-scripts': Rule.RuleModule;
'no-title-in-document-head': Rule.RuleModule;
'no-typos': Rule.RuleModule;
'no-unwanted-polyfillio': Rule.RuleModule;
}, configs: ESLintPluginConfigs;