-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
CHANGELOG.md
Outdated
@@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d | |||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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!
f57738c
to
d8cbca3
Compare
This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers |
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