tslint exclude option does not work in WebStorm 2016.2

I have the tslint.json file like below:

{
"exclude": [
"**/node_modules/**",
"**/typings/**"
],
"rules": {...}
}

I expect that IDE does not linting files in the node_modules folder and in the typings folder. But it is wrong. When I open any file from a restricted folder, IDE check their and colorize.
Where I mistake.

4 comments
Comment actions Permalink

Hmm.. Does it work in command line? As far as I can see, 'exclude' in tslint.json is not supported, https://github.com/palantir/tslint/issues/73 is still open; as it's noted there, `right now, tslint.json has no control over what is linted, it only controls how files are linted`

0
Comment actions Permalink

Notre that you can exclude files/folders from processing using inspection scopes - see https://youtrack.jetbrains.com/issue/WEB-18240#comment=27-1255539

1
Comment actions Permalink

https://github.com/HyphnKnight/tslint/commit/fd4fd192014dccf1d071ab90da3d5167d4713ee2 I think this has been fixed in tslint but it doesn't have an affect in PHPStorm.

0
Comment actions Permalink

Please vote for https://youtrack.jetbrains.com/issue/WEB-33060 to be notified on any progress with it

0

Please sign in to leave a comment.