Skip to content

ESLint rules for PatternFly plugins specifically developed for OpenShift console.

Notifications You must be signed in to change notification settings

patternfly-labs/eslint-plugin-patternfly-console-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-patternfly-console-plugin

This package provides PatternFly linting specifically around they console plugins. These linting rules focus on console plugin development for openshift.

Installing

yarn add -D eslint-plugin-patternfly-console-plugin

or

npm install eslint-plugin-patternfly-console-plugin --save-dev

Usage

Add eslint-plugin-patternfly-console-plugin to your .eslintrc.json or .eslintrc.js.

.eslintrc.json:

{
  "plugins": ["plugin:patternfly-console-plugin/recommended"]
}

.eslintrc.js:

module.exports = {
  root: true,
  extends: ['plugin:patternfly-console-plugin/recommended']
};

Building

yarn build

Note the build scripts for this are located in the root package.json under yarn build.

Publishing

yarn publish

About

ESLint rules for PatternFly plugins specifically developed for OpenShift console.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published