tslint gives error enable rules for file wth type ts code example Example: tslint fix tslint --fix -c ./config/tslint.json 'src/**/*{.ts,.tsx}'