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

Upgrade to TS 5 #8937

Merged
merged 4 commits into from
Jun 23, 2023
Merged

Upgrade to TS 5 #8937

merged 4 commits into from
Jun 23, 2023

Conversation

djhi
Copy link
Contributor

@djhi djhi commented May 23, 2023

No description provided.

Copy link
Contributor

@slax57 slax57 left a comment

Choose a reason for hiding this comment

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

I still have this warning when running make lint:

=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.1.0

YOUR TYPESCRIPT VERSION: 5.1.3

Please only submit bug reports when using the officially supported version.

=============

Do you think we could try to get rid of it as well?

"extends": ["react-app", "plugin:prettier/recommended"],
"plugins": [
"@typescript-eslint",
Copy link
Contributor

Choose a reason for hiding this comment

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

FMI, why did you disable this plugin?

package.json Outdated
Comment on lines 39 to 40
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you still using them?

{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We use version 5.1.3 when latest supported is 5.1.0. It will be supported soon but we're safe anyway

Comment on lines +81 to +83
"@typescript-eslint/typescript-estree": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"@typescript-eslint/eslint-plugin": "^5.60.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is required because of eslint-config-react-app which has not been updated in 2 years. We would probably be better of with our own config

@slax57 slax57 added this to the 4.11.5 milestone Jun 23, 2023
@slax57 slax57 merged commit 1e13a5e into master Jun 23, 2023
10 checks passed
@slax57 slax57 deleted the upgrade-ts5 branch June 23, 2023 12:04
@slax57 slax57 modified the milestones: 4.11.5, 4.12.0 Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants