0.0.1 • Published 1 month ago

nestjs-opensearch-structured-logger-eslint-plugin v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 month ago

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.