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.
请先登录再写评论。
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`Notre that you can exclude files/folders from processing using inspection scopes - see https://youtrack.jetbrains.com/issue/WEB-18240#comment=27-1255539
https://github.com/HyphnKnight/tslint/commit/fd4fd192014dccf1d071ab90da3d5167d4713ee2 I think this has been fixed in tslint but it doesn't have an affect in PHPStorm.
Please vote for https://youtrack.jetbrains.com/issue/WEB-33060 to be notified on any progress with it