Given this in .codelyzer.js
module.exports = {
transformStyle(code, url, decorator) {
throw new Error('Something went horribly wrong');
},
};
When running the lint task it will not display the error, which makes it look like the styles are passing lint!
transformTemplate does not suffer from the same issue.
Node: 6.9.1
Tslint: 4.0.2
Codelyzer: 2.0.0-beta.3
Angular: 2.2.3
It's intentional to not throw when a style is not transformed successfully but this doesn't eat linting errors.
It might be a good idea to log the errors but still some text editors/IDEs tslint plugins (VSCode tslint for instance) crashes when you log something on stderror.
馃槙 Lost a couple hours due to this. No warning whatsoever that your transform or styles are broken is pretty worrying to me
I agree, I will add a bolded warning to the README.md file.