Socket
Socket
Sign inDemoInstall

eslint-config-pegasus

Package Overview
Dependencies
235
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-pegasus

Eslint shareable config with personalized defaults


Version published
Weekly downloads
68
decreased by-55.26%
Maintainers
1
Install size
51.8 MB
Created
Weekly downloads
 

Changelog

Source

v5.0.0 (2023-07-12)

  • update typescript-eslint to v6.0.0 (dc967b9)
  • update rule no-unused-vars (b8032a8)
  • add typescript recommended, stylistic, strict configs (2c1bd48)

Readme

Source

eslint-plugin-pegasus

pegasus

Tests npm version npm licence

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

Keywords

FAQs

Last updated on 12 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc