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

Export defaultConfig from sort-comp rule for programmatic use #1578

Merged
merged 1 commit into from Dec 1, 2017

Conversation

Andarist
Copy link
Contributor

@Andarist Andarist commented Dec 1, 2017

No description provided.

@ljharb
Copy link
Member

ljharb commented Dec 1, 2017

This seems good; what’s the use case?

@Andarist
Copy link
Contributor Author

Andarist commented Dec 1, 2017

Just programmatic manipulation of this defaultConfig - so it's easy to insert i.e. type-annotations in the desired place without actually hardcoding the original default config, which also might (although probably won't) change over time.

I just hate hardcoding :P

@ljharb ljharb merged commit 6f444a7 into jsx-eslint:master Dec 1, 2017
@Andarist Andarist deleted the sort-comp/export-default-config branch December 1, 2017 23:53
This was referenced Feb 2, 2018
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

2 participants