"import-notation": "string", // 指定导入CSS文件的方式("string"|"url") "selector-class-pattern": null, // 选择器类名命名规则 "custom-property-pattern": null, // 自定义属性命名规则 "keyframes-name-pattern": null, // 动画帧节点样式命名规则 "no-descending-specificity": null, // ...
Added: "ignore": ["at-rule-preludes", "declaration-values"] to string-no-newline (#8214) (@ryo-manba). Added: messageArgs to declaration-property-value-no-unknown, font-family-name-quotes, font-family-no-duplicate-names, function-calc-no-unspaced-operator, import-notation, media-featu...
Name: import-notation Primary option: "string"|"url" Secondary options: None Autofixable: Yes Message: Expected "${importUrlorString}" to be a "${primary}" Description: "Specify string or url notation for imports." Section: "Enforce conventions" -> "Imports" Criteria for inclusion. ...
import-notation: Specify string or URL notation for@importrules (Autofixable). keyframe-selector-notation: Specify keyword or percentage notation for keyframe selectors (Autofixable). selector-not-notation: Specify simple or complex notation for:not()pseudo-class selectors (Autofixable). ...
string-no-newline: true unit-no-unknown: true keyframe-declaration-no-important: true declaration-no-important: true declaration-block-no-duplicate-properties: [...] declaration-block-no-shorthand-property-overrides: true declaration-colon-newline-after:always-multi-line ...
"import-notation": "string", // 指定导入CSS文件的方式("string"|"url") "selector-class-pattern": null, // 选择器类名命名规则 "custom-property-pattern": null, // 自定义属性命名规则 "keyframes-name-pattern": null, // 动画帧节点样式命名规则 "no-descending-specificity": null, // ...
'scss/at-import-partial-extension': 'always', 'string-quotes': 'single', 'block-no-empty': null, 'scss/dollar-variable-pattern': /[a-zA-Z][0-9]?/, 'at-rule-empty-line-before': null, 'declaration-empty-line-before': 'never', 'rule-empty-line-before': null, 'comment-empty-lin...
规则来源:[链接]namedesc规避错误 颜色 color-no-invalid-hex禁止无效的十六进制颜色。字体 font-family-no-duplicate-names不允许重复的字体系列名称。font...
Usage Install stylelint, and the config: npm install --save-dev stylelint@13 stylelint-config-torchbox@1.0.0 Thenconfigure stylelint to use this config. As astylelint.config.jsin the root of your project: module.exports={// See https://github.com/torchbox/stylelint-config-torchbox for ru...
正如控制台中的警告所述,您需要使用自定义语法来链接SCSS,因为它不是CSS,而是另一种语言:...