UNPKG

stylelint-no-unresolved-module

Version:

Ensures that module (import-like or `url`) can be resolved to a module on the file system.

26 lines 701 B
declare const _default: { messages: { report: (value: string) => string; }; default?: { ruleName: string; rule: stylelint.Rule<any, any, stylelint.RuleMessages>; } | undefined; } | { messages: { report: (value: string) => string; }; ruleName: string; rule: stylelint.Rule<any, any, stylelint.RuleMessages>; }; export default _default; export namespace postcss { type ChildNode = import('postcss').ChildNode; } export type ResolvedModule = { rootNode: postcss.ChildNode; value: string; promise: Promise<string>; message: (resource: string, rootNode: postcss.ChildNode) => string; }; //# sourceMappingURL=index.d.ts.map