mean-stack-angular6-crud-example icon indicating copy to clipboard operation
mean-stack-angular6-crud-example copied to clipboard

double results after ng lint

Open alundiak opened this issue 5 years ago • 0 comments

Here is example:

ERROR: ...src/app/api.service.ts[9, 16]: " should be '
ERROR: ...src/app/api.service.ts[9, 16]: " should be '
ERROR: ...src/app/api.service.ts[31, 4]: Unnecessary semicolon
ERROR: ...src/app/api.service.ts[31, 4]: Unnecessary semicolon
ERROR: ...src/app/api.service.ts[34, 9]: Identifier 'body' is never reassigned; use 'const' instead of 'let'.
ERROR: ...src/app/api.service.ts[34, 9]: Identifier 'body' is never reassigned; use 'const' instead of 'let'.

and so on...

Do u also have it? Does it look as tslint issue or ng cli due to the fact I have global and local version?

Note: I tried to uninstall global, and then ng is not linked by npm to local. I tried to npm link but it doens't work.

@didinj any ideas?

alundiak avatar Jul 25 '18 22:07 alundiak