Codelyzer: Angular Whitespace "check-interpolation" fails

Created on 18 Jun 2017  路  1Comment  路  Source: mgechev/codelyzer

...with {{ foo}} and {{foo }}.

bug P2

Most helpful comment

I had an issue with angular-whitespace or one of the fixers that seemed to identify angular moustache templates in my typescript files (no templates) and

import {
  FormControl,
  FormGroup,
  FormBuilder,
  Validators,
  FormArray
} from "@angular/forms";

became

imp; }}t{{ { {  }}{  }} {  }} {  }}
  }}ormArray,
  FormBuilder,
  FormGroup,
  Validators;
} from; '@angular/forms';

I had ridiculously run the tslint --fix autofix while working out how to use tslint and ended up replacing even more }} 馃ぃ.

I'm still trying to track things down.

>All comments

I had an issue with angular-whitespace or one of the fixers that seemed to identify angular moustache templates in my typescript files (no templates) and

import {
  FormControl,
  FormGroup,
  FormBuilder,
  Validators,
  FormArray
} from "@angular/forms";

became

imp; }}t{{ { {  }}{  }} {  }} {  }}
  }}ormArray,
  FormBuilder,
  FormGroup,
  Validators;
} from; '@angular/forms';

I had ridiculously run the tslint --fix autofix while working out how to use tslint and ended up replacing even more }} 馃ぃ.

I'm still trying to track things down.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marbug picture marbug  路  3Comments

Bigous picture Bigous  路  4Comments

mattlewis92 picture mattlewis92  路  5Comments

Umayalmuthupalaniappan picture Umayalmuthupalaniappan  路  5Comments

wKoza picture wKoza  路  6Comments