Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stoplight/eslint-config

Package Overview
Dependencies
Maintainers
27
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/eslint-config

Shared Stoplight linting rules.

  • 1.1.0
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
increased by19.82%
Maintainers
27
Weekly downloads
 
Created
Source

Usage

Install

Including peer dependencies.

yarn add -D eslint \
  prettier \
  @typescript-eslint/parser \
  @typescript-eslint/eslint-plugin \
  eslint-plugin-jest \
  eslint-plugin-prettier \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  eslint-plugin-simple-import-sort \
  eslint-plugin-import \
  @stoplight/eslint-config
Setup

Create a .eslintrc.js file in the root of the repository with contents:

module.exports = {
  extends: ["@stoplight"],
};

Create a .prettierrc.js file in the root of the repository with contents:

module.exports = {
  ...require("@stoplight/eslint-config/prettier.config"),
};

FAQs

Package last updated on 31 Mar 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc