@lab009/eslint-config-lab009
[DEPRECATED] use @lab009/eslint-config-magma
Shared ESLint config by lab009.
Usage
Our default export contains all of our ESLint rules, including EcmaScript 6+
and React. It requires eslint
, eslint-plugin-react
, eslint-plugin-jsx-a11y
, and eslint-plugin-import
.
- Install the correct versions of each package, which are listed by the command:
npm info "@lab009/eslint-config-lab009@latest" peerDependencies
Use the install-peerdeps cli tool.
npm install -g install-peerdeps
install-peerdeps --dev @lab009/eslint-config-lab009
The cli will produce and run a command like:
npm install --save-dev @lab009/eslint-config-lab009 eslint@^
- add
"extends": "@lab009/eslint-config-lab009"
to your .eslintrc
Repository
https://github.com/lab009/eslint-config-lab009.git