This package has been deprecated

Author message:

this package has been deprecated; please use @chancedigital/config-eslint instead

eslint-config-chancedigital

0.1.7 • Public • Published

Chance Digital Eslint Config


Depracated: Use @chancedigital/eslint-config instead

ESLint configuration following Chance Digital Coding Standards. WIP.

Usage

You should install this configuration and peer dependencies as devDependencies in your project:

yarn add -D eslint-config-chancedigital eslint eslint-plugin-import eslint-plugin-jest babel-eslint

If you're planning to use the React superset of rules, you should also install eslint-plugin-react and eslint-plugin-react-hooks:

yarn add -D eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y

If you're planning to use the WordPress superset of rules, you should also install eslint-plugin-wpcalypso:

yarn add -D eslint-plugin-wpcalypso

Next, extend the configuration from your project's ESLint configuration:

"extends": "chancedigital"

Or, if your project uses React and you want to opt in to additional React-specific rules, extend the React superset:

"extends": "chancedigital/react"

...or for WordPress projects:

"extends": "chancedigital/wp"

Refer to the ESLint documentation on Shareable Configs for more information.

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-chancedigital

Weekly Downloads

0

Version

0.1.7

License

MIT

Unpacked Size

11.3 kB

Total Files

5

Last publish

Collaborators

  • chancestrickland