@bjeco/eslint-config

1.3.0 • Public • Published

eslint-config

npm (scoped)

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

Eslint configuration settings

TODO

  • [ ] Add VSCode plugin and settings for auto fix setup
  • [ ] Go through existing recommended rule sets and extend them with additional rules
    • [x] eslint core
    • [x] json-format
    • [ ] jsx-a11y
    • [ ] react
    • [x] react-hooks
    • [x] unicorn
  • [ ] Figure out what other lint plugins should be added here

Readme

Keywords

none

Package Sidebar

Install

npm i @bjeco/eslint-config

Weekly Downloads

3

Version

1.3.0

License

MIT

Unpacked Size

6.24 kB

Total Files

11

Last publish

Collaborators

  • brianespinosa