I am trying to find out how to avoid alert messages other than those that are directed to errors as such. Trying to follow some tutorials to learn angular I have found that the editor, in my case vs code, marks many errors, but these are warning.
For example:
Doctype must be declared first.(doctype-first)
Where it clearly says that DOCTYPE is needed like any html
file, but it should be remembered that in angular, only that is done in the index or main html
file.
The attribute name of [ *ngIf ] must be in lowercase.(attr-lowercase)
And in this case, it says that everything must be in lowercase, when they are embedded methods of the same framework and is stipulated in that way.
The other
Properties should be separated by semicolons (semicolon)tslint(1)
When it is clearly in JSON format, which as an object is separated by commas mostly time.
EDIT: After fixing the commas with semi-colons to create valid JSON, I still receive the following complaining about the String variable type:
Here is the code in full in a GitHub Repo