Gulp Sass Lint 用于插件。 安装 npm install gulp-sass-lint --save-dev 用法 gulpfile.js 'use strict' ; var gulp = require ( 'gulp' ) , sassLint = require ( 'gulp-sass-lint' ) ; gulp . task ( 'default' , function ( ) { return gulp . src ( 'sass/**/*.s+(a|c)ss' ) . pipe ( sassLint ( ) ) . pipe (