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

Resolved linter semicolon issues. #53

Merged
merged 3 commits into from
Mar 29, 2023
Merged

Conversation

parthpandey1
Copy link
Contributor

Changed rule in .eslintrc.cjs for extra semicolons to show error instead of warning. Resolved extra semicolon issues.

Jooms
Jooms previously approved these changes Mar 9, 2023
Copy link
Contributor

@Jooms Jooms left a comment

Choose a reason for hiding this comment

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

Approved with 1 comment to fix.

.eslintrc.cjs Outdated
@@ -5,7 +5,7 @@ module.exports = {
root: true,
rules: {
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/no-extra-semi": "warn",
"@typescript-eslint/no-extra-semi": "error",
Copy link
Contributor

Choose a reason for hiding this comment

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

Just remove the entire line. warn was an override. Setting it to error is letting it go back to the default.

Copy link
Contributor

@jayrevolinskyjr jayrevolinskyjr left a comment

Choose a reason for hiding this comment

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

I agree with @Jooms , removing the no-extra-semi line will resolve this

@jayrevolinskyjr jayrevolinskyjr changed the title Resolved linter semicolon issues. Fixes #48 Resolved linter semicolon issues. Mar 10, 2023
Copy link
Contributor

@jayrevolinskyjr jayrevolinskyjr left a comment

Choose a reason for hiding this comment

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

LGTM

@parthpandey1 parthpandey1 requested a review from Jooms March 10, 2023 02:04
@decoles decoles self-requested a review March 12, 2023 19:03
@decoles
Copy link
Contributor

decoles commented Mar 12, 2023

Looking good!

decoles
decoles previously approved these changes Mar 12, 2023
@parthpandey1 parthpandey1 merged commit 0ebb4d2 into main Mar 29, 2023
@parthpandey1 parthpandey1 deleted the linter-no-extra-semi branch March 29, 2023 04:57
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.

5 participants