patternfly / patternfly-react

A set of React components for the PatternFly project.
https://react-staging.patternfly.org/
MIT License
798 stars 355 forks source link

Linting - modernize set of linting rules #8717

Open dgutride opened 1 year ago

dgutride commented 1 year ago

PatternFly-React defines the standard set of linting rules used both by PatternFly React core libraries and PatternFly Extensions. These should be reviewed to ensure the set of rules are up to date with industry React development standards.

1) Identify a set of industry standards (is there a set of best practices for linting rules that can be followed?) 2) Introduce new rules and a plan for the React libraries to adopt these

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

nicolethoen commented 1 year ago

Seems console dot has settled on some standard linting rules: https://github.com/RedHatInsights/frontend-starter-app/blob/master/.eslintrc.js

I'd recommend this is where we start or what we borrow.