@saberhq/eslint-config

3.3.1 • Public • Published

@saberhq/eslint-config

Saber 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"],
  parserOptions: {
    project: "tsconfig.json",
  },
};

Readme

Keywords

Package Sidebar

Install

npm i @saberhq/eslint-config

Weekly Downloads

710

Version

3.3.1

License

Apache-2.0

Unpacked Size

15 kB

Total Files

4

Last publish

Collaborators

  • simplyianm
  • shipcap