mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-11 07:33:36 -05:00
Bring back SASS lint
The problem with SASS lint that we found in https://github.com/alphagov/notifications-admin/pull/202 has been fixed (see https://github.com/sasstools/sass-lint/pull/550). This commit reverts #202, re-enabling linting of SASS files.
This commit is contained in:
@@ -103,11 +103,10 @@ gulp.task('watchForChanges', function() {
|
||||
});
|
||||
|
||||
gulp.task('lint:sass', () => gulp
|
||||
// Removed until gulp-sass-lint installs cleanly
|
||||
// .src(paths.src + 'stylesheets/**/*.scss')
|
||||
// .pipe(plugins.sassLint())
|
||||
// .pipe(plugins.sassLint.format(stylish))
|
||||
// .pipe(plugins.sassLint.failOnError())
|
||||
.src(paths.src + 'stylesheets/**/*.scss')
|
||||
.pipe(plugins.sassLint())
|
||||
.pipe(plugins.sassLint.format(stylish))
|
||||
.pipe(plugins.sassLint.failOnError())
|
||||
);
|
||||
|
||||
gulp.task('lint:js', () => gulp
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
"devDependencies": {
|
||||
"gulp-css-url-adjuster": "0.2.3",
|
||||
"gulp-jshint": "2.0.0",
|
||||
"gulp-sass-lint": "1.1.1",
|
||||
"jshint": "2.9.1",
|
||||
"jshint-stylish": "2.1.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user