Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support alt-JS dependencies #503

Merged
merged 1 commit into from
Aug 20, 2016
Merged

support alt-JS dependencies #503

merged 1 commit into from
Aug 20, 2016

Conversation

benmosher
Copy link
Member

Closes #407. Allows TypeScript or other alt-JS dependencies to be configured via import/parsers setting.

cc @santiagoaguiar, @denneulin for feedback since you two 👍'd the original issue I created. 😎

@coveralls
Copy link

coveralls commented Aug 20, 2016

Coverage Status

Coverage increased (+0.05%) to 97.722% when pulling 8a68fbb on typescript into 852d14b on master.

@benmosher benmosher merged commit 8a68fbb into master Aug 20, 2016
@benmosher benmosher mentioned this pull request Aug 20, 2016
context('alternate parsers', function () {
const configs = [
// ['string form', { 'typescript-eslint-parser': '.ts' }],
['array form', { 'typescript-eslint-parser': ['.ts', '.tsx'] }],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason that the string form one is commented out?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started with just one string, then made it support both a string and an array.

Then I decided I was making it too complicated.

Do you think it would be better to support both?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants