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

@instacart/eslint-config

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instacart/eslint-config

Instacart's ESLint configuration

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.6K
increased by41.55%
Maintainers
5
Weekly downloads
 
Created
Source

@instacart/eslint-plugin

NPM version

Instacart's shared ESLint configuration.

Installation

$ yarn add --dev @instacart/eslint-config

Usage

To use all of the eslint rules, simply extend the package (@instacart/eslint-config). This includes rules for TypeScript and integration with Prettier.

// .eslintrc.js
module.exports = {
  extends: ['@instacart/eslint-config'],
}

The package allows for selective use by exposing the following configs to extend:

  • @instacart/eslint-config/core (required) - core eslint rules for all projects
  • @instacart/eslint-config/react - rules from eslint-plugin-react, eslint-plugin-react-hooks and eslint-plugin-jsx-a11y
  • @instacart/eslint-config/typescript - sets up overrides for .ts/.tsx files using the parser and rules from typescript-eslint
  • @instacart/eslint-config/prettier - extends the prettier rule configurations to disable the appropriate eslint rules and adds the prettier plugin for integration with eslint https://prettier.io/

FAQs

Package last updated on 22 Feb 2021

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