2
votes

I have installed TSLint and it works just fine with WebStorm 2016.

But after this I have tried to install tslint-eslint-rules. Followed instructions on github and added "rulesDirectory": "node_modules/tslint-eslint-rules/dist/rules" to my custom tslint.config file. But still tslint-eslint-rules seems not to work you get an error in WebStorm

(node_modules\tslint\lib\ruleLoader.js:29 throw new Error....)

Can somebody confirm that this eslint ported to TypeScript rules actually can't work with standard TSLint or is this some sort of WebStorm 2016 problem?

1

1 Answers

3
votes

Works for me.

enter image description here

Please make sure that your local tslint package is specified in Settings | Languages & Frameworks | Typescript | TSLint, TSLint package:, and that path/to/project/node_modules/tslint-eslint-rules/dist/rules is added to 'Additional rules directory:' there. Also, try re-opening the project after changing your settings