tslint-loader icon indicating copy to clipboard operation
tslint-loader copied to clipboard

Getting `Tried to lint` errors in tslint-loader

Open hisuwh opened this issue 5 years ago • 6 comments

We have had tslint-loader set up for a while on our project but we have now started getting errors like these for all our files:

Tried to lint C:\code\my-projct\src\approver\index.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.

Running tslint separately works as expected.

hisuwh avatar Apr 09 '19 15:04 hisuwh

Anyone monitoring this repo?

hisuwh avatar May 16 '19 15:05 hisuwh

@hisuwh you're probably missing tslint.json file in the root directory

lukejagodzinski avatar Jun 05 '19 18:06 lukejagodzinski

@lukejagodzinski give me some credit. of course I've got a tslint.json

hisuwh avatar Jun 06 '19 07:06 hisuwh

@hisuwh you know it's just the most common error when you're missing tslint.json file. I'm not maintainer of this package but it's a good practice to give more details about your project config ;). Without that, I don't think anyone will bother ;)

lukejagodzinski avatar Jun 06 '19 12:06 lukejagodzinski

@lukejagodzinski my configuration didn't change and then this suddenly started happening so I was hoping it was bug that one of the maintainer might be able to give some advice on.

hisuwh avatar Jun 06 '19 12:06 hisuwh

I got the same problem 😭

curiousbabyMz avatar Dec 09 '22 11:12 curiousbabyMz