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

Make it easy to set up linting for TypeScript #18

Merged
merged 3 commits into from
Jun 23, 2021
Merged

Make it easy to set up linting for TypeScript #18

merged 3 commits into from
Jun 23, 2021

Conversation

Avaq
Copy link
Contributor

@Avaq Avaq commented Jun 10, 2021

⚠️ This is a breaking change. The resulting lib needs to be released with a major version bump.

Changes

  • TypeScript config based on eslint-typescript was added
  • Library reworked to allow configs to be composed with better results
  • JSX config updated just because I came across this while doing stuff

@Avaq Avaq requested a review from a team June 10, 2021 11:33
@Avaq Avaq self-assigned this Jun 10, 2021
Avaq added 3 commits June 10, 2021 14:10
Currently, it's not possible to load both typescript and jsx, because
both of them extend index and make changes to the base config, but when
one is loaded after the other, the changes they made on top of index are
overridden by the index loaded by the latter.

This commit makes it so no presets explicitly load the index anymore,
leaving it to the user to decide on the load order.
README.md Show resolved Hide resolved
@Avaq Avaq merged commit 55bcde4 into main Jun 23, 2021
@Avaq Avaq deleted the avaq/typescript branch June 23, 2021 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants