2.0.0 • Published 5 years ago

@forgerock/eslint-config v2.0.0

Weekly downloads
678
License
MIT
Repository
github
Last release
5 years ago

Prerequisites

ForgeRock ESLint Shareable Configuration requires ESLint 6.x.

Installation

via Yarn

yarn add @forgerock/eslint-config

via NPM

npm install @forgerock/eslint-config

Usage

Add one or more of the following rule sets to the extends section of your .eslintrc.js configuration.

Babel

extends: ["@forgerock/eslint-config/babel"]

Babel rules provided by eslint-plugin-babel.

Use these rules if you are using the babel-eslint parser.

Built-In

extends: ["@forgerock"]

Built-in rules provided by ESLint.

Filenames

extends: ["@forgerock/eslint-config/filenames"]

Filename rules provided by eslint-plugin-filenames.

JSX a11y

extends: ["@forgerock/eslint-config/jsx-a11y"]

JSX accessiblity rules provided by eslint-plugin-jsx-a11y.

JSDoc

extends: ["@forgerock/eslint-config/jsdoc"]

JSDoc rules provided by eslint-plugin-jsdoc.

Promise

extends: ["@forgerock/eslint-config/promise"]

Promise rules provided by eslint-plugin-promise.

React

extends: ["@forgerock/eslint-config/react"]

React and JSX rules provided by eslint-plugin-react.

React Hooks

extends: ["@forgerock/eslint-config/react-hooks"]

React Hook rules provided by eslint-plugin-react-hooks.

Contributing

Contribute to ForgeRock ESLint Shareable Configuration by opening a Pull Request.

2.0.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago