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
Default severity for broken tslint rules should be warning. Those red underlines make me feel that I made error, but in fact I just missed some tiny thing. This sometimes is very disturbing. I think, that syntax error or wrong type, missing member etc. error - are real errors, but tslint errors should be warnings by default.
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered:
EvAlex
changed the title
Add "defaultSeverity": "warning" to tslint.json when scaffolding app
Add "defaultSeverity": "warning" to tslint.json when scaffolding app
Jul 28, 2017
Bug Report or Feature Request (mark with an
x
)Versions.
@angular/cli: 1.2.1
node: 7.10.0
os: win32 x64
Windows 10
Repro steps.
ng new tempApp
src/main.ts
ng lint
The log given by the failure.
ERROR: C:/Users/Alexander/tempApp/src/main.ts[11, 52]: Missing semicolon
Lint errors found in the listed files.
Desired functionality.
Default severity for broken tslint rules should be warning. Those red underlines make me feel that I made error, but in fact I just missed some tiny thing. This sometimes is very disturbing. I think, that syntax error or wrong type, missing member etc. error - are real errors, but tslint errors should be warnings by default.
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: