Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vcita/eslint-config-nestjs

Package Overview
Dependencies
Maintainers
19
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vcita/eslint-config-nestjs

Repository containing ESLint rules for vcita NestJS services

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
19
Created
Source

Node Package - eslint-config-nestjs

Overview

This package contains the eslint configuration for vCita's Node.js services implemented by NestJS framework. This package is to be maintained using the Package Maintainers guidelines.

Installation and usage

  1. Install the package as a dev dependency:
    npm install --save-dev @vcita/eslint-config-nestjs
    
  2. Install the package's peer dependencies, which can be seen by running the following command:
    npm info @vcita/eslint-config-nestjs peerDependencies
    
  3. Create a .eslintrc.js file in the root of your project with the following content:
    module.exports = {
        extends: [
            '@vcita/eslint-config-nestjs',
        ],
    };
    
    or add '@vcita/eslint-config-nestjs' to the 'extends' array in your existing .eslintrc.js file.

Included rules

The following ESLint rule sets are included:

  • TypeScript ESLint recommended rule set: @typescript-eslint/recommended
  • Airbnb base rule set: airbnb-base
  • Airbnb TypeScript enhancement: airbnb-typescript/base
  • Prettier rule set: prettier/recommended

Additional rules are included:

  • Line length limitation rules
  • Disabling of default export rule
  • Rule disallowing the usage of Cron, Interval and Timeout method decorators

FAQs

Package last updated on 11 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc