@saberhq/eslint-config-react

3.4.3 • Public • Published

@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",
  },
};

/@saberhq/eslint-config-react/

    Package Sidebar

    Install

    npm i @saberhq/eslint-config-react

    Weekly Downloads

    14

    Version

    3.4.3

    License

    Apache-2.0

    Unpacked Size

    13.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • simplyianm
    • shipcap