意料之外的未知规则“@顺风”scss/at-规则-无未知 、、 这是我的stylelint.config.js module.exports = { extends: ['stylelint-config-standard-scss'], rules: { 'at-rule-no-unknown': [ true, { ignoreAtRules: ['tailwind'] } ], 'declaration-block-trailing-semicolon': null, 'scss/at-e...
'at-rule-no-unknown': [ true, { 'ignoreAtRules': [ 'extend', 'include', 'mixin', 'for' ] } ] } }; gulp.task('scss-lint', function() { var processors = [ stylelint(stylelintConfig), reporter({ clearMessages: true, throwError: true }) ]; return gulp.src( ['src/style/*....
(2)安装完成后会在项目根目录下创建gulpfile.js文件,文件gulpfile.js配置为: var reporter = require('postcss-reporter');var stylelint = require('stylelint');var stylelintConfig = {'extends': 'stylelint-config-standard','rules': {'at-rule-n...
(2)安装完成后会在项目根目录下创建gulpfile.js文件,文件gulpfile.js配置为: varreporter =require('postcss-reporter');varstylelint =require('stylelint');varstylelintConfig = {'extends':'stylelint-config-standard','rules': {'at-rule-no-unknown': [true, {'ignoreAtRules': ['extend','include'...
var reporter = require('postcss-reporter'); var stylelint = require('stylelint'); var stylelintConfig = { 'extends': 'stylelint-config-standard', 'rules': { 'at-rule-no-unknown': [ true, { 'ignoreAtRules': [ 'extend', 'include', 'mixin', 'for' ] } ] } }; gulp.task('sc...
'at-rule-no-unknown': [ true, { 'ignoreAtRules': [ 'extend', 'include', 'mixin', 'for' ] } ] } }; gulp.task('scss-lint', function() { var processors = [ stylelint(stylelintConfig), reporter({ clearMessages: true, throwError: true ...
意料之外的未知规则“@顺风”scss/at-规则-无未知 、、 这是我的stylelint.config.js module.exports = { extends: ['stylelint-config-standard-scss'], rules: { 'at-rule-no-unknown': [ true, { ignoreAtRules: ['tailwind'] } ], 'declaration-block-trailing-semicolon': null, 'scss/at-e...
'at-rule-no-unknown': [ true, { 'ignoreAtRules': [ 'extend', 'include', 'mixin', 'for' ] } ] } }; gulp.task('scss-lint', function() { var processors = [ stylelint(stylelintConfig), reporter({ clearMessages: true, throwError: true ...
varreporter =require('postcss-reporter');varstylelint =require('stylelint');varstylelintConfig = {'extends':'stylelint-config-standard','rules': {'at-rule-no-unknown': [true, {'ignoreAtRules': ['extend','include','mixin','for'] } ] } }; gulp.task('scss-lint', function() {var...
varreporter = require('postcss-reporter');varstylelint = require('stylelint');varstylelintConfig ={'extends': 'stylelint-config-standard','rules': {'at-rule-no-unknown': [true, {'ignoreAtRules': ['extend','include','mixin','for'] ...