@alex-e-leon/eslint-config

9.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

47

Version

9.0.3

License

ISC

Unpacked Size

8.51 kB

Total Files

16

Last publish

Collaborators

  • alex-e-leon