UNPKG

@frontlint/stylelint

Version:

[stylelint](https://stylelint.io) 是一个强大的 CSS 代码检查工具,用于强制执行一致的代码风格,避免样式错误并提高代码质量。通过自定义规则集,可以确保团队遵循统一的 CSS 编码标准

18 lines (16 loc) 499 B
import stylelint, { Config } from "stylelint"; //#region src/index.d.ts interface StylelintConfig { scss?: boolean; order?: boolean; } declare function defineConfig(config?: StylelintConfig): Config & { extends: string[]; plugins: (string | stylelint.Plugin)[]; rules: { [ruleName: string]: stylelint.ConfigRuleSettings<unknown, object>; }; }; declare const stylelintConfig: Config; //#endregion export { StylelintConfig, stylelintConfig as default, defineConfig };