Closed AdamWillden closed 7 years ago
FWIW i'm using gulp-aurelia-template-lint
and recognise the issue may not actually belong in this repo.
for now, you should be able to use your own reporter and throw an error to kill it. see: https://github.com/MeirionHughes/gulp-aurelia-template-lint/blob/master/index.js#L12
I will work in a way to change the severity of individual issues. see #158
Cheers @MeirionHughes, I think that the reporter could work for now.
I won't raise another issue as I said I would for emitting the error. But to clarify every other linter I use has an option whether or not to emit the error to kill the gulp task:
https://github.com/adametry/gulp-eslint#eslintfailonerror https://github.com/panuhorsmalahti/gulp-tslint/blame/master/README.md#L69 https://github.com/sasstools/gulp-sass-lint#sasslintfailonerror
Hi, I've just installed this plugin and firstly I want to thank you for this! I'm sure it'll save me lots of time debugging my colleagues and own code!
All of my errors seem to appear as warnings.
Most other linters fail (return 1) when encountering an error and that is what I want and what I suspect this does (or should do). Issues that I believe should be errors (e.g. reportUnresolvedAccessMemberIssue) show up as warnings:EDIT
I've crossed out something I said which is wrong. Will make another issue with regards to emitting the error