1.5.2 • Published 2 years ago
eslint-config-noir v1.5.2
eslint-config-noir
Noir ESLint shareable config.
Installation
You'll first need to install ESLint:
npm i -D eslintNext, install eslint-config-noir:
npm i -D eslint-config-noirUsage
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"
}