JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18504
  • Score
    100M100P100Q137500F
  • License MIT

Noir ESLint shareable config

Package Exports

  • eslint-config-noir
  • eslint-config-noir/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-noir) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-config-noir

Test Npm Version License Pull Requests Known Vulnerabilities Npm Total Downloads Npm Monthly Downloads Github Stars Github Forks

Noir ESLint shareable config.

Installation

You'll first need to install ESLint:

npm i -D eslint

Next, install eslint-config-noir:

npm i -D eslint-config-noir

Usage

Add noir to the extends section of your .eslintrc configuration file. You can omit the eslint-config- prefix:

{
  "extends": [
    "eslint:recommended",
    "noir"
  ]
}

With Import support:

You'll first need to install Import ESLint Plugin.

{
  "extends": [
    "eslint:recommended",
    "noir",
    "plugin:@typescript-eslint/recommended",
    "plugin:import/recommended",
    "noir/import"
  ]
}

With TypeScript support:

You'll first need to install TypeScript ESLint.

{
  "extends": [
    "eslint:recommended",
    "noir",
    "plugin:@typescript-eslint/recommended",
    "noir/typescript"
  ]
}

Or all of the configs at once:

{
  "extends": "noir/all"
}