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
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"
}