eslint-plugin-pegasus
Eslint shareable config with personalized defaults.
Install
npm install eslint eslint-config-pegasus --save-dev
Usage
See Eslint's Shareable Configs for more information.
extends:
- pegasus
Additional rules
Node.js
extends:
- pegasus
- pegasus/node
Typescript
extends:
- pegasus
- pegasus/typescript # base config
Or Use Recommended Config
extends:
- pegasus
- pegasus/typescript-recommended
This extendes typescript-eslint/recommended with typechecking
Or Use Stylistic Config
extends:
- pegasus
- pegasus/typescript-recommended
- pegasus/typescript-stylistic
This extendes typescript-eslint/stylistic with typechecking
Or Use Strict Config
extends:
- pegasus
- pegasus/typescript-strict
typescript-strict
includes all base, recommended and stylistic configuration
React
extends:
- pegasus
- pegasus/react
Browsers
extends:
- pegasus
- pegasus/browser