import formatClassnames from "@/eslint-plugin/rules/format-classnames.js"; import noUnknownClasses from "@/eslint-plugin/rules/no-unknown-classes.js"; import propsOnly from "@/eslint-plugin/rules/props-only.js"; import classnamesOnly from "@/eslint-plugin/rules/classnames-only.js"; import preferClassnames from "@/eslint-plugin/rules/prefer-classnames.js"; import requirePropFunctions from "@/eslint-plugin/rules/require-prop-functions.js"; import redundantCx from "@/eslint-plugin/rules/redundant-cx.js"; import preferTokenValues from "@/eslint-plugin/rules/prefer-token-values.js"; import preferUnitlessValues from "@/eslint-plugin/rules/prefer-unitless-values.js"; //#region src/eslint-plugin/index.d.ts declare namespace config { let configs: { [x: string]: { languageOptions: { globals: { $$: string; }; }; plugins: { [plugin.meta.name]: { meta: { name: string; }; rules: { [formatClassnames.name]: { name: string; meta: { type: string; docs: { description: string; }; fixable: string; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; merge: { type: string; additionalProperties: boolean; }; order: { type: string; enum: string[]; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { format: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; [noUnknownClasses.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; allowCustomContexts: { type: string; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; singleProps: { type: string; items: { type: string; }; }; }; }[]; messages: { invalid: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; [propsOnly.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; allowCustomContexts: { type: string; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; singleProps: { type: string; items: { type: string; }; }; }; }[]; messages: { propsOnly: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; [classnamesOnly.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { classnamesOnly: string; }; }; create: (context: any) => { JSXOpeningElement(node: any): void; }; }; [preferClassnames.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { preferClassnames: string; }; }; create: (context: any) => { JSXOpeningElement(node: any): void; }; }; [requirePropFunctions.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { requirePropFunctions: string; }; }; create: (context: any) => { JSXOpeningElement?: undefined; } | { JSXOpeningElement(node: any): void; }; }; [redundantCx.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; }; }[]; messages: { redundantCx: string; }; }; create: (context: any) => { JSXOpeningElement(node: any): void; }; }; [preferTokenValues.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { preferTokenValues: string; }; }; create: (context: any) => { JSXOpeningElement?: undefined; } | { JSXOpeningElement(node: any): void; }; }; [preferUnitlessValues.name]: { name: string; meta: { type: string; docs: { description: string; }; fixable: string; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; unit: { type: string; }; }; }[]; messages: { preferUnitlessValues: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; }; }; }; rules: any; }; [x: number]: { languageOptions: { globals: { $$: string; }; }; plugins: { [plugin.meta.name]: { meta: { name: string; }; rules: { [formatClassnames.name]: { name: string; meta: { type: string; docs: { description: string; }; fixable: string; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; merge: { type: string; additionalProperties: boolean; }; order: { type: string; enum: string[]; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { format: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; [noUnknownClasses.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; allowCustomContexts: { type: string; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; singleProps: { type: string; items: { type: string; }; }; }; }[]; messages: { invalid: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; [propsOnly.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; allowCustomContexts: { type: string; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; singleProps: { type: string; items: { type: string; }; }; }; }[]; messages: { propsOnly: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; [classnamesOnly.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { classnamesOnly: string; }; }; create: (context: any) => { JSXOpeningElement(node: any): void; }; }; [preferClassnames.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { preferClassnames: string; }; }; create: (context: any) => { JSXOpeningElement(node: any): void; }; }; [requirePropFunctions.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { requirePropFunctions: string; }; }; create: (context: any) => { JSXOpeningElement?: undefined; } | { JSXOpeningElement(node: any): void; }; }; [redundantCx.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; }; }[]; messages: { redundantCx: string; }; }; create: (context: any) => { JSXOpeningElement(node: any): void; }; }; [preferTokenValues.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { preferTokenValues: string; }; }; create: (context: any) => { JSXOpeningElement?: undefined; } | { JSXOpeningElement(node: any): void; }; }; [preferUnitlessValues.name]: { name: string; meta: { type: string; docs: { description: string; }; fixable: string; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; unit: { type: string; }; }; }[]; messages: { preferUnitlessValues: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; }; }; }; rules: any; }; }; namespace meta { let name: string; } let rules: { [formatClassnames.name]: { name: string; meta: { type: string; docs: { description: string; }; fixable: string; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; merge: { type: string; additionalProperties: boolean; }; order: { type: string; enum: string[]; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { format: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; [noUnknownClasses.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; allowCustomContexts: { type: string; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; singleProps: { type: string; items: { type: string; }; }; }; }[]; messages: { invalid: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; [propsOnly.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; allowCustomContexts: { type: string; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; singleProps: { type: string; items: { type: string; }; }; }; }[]; messages: { propsOnly: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; [classnamesOnly.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { classnamesOnly: string; }; }; create: (context: any) => { JSXOpeningElement(node: any): void; }; }; [preferClassnames.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { preferClassnames: string; }; }; create: (context: any) => { JSXOpeningElement(node: any): void; }; }; [requirePropFunctions.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { requirePropFunctions: string; }; }; create: (context: any) => { JSXOpeningElement?: undefined; } | { JSXOpeningElement(node: any): void; }; }; [redundantCx.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; }; }[]; messages: { redundantCx: string; }; }; create: (context: any) => { JSXOpeningElement(node: any): void; }; }; [preferTokenValues.name]: { name: string; meta: { type: string; docs: { description: string; }; schema: { type: string; additionalProperties: boolean; properties: { components: { type: string; items: { type: string; }; }; additionalContexts: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; }; }[]; messages: { preferTokenValues: string; }; }; create: (context: any) => { JSXOpeningElement?: undefined; } | { JSXOpeningElement(node: any): void; }; }; [preferUnitlessValues.name]: { name: string; meta: { type: string; docs: { description: string; }; fixable: string; schema: { type: string; additionalProperties: boolean; properties: { attributes: { type: string; items: { type: string; }; }; callees: { type: string; items: { type: string; }; }; variables: { type: string; items: { type: string; }; }; tags: { type: string; items: { type: string; }; }; additionalProps: { type: string; items: { type: string; }; }; unit: { type: string; }; }; }[]; messages: { preferUnitlessValues: string; }; }; create: (context: any) => { JSXAttribute?: undefined; CallExpression?: undefined; VariableDeclarator?: undefined; TaggedTemplateExpression?: undefined; } | { JSXAttribute(node: any): void; CallExpression(node: any): void; VariableDeclarator(node: any): void; TaggedTemplateExpression(node: any): void; }; }; }; } declare namespace plugin {} //#endregion export { config as default };