eslint-plugin-miniprogram
Version:
eslint plugin for mini programs
15 lines (14 loc) • 537 B
TypeScript
export declare const getExpectedComponentName: (componentPath: string, contextPath?: string | undefined) => string;
export declare type CheckUsingComponentsIntent = "componentName" | "unusedComponent" | "unregisteredComponent";
export declare const checkUsingComponents: (intent: CheckUsingComponentsIntent) => {
meta: {
type: string;
docs: {
description: string;
category: string;
recommended: boolean;
url: string;
};
};
create(context: any): any;
};