Socket
Socket
Sign inDemoInstall

@saberhq/eslint-config-react

Package Overview
Dependencies
265
Maintainers
2
Versions
175
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @saberhq/eslint-config-react

Saber base React ESLint config


Version published
Weekly downloads
352
decreased by-17.18%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

@saber-hq/eslint-config-react

Saber React ESLint config.

Installation

With Plug-n-Play (PNP)

ESLint has issues with PNP. First, install the following:

yarn add -D eslint eslint-import-resolver-node eslint-plugin-import @rushstack/eslint-patch

Then, in your .eslintrc.js, add:

"use strict";

require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
  extends: ["@saberhq/eslint-config-react"],
  parserOptions: {
    project: "tsconfig.json",
  },
};

Keywords

FAQs

Last updated on 28 Sep 2022

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