0.0.1 • Published 1 year ago

eslint-config-shidp v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

eslint-config-shidp

This package provides shidp's base JS .eslintrc as an extensible shared config.

Usage

eslint-config-shidp

Our default export contains all of our ESLint rules, including ECMAScript 6.

First, install this package

npm install --save-dev eslint-config-shidp eslint

Then add following contents to your .eslintrc file

{
  "extends": "shidp"
}

eslint-config-shidp/legacy

For some legacy project using es5.

First, install this package

npm install --save-dev eslint-config-shidp eslint

Then add following contents to your .eslintrc file

{
  "extends": "shidp/legacy"
}

eslint-config-shidp/react

First, install this package and necessary plugins

npm install --save-dev eslint-config-shidp eslint babel-eslint eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y

Then add following contents to your .eslintrc file

{
  "extends": "shidp/react"
}

License

MIT

0.0.1

1 year ago