palantir / tslint-react

:orange_book: Lint rules related to React & JSX for TSLint.
Apache License 2.0
749 stars 76 forks source link

add empty "index.js" to "rules/" directory #92

Closed donaldpipowitch closed 7 years ago

donaldpipowitch commented 7 years ago

Given https://github.com/palantir/tslint/issues/2163 it would be nice, if the rules/ directory would contain an empty index.js. Then we could resolve the rules directory with Nodes module resolution which makes it easy to use custom rules in certain situations (symlinked configs, flat vs. non-flat installations...).

Motivation:

adidahiya commented 7 years ago

open to PRs