@saberhq/eslint-config-react

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

Readme

Keywords

Package Sidebar

Install

npm i @saberhq/eslint-config-react

Weekly Downloads

340

Version

3.3.1

License

Apache-2.0

Unpacked Size

13.6 kB

Total Files

4

Last publish

Collaborators

  • simplyianm
  • shipcap