0.7.0 • Published 7 years ago
@redallen-patternfly/eslint-plugin-patternfly-react v0.7.0
eslint-plugin-patternfly-react
This package provides PatternFly React all ESLint rules bundled together for use in PatternFly React and downstream applications.
Installing
yarn add -D eslint-plugin-patternfly-reactor
npm install eslint-plugin-patternfly-react --save-devUsage
Add 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']
};Building
yarn buildNote the build scripts for this are located in the root package.json under yarn build.
Publishing
yarn publish