SublimeLinter/SublimeLinter-tslint

rulesDirectory not being correctly passed to tslint

farley911 opened this issue · 3 comments

I attempted to add codelyzer to my linting following the instructions on their npm however when I add any of the codelyzer custom rules to my rules tslint breaks and stops linting my code.

Getting same problem.

This works:

{
  "rulesDirectory": [
    "node_modules/codelyzer"
  ],
  "rules": {...}
}

This does not work:

{
  "rulesDirectory": [
    "node_modules/codelyzer"
  ],
  "extends": [
    "tslint-eslint-rules",
    "tslint-plugin-prettier",
    "tslint-config-prettier"
  ],
  "rules": {...}
}

Guys, please try again with recent versions of SublimeLinter and this plugin, and post full debug logs if it doesn't work.

kaste commented

Closing due to age