gucong3000 / gulp-reporter

Error report for: CSSLint/EditorConfig/ESLint/HTMLHint/JSCS/JSHint/PostCSS/Standard/TSLint/XO
MIT License
17 stars 1 forks source link

Empty error message for Stylint reports #212

Closed NikolayFrantsev closed 6 years ago

NikolayFrantsev commented 6 years ago

cat package.json

{
  "dependencies": {
    "gulp": "4.0.0",
    "gulp-reporter": "2.7.0",
    "gulp-stylint": "4.0.1"
  }
}

cat gulpfile.js

const Gulp = require('gulp');
const Stylint = require('gulp-stylint');
const Reporter = require('gulp-reporter');

Gulp.task('test:stylint', () => (
  Gulp.src('packages/**/*.styl')
    .pipe(Stylint())
    .pipe(Reporter())
));

gulp test:stylint --silent

[10:25:58] packages/common-ui/src/components/ui.styl
    01:01 ❌️                                                 (StyLint)
gucong3000 commented 6 years ago

@Shutnik Would you please upload packages/common-ui/src/components/ui.styl and .stylintrc here?

NikolayFrantsev commented 6 years ago

cat .stylintrc

{
  "colons": "never"
}

cat packages/common-ui/src/components/ui.styl

a
  color:red
gucong3000 commented 6 years ago

@Shutnik fixed in v2.7.1