Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@equinor/eslint-config-mad

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/eslint-config-mad

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

latest
npmnpm
Version
0.4.1
Version published
Maintainers
2
Created
Source

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:

  • 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
  • Add the following to your project ESLint config file:
{
    // ...
    root: true,
    parserOptions: {
        project: true
        tsconfigRootDir: __dirname,
      }
}

FAQs

Package last updated on 31 Jul 2024

Did you know?

Socket

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