9.0.3 • Published 5 months ago

@alex-e-leon/eslint-config v9.0.3

Weekly downloads
6
License
ISC
Repository
github
Last release
5 months ago

eslint-config

Personalised eslint-configs + prettier config for:

  • react projects with flow + css modules
  • react projects with ts + css modules
  • node.js projects with flow
  • node.js projects with typescript

Usage

npm i -D @alex-e-leon/eslint-config

.eslintrc

{ "extends": "@alex-e-leon/eslint-config/react-flow" }
\\ or
{ "extends": "@alex-e-leon/eslint-config/react-ts" }
\\ or
{ "extends": "@alex-e-leon/eslint-config/node-flow" }
\\ or
{ "extends": "@alex-e-leon/eslint-config/node-ts" }

package.json

  "prettier": "@alex-e-leon/eslint-config/prettier.json"

Note that you must install prettier and eslint seperately and either typescript/flow depending on which lint ruleset you choose.