-
Notifications
You must be signed in to change notification settings - Fork 355
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(build): address linting rule violations #9396
Conversation
Preview: https://patternfly-react-pr-9396.surge.sh A11y report: https://patternfly-react-pr-9396-a11y.surge.sh |
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.
Just a couple quick questions below
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.
does linting fail if you revert the two changes that Eric noted? I would definitely wonder why that's the case in only those two files...
Otherwise, this LGTM
bda625b
to
9ad092d
Compare
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 @thatblindgeye @nicolethoen - reverted. The only outstanding linting error is an incompatibility issue with Prettier versions, should be fixed once #9473 is merged
fix styling test errors disable rule enable rule try moving export update class component exports fix table export fix test fix linting errors PR feedback from Eric
* WIP ESlint errors fix styling test errors disable rule enable rule try moving export update class component exports fix table export fix test fix linting errors PR feedback from Eric * revert remove displayName and fix lint issues * fix lint error in test
What: Closes #8657 and #8658
Re-enabled no-anonymous-functions and prettier. Fixes linting violations and errors thrown by no-anonymous-functions rule.
Outside of this issue we may want to have a larger discussion about any modifications we may want to make to
.eslintrc.json
and how to align the best practices with PF needs cc @nicolethoen