This package provides PatternFly React all ESLint rules bundled together for use in PatternFly React and downstream applications.
yarn add -D eslint-plugin-patternfly-reactor
npm install eslint-plugin-patternfly-react --save-devAdd eslint-plugin-patternfly-react to your .eslintrc.json or .eslintrc.js.
.eslintrc.json:
{
"plugins": ["plugin:patternfly-react/recommended"]
}.eslintrc.js:
module.exports = {
root: true,
extends: ['plugin:patternfly-react/recommended']
};