eslint-config-noir
v1.5.2
Published
Noir ESLint shareable config
Downloads
23
Maintainers
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"
}