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

Chore/modify e slint rule #1328

Merged
merged 2 commits into from
Jun 30, 2023
Merged

Chore/modify e slint rule #1328

merged 2 commits into from
Jun 30, 2023

Conversation

kishore03109
Copy link
Contributor

Problem

I think as a team we have been ok with ignoring this rule in favour of cleaner code (ie we dont have to manually type out the props). This can be reflected by the mere fact that there are many files with this rule being ignored.

Rather than having multiple ignore warnings, this PR changes that to allow such eslint rules to pass, rather than us needed to ignore this.

Solution

change eslint.rc

@kishore03109 kishore03109 requested a review from a team June 28, 2023 08:09
@kishore03109 kishore03109 mentioned this pull request Jun 28, 2023
8 tasks
CHANGELOG.md Outdated
@@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d

Copy link
Contributor

Choose a reason for hiding this comment

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

can rebase to drop these commits?

Copy link
Contributor Author

@kishore03109 kishore03109 Jun 28, 2023

Choose a reason for hiding this comment

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

opps sorry never see properly, done

@@ -42,7 +42,7 @@
"rules": {
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error",
"react/jsx-props-no-spreading": "warn",
"react/jsx-props-no-spreading": "off",
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks for the clean up!

@kishore03109 kishore03109 temporarily deployed to staging June 28, 2023 08:21 — with GitHub Actions Inactive
@kishore03109 kishore03109 temporarily deployed to staging June 28, 2023 08:24 — with GitHub Actions Inactive
@kishore03109 kishore03109 force-pushed the chore/modifyESlintRule branch from f57738c to d8cbca3 Compare June 28, 2023 08:25
@kishore03109 kishore03109 requested a review from harishv7 June 28, 2023 08:26
@kishore03109 kishore03109 temporarily deployed to staging June 28, 2023 08:39 — with GitHub Actions Inactive
@kishore03109 kishore03109 merged commit aabf86f into develop Jun 30, 2023
@mergify mergify bot deleted the chore/modifyESlintRule branch June 30, 2023 00:58
@mergify
Copy link

mergify bot commented Jul 30, 2023

This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers

@mergify mergify bot requested a review from a team July 30, 2023 00:59
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