Open PaulSinnema opened 9 years ago
Hello @PaulSinnema.
Have you made changes to tslint.json
?
If so can you show paste the file here.
If not; you are using the default one, which comes with Web Essentials -- please delete it from
%userprofile%
directory (this means you might be using the old one). Web Essentials will auto restore the default one from its settings store.
Removed the tslint.json from the %userprofile% directory. Problem remains.
How config files are located by linters:
(in this case config file is tslint.json
and input file is filename.ts
)
%userprofile%
).(those are the standard steps taken by node-based linters, at this point if the config file isn't found anywhere, the linter will throw error: config-not-found)
Questions:
.ts
file till the drives root.I encountered the same issue: The warning TSLint: Invalid config file was constantly there.
Removed tslint.json from my user directory. No change
Checked with procmon.exe which tslint.json is accessed. It was the one in the directory set by the %HOME% env variable. There was no tslint.json file. I created one with content "{}", so empty json object.
Restarted VS and warning is away. (Reloading solution was not enough, the error provider of vs often hangs a bit)
I had the same issue with VS2013 Update 3 saying "*.ts compilation failed: TSLint: Invalid config file." for each .ts files in solution. I downloaded the default config file and copied to %userprofile% and it worked.
Webessentials nightly build 2.3.5 gives me 'TSLint: Invalid config file.' on rebuild all in VS2013.