@betsys-eslint/eslint-config-nestjs

3.0.0 • Public • Published

Shows an illustrated sun in light color mode and a moon with stars in dark color mode.

@betsys-eslint/eslint-config-nestjs

Set of ESLint rules we use for our Nest.js code in TypeScript


Requirements

We recommend using Node.js v16 as we do not support lower version of Node.js.

Quick Start

Installing automatically

To install the configuration with all the necessary configuration changes, use the following:

npx @betsys-eslint/install config nestjs

To read more about our installation script visit: @betsys-eslint/install.
⚠️ This package currently works only with .eslintrc.json file. We plan to support other configuration files (.js and .yml) in the future.

Installing manually

To install the configuration manually, use the following:

npm install --save-dev @betsys-eslint/eslint-config-nestjs

after installation, add the configuration to you ESLint config:

{
  "overrides": [
    {
      files: ["*.ts"],
      // Locate configuration for your TS files
      "extends": [
        // ...
        "@betsys-eslint/nestjs"
      ]
    }
  ]
}

About the configuration

This configuration is based on our @betsys-eslint/eslint-config-typescript configuration.

Package Sidebar

Install

npm i @betsys-eslint/eslint-config-nestjs

Weekly Downloads

15

Version

3.0.0

License

MIT

Unpacked Size

5.7 kB

Total Files

6

Last publish

Collaborators

  • jakubschneller
  • andrejsoucek
  • flyrell