1.3.0 • Published 4 years ago
@bjeco/eslint-config v1.3.0
eslint-config
Portable configuration for Eslint
Install
yarn add -D @bjeco/eslint-config eslint eslint-plugin-jest eslint-plugin-json-format eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-unicorn@19
Setup
Add an "eslintConfig"
parameter to the package.json file as an object containing an "extends" parameter:
{
"name": "my-library",
"version": "9000.0.1",
"eslintConfig": {
"extends": "@bjeco"
}
}
Reference
TODO
- Add VSCode plugin and settings for auto fix setup
- Go through existing recommended rule sets and extend them with additional rules
- eslint core
- json-format
- jsx-a11y
- react
- react-hooks
- unicorn
- Figure out what other lint plugins should be added here