gulp-scss-lint-stylish
raw JSON → 1.0.1 verified Fri May 01 auth: no javascript abandoned
Stylish reporter for gulp-scss-lint that mimics the visual style of jshint-stylish. Version 1.0.1, last released in 2015, with no releases since. It is a small wrapper that formats SCSS lint results in a readable, colorized output. Unlike other reporters, it focuses on providing a consistent experience for developers familiar with jshint-stylish. The package depends on gulp-scss-lint and is designed for use in Gulp-based workflows. It requires Node >=0.12, is not actively maintained, and may have compatibility issues with modern Node versions.
Common errors
error Error: Cannot find module 'gulp-scss-lint-stylish' ↓
cause Package not installed or missing from node_modules.
fix
Run 'npm install gulp-scss-lint-stylish --save-dev'.
error TypeError: scssLint is not a function ↓
cause gulp-scss-lint is not installed or incorrectly required.
fix
Run 'npm install gulp-scss-lint --save-dev' and verify require path.
Warnings
deprecated gulp-scss-lint-stylish is no longer maintained. It depends on outdated dependencies and may not work with newer Node versions. ↓
fix Consider using a modern alternative like gulp-sass-lint or a PostCSS-based linter.
breaking Node >=0.12 required. This package uses old APIs and may break on Node >=10. ↓
fix Upgrade to a maintained package or test thoroughly on your Node version.
gotcha The reporter must be passed via the 'customReport' option of gulp-scss-lint, not treated as a standalone plugin. ↓
fix Use as shown in the quickstart: pipe through gulp-scss-lint with customReport set.
Install
npm install gulp-scss-lint-stylish yarn add gulp-scss-lint-stylish pnpm add gulp-scss-lint-stylish Imports
- default
const scssLintStylish = require('gulp-scss-lint-stylish'); - import wrong
import { scssLintStylish } from 'gulp-scss-lint-stylish';correctimport scssLintStylish from 'gulp-scss-lint-stylish';
Quickstart
const gulp = require('gulp');
const scssLint = require('gulp-scss-lint');
const scssLintStylish = require('gulp-scss-lint-stylish');
gulp.task('scss-lint', function() {
return gulp.src('src/scss/**/*.scss')
.pipe(scssLint({ customReport: scssLintStylish }));
});