@o3r/stylelint-plugin
Version:
In-house stylelint plugin to use in your own eslint configuration
24 lines • 917 B
text/typescript
import type * as PostCSS from 'postcss';
import type { PostcssResult, RuleContext } from 'stylelint';
/**
* Scoped rule name
*/
export declare const ruleName: string;
/**
* Contains expected function which is used to log issues
*/
export declare const messages: {
expected: (parameter: string, variableName: string, alias: string) => string;
};
/** Logs the error message when there is no good o3r styling alias for variable declaration */
export declare const messagesAlias: {
expected: (alias: string, declarationValue: string) => string;
};
/**
* The rule which will be given to stylelint.createPlugin method.
* @param primary
* @param _secondaryOptions
* @param context
*/
export declare const rule: (primary: any, _secondaryOptions: Record<string, any>, context: RuleContext) => (root: PostCSS.Root, result: PostcssResult) => void;
//# sourceMappingURL=o3r-var-parameter-equal-variable.d.mts.map