2.1.0 • Published 3 years ago

eslint-config-bigbrain v2.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

eslint-config-bigbrain

Just my personal eslint config setup for regular javascript or typescript. I don't know why I called it bigbrain.

This config isn't really designed with pure javascript projects in mind even though a javascript only config is shipped. The base shared config is included for linting of any regular .js files that might be included in a project.

shared

The shared config is used by all actually exported configs.

  • eslint recommended defaults plus a few extra rules
  • unicorn recommended defaults with a few minor additions
  • sonarjs just recommended
  • import with import sorting enabled
  • prettier

default

Regular javascript only eslint rules.

node

Standard JS but with extra rules for node.

yarn add -D eslint-plugin-node

typescript

Shared rules extended with typescript-eslint rules.

react

Extends typescript rules with react and jsx rules. Required plugins are included as optional peerDependencies to avoid annoying warnings when you aren't using react rules.

yarn add -D eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks
2.1.0

3 years ago

2.0.2

3 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago