Commit 10b59395b2ef1498e2bca765ffd4a26b4a04b388
Committed by
GitHub
1 parent
1dca6365
fix: 修复 运行npm run lint:stylelint命令时,无法识别less内置函数 (#1736)
删除 stylelint.config.js文件 rules中重复的selector-class-pattern Co-authored-by: Micah <yumingsheng@hrbeu.edu.cn>
Showing
1 changed file
with
1 additions
and
1 deletions
stylelint.config.js
@@ -4,7 +4,7 @@ module.exports = { | @@ -4,7 +4,7 @@ module.exports = { | ||
4 | extends: ['stylelint-config-standard', 'stylelint-config-prettier'], | 4 | extends: ['stylelint-config-standard', 'stylelint-config-prettier'], |
5 | customSyntax: 'postcss-html', | 5 | customSyntax: 'postcss-html', |
6 | rules: { | 6 | rules: { |
7 | - 'selector-class-pattern': null, | 7 | + 'function-no-unknown': null, |
8 | 'selector-class-pattern': null, | 8 | 'selector-class-pattern': null, |
9 | 'selector-pseudo-class-no-unknown': [ | 9 | 'selector-pseudo-class-no-unknown': [ |
10 | true, | 10 | true, |