I am trying to increase the strictness of my TSLint rules. For example, I added a couple of obvious rules like:
"no-var-keyword": true, "no-duplicate-variable": true, "no-unused-variable": [ true ],
and then add some deliberate violations in my app.component code:
var x = 1; var y; var y;
I then added this to my package.json
"lint": "ionic-app-scripts lint",
npm run lint
It says lint started… and then it finishes with NO errors or warnings. I can’t believe my code is that clean - so how can I get TSLint to run on my code source? (Note: When I use my BitBucket Build Pipeline or ionic serve it also founds 0 errors.