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

Improve TypeScript config #12

Merged
merged 8 commits into from
Aug 12, 2024
Merged

Improve TypeScript config #12

merged 8 commits into from
Aug 12, 2024

Conversation

JstnMcBrd
Copy link
Owner

@JstnMcBrd JstnMcBrd commented Jun 21, 2024

Added

  • exactOptionalPropertyTypes to tsconfig
  • isolatedModules and isolatedDeclarations to tsconfig
  • Issue links to type shims
  • Notes for future lint rule breaking changes

Changed

  • All dependencies to latest versions
  • vscode-eslint flat config support to be stable
  • React rules to not import JavaScript rules

Removed

  • noFallthroughCasesInSwitch from tsconfig (handled better by eslint)

@JstnMcBrd JstnMcBrd added enhancement New feature or request dependencies Pull requests that update a dependency file labels Jun 21, 2024
@JstnMcBrd JstnMcBrd self-assigned this Jun 21, 2024
@JstnMcBrd JstnMcBrd marked this pull request as draft June 21, 2024 08:29
@JstnMcBrd
Copy link
Owner Author

typescript-eslint does not support TypeScript 5.5 yet. Trying to build throws errors. Must wait for next release before merging.

@JstnMcBrd JstnMcBrd merged commit 418f066 into main Aug 12, 2024
1 check passed
@JstnMcBrd JstnMcBrd deleted the mcb/ts branch August 12, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant