eslint-config-somos
v3.0.2
Published
Somos ES Lint rules
Downloads
212
Readme
eslint-config-somos
This package includes a shared ESLint configuration for Somos.
Usage
Install the config in your project:
npm i -D eslint-config-somos
Install peer dependencies:
npm i -D babel-eslint@^10.0.0 eslint@^6.8.0 eslint-plugin-import@^2.20.1 eslint-plugin-jsx-a11y@^6.1.1 eslint-plugin-react@^7.19.0 eslint-plugin-react-hooks@^2.5.0
Extend your project's eslint config:
- Node:
"extends": "somos/node"
- React:
"extends": "somos/react"
- Node:
If using VS Code, install and enable the ESLint extension