0.1.7 • Published 5 years ago

eslint-config-chancedigital v0.1.7

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

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.

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago