You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This relates to me trying to use pug with codelyzer here: #880
The problem is that I don't have sourcemaps.
When I use tslint --fix, any template rules that have a fixer (I've just tried angular-whitespace) will update the code incorrectly.
I think it would be best if codelyzer didn't attempt to add a fix, if a custom transformTemplate function is used and no sourcemap is provided.
The text was updated successfully, but these errors were encountered:
undsoft
changed the title
Fixer should not be added when using custom tempalte transformation without sourcemaps
Fixer should not be added when using custom template transformation without sourcemaps
Aug 26, 2019
@undsoft I don't use pug, but angular-whitespace is deprecated and it as far I can remember, it has some problems with its fixer. We have just another template rule that has a fixer, the template-banana-in-box. Would you mind to try to reproduce the problem with it?
This relates to me trying to use pug with codelyzer here:
#880
The problem is that I don't have sourcemaps.
When I use tslint --fix, any template rules that have a fixer (I've just tried angular-whitespace) will update the code incorrectly.
I think it would be best if codelyzer didn't attempt to add a fix, if a custom transformTemplate function is used and no sourcemap is provided.
The text was updated successfully, but these errors were encountered: