@equinor/eslint-config-mad

0.3.1 • Public • Published

Equinor MAD ESLint

This package includes all ESLint configurations used in the MAD Team at Equinor.

Config structure

The main package consists of multiple entrypoints:

  • base
  • react
  • typescript

These entrypoints can be be used individually or all together.

Installation

If you are using the default set of rules (@equinor/mad) or the @equinor/mad/typescript config, you need to first install and configure some prerequisites:

  1. Install the latest version of @typescript-eslint/eslint-plugin and @typescript-eslint/parser:
npm i @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest --save-dev
  1. Add the following to your project ESLint config file:
{
    // ...
    root: true,
    parserOptions: {
        project: true
        tsconfigRootDir: __dirname,
      }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @equinor/eslint-config-mad

Weekly Downloads

29

Version

0.3.1

License

MIT

Unpacked Size

7.1 kB

Total Files

8

Last publish

Collaborators

  • haakonsvane
  • dsven