Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Resolve custom paths when loading rules #3640

Merged
merged 2 commits into from
Jan 10, 2018
Merged

Conversation

adidahiya
Copy link
Contributor

@adidahiya adidahiya commented Jan 10, 2018

Fixes #3638

tslint-loader was using an undocumented feature which allowed rulesDirectory to be an empty string without warnings or errors: https://github.com/wbuchwalter/tslint-loader/blob/4d166651d916a0c43dd5a11099d6ff532350e27b/index.js#L59

This did expose a bug in tslint 5.9.0, though, because we started throwing an error prematurely before resolving the rulesDirectory path to an absolute path.

@adidahiya adidahiya merged commit a4dc874 into master Jan 10, 2018
@adidahiya adidahiya deleted the ad/fix-custom-rule-loader branch January 10, 2018 22:15
HyphnKnight pushed a commit to HyphnKnight/tslint that referenced this pull request Apr 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant