加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.stylelintrc.js 1019 Bytes
一键复制 编辑 原始数据 按行查看 历史
wyc 提交于 2023-07-24 11:09 . tmp
module.exports = {
extends: [
'stylelint-config-standard-scss',
'stylelint-config-recommended-vue',
],
customSyntax: 'postcss-html',
overrides: [
{
files: ['**/*.{scss,css,sass}'],
customSyntax: 'postcss-scss',
},
],
rules: {
indentation: 4,
'selector-class-pattern': ['.*'],
'alpha-value-notation': 'number',
'color-function-notation': 'legacy',
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['v-deep'],
},
],
'number-leading-zero': 'never',
'no-descending-specificity': null,
'font-family-no-missing-generic-family-keyword': null,
'selector-type-no-unknown': null,
'at-rule-no-unknown': null,
'no-duplicate-selectors': null,
'no-empty-source': null,
'selector-pseudo-class-no-unknown': [true, { ignorePseudoClasses: ['global', 'deep'] }],
},
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化