0.2.1 • Published 1 year ago

@trilon/eslint-plugin v0.2.1

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

Trilon ESLint Plugin

Apache-2.0 license



Node.js CI

At Trilon, our goal is to help elevate teams - giving them the push they need to continuously succeed in today's ever-changing tech world.

As part of that, we focus on developing tools that make your dev experience easier, enjoyable, and safer.

The official Trilon ESLint Plugin is part of that toolbelt to help your team to thrive, applying best practices for NestJS, curated by our key contributors and core team.

Installation

npm install @trilon/eslint-plugin

And add these the plugin to your .eslintrc:

{
  plugins: ['@trilon/eslint-plugin'],
  extends: ['plugin:@trilon/recommended'],
}

The "recommended" preset contains the rules listed below. If you need custom configuration, please refer to the documentation of the individual linting rules.

Rules

RuleDescriptionType
@trilon/enforce-close-testing-moduleEnsures NestJS testing modules are closed properly after testsRecommended ✅
@trilon/check-inject-decoratorDetects incorrect usage of @Inject(TOKEN) decoratorRecommended ✅
@trilon/detect-circular-referenceDetects usage of forwardRef() methodRecommended ✅
@trilon/enforce-custom-provider-typeEnforces a styleguide for provider typesStrict ⚠️

Trilon Consulting

JavaScript, Node, NestJS Consulting from Open-Source Fanatics and Key Contributors!

Check out Trilon.io for more info!

Contact us at hello@trilon.io, and let's talk about your projects needs.

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago