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

[SG-33303-2] Upgrade to the latest version of typescript-eslint #247

Merged
merged 8 commits into from
May 26, 2022

Conversation

gitstart-sourcegraph
Copy link
Collaborator

@gitstart-sourcegraph gitstart-sourcegraph commented May 17, 2022

Test plan

Description

Our typescript-eslint version is outdated, and we need to upgrade to the latest one to use new features.

Success Criteria

typescript-eslint is upgraded to the latest version.

Implementation Details

Refs

Sourcegraph Issue
Gitstart Ticket

Related Issues

1
2

package.json Outdated Show resolved Hide resolved
.eslintrc.js Outdated Show resolved Hide resolved
.eslintrc.js Outdated Show resolved Hide resolved
.eslintrc.js Outdated Show resolved Hide resolved
Copy link
Member

@valerybugakov valerybugakov left a comment

Choose a reason for hiding this comment

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

As mentioned here should we modify the abbreviations rule?

Copy link
Member

@valerybugakov valerybugakov left a comment

Choose a reason for hiding this comment

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

Let's make final adjustments based on the comment #247 (comment), and it will be good to go!

.eslintrc.js Outdated Show resolved Hide resolved
Copy link
Member

@valerybugakov valerybugakov left a comment

Choose a reason for hiding this comment

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

Thank you! 🚀 Please follow Conventional Commit Messages format to trigger a new version release on the merge of this PR.

'@typescript-eslint/no-unsafe-return': 'warn',
// Turned off this rule since it was throwing
// TypeError: Cannot read property 'kind' of undefined
'@typescript-eslint/no-unsafe-return': 'off',
Copy link
Member

Choose a reason for hiding this comment

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

@gitstart-sourcegraph, could you please create an issue in the repo to fix this problem?


'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unnecessary-type-constraint': 'off',
// End
Copy link
Member

Choose a reason for hiding this comment

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

@gitstart-sourcegraph, could you please create an issue in the repo to review these newly added rules and enable them if we see fit?

@gitstart-sourcegraph gitstart-sourcegraph merged commit dc1cd97 into master May 26, 2022
@gitstart-sourcegraph gitstart-sourcegraph deleted the contractors/SG-33303-2 branch May 26, 2022 10:05
@sourcegraph-buildkite
Copy link
Collaborator

🎉 This PR is included in version 0.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

6 participants