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

Support multiple old-style options. #2123

Merged
merged 2 commits into from
Jan 26, 2017

Conversation

andy-hanson
Copy link
Contributor

@andy-hanson andy-hanson commented Jan 26, 2017

Re: #2041 (comment)
Unreverts #2118 (restores #1957 and #2041).
New changes are at 81266d6 .

I was not aware that the old-style options for member-ordering supported more than one option at once. Had to update the code to reflect that.

Why don't we always use ./bin/tslint to lint tslint instead of the one in node_modules?

* Do not use presets; use an algorithm to generate a preset from multiple options.
@adidahiya
Copy link
Contributor

Why don't we always use ./bin/tslint to lint tslint instead of the one in node_modules?

This can produce complex issues -- if there's a bug in TSLint, it may not lint properly.

@andy-hanson
Copy link
Contributor Author

That was the idea -- it would fail immediately, rather than after the next publish to NPM.

@nchen63 nchen63 merged commit c5f52a1 into palantir:master Jan 26, 2017
@nchen63
Copy link
Contributor

nchen63 commented Jan 26, 2017

@andy-hanson thanks for the quick update

@andy-hanson andy-hanson deleted the member_ordering_old branch January 26, 2017 04:16
nchen63 pushed a commit that referenced this pull request Jan 26, 2017
nchen63 pushed a commit that referenced this pull request Jan 26, 2017
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.

3 participants