nestjs-opensearch-structured-logger-eslint-plugin
v0.0.1
Published
Validation for nestjs-opensearch-structured-logger from @raphaabreu.
Downloads
3
Maintainers
Readme
eslint-plugin-eslint-nestjs-opensearch-structured-logger
Validation for nestjs-opensearch-structured-logger from @raphaabreu.
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-eslint-nestjs-opensearch-structured-logger
:
npm install eslint-plugin-eslint-nestjs-opensearch-structured-logger --save-dev
Usage
Add eslint-nestjs-opensearch-structured-logger
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"eslint-nestjs-opensearch-structured-logger"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-nestjs-opensearch-structured-logger/rule-name": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.