mgechev / tslint-angular

Recommended tslint configuration for Angular applications.
160 stars 20 forks source link

lint --fix messes up template #1

Closed dereklin closed 6 years ago

dereklin commented 6 years ago

When I run npm run lint -- --fix This

<h1>
  {{name}}
</h1>

is turned into this:

<h1>
 {{ {nam }}}
</h1>

Here is my repo: https://github.com/dereklin/nx-demo-jest/tree/try-tslint-config The template is at: https://github.com/dereklin/nx-demo-jest/blob/try-tslint-config/apps/app1/src/app/feature1/feature1.component.html

mgechev commented 6 years ago

Thanks for the files! Looks like an issue in codelyzer. Will work on this in a day or two.

mgechev commented 6 years ago

Moved to codelyzer.