Skip to content

Commit

Permalink
fix: pushing docs to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
darraghoriordan committed Feb 2, 2025
1 parent 3210a0b commit acbb460
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,11 @@ For ESlint 8 I export the old style config in the "classicConfig" export.
I believe it would work something like this...

```ts
import {
classicPlugin,
} from "@darraghor/eslint-plugin-nestjs-typed";

import {classicPlugin} from "@darraghor/eslint-plugin-nestjs-typed";

module.exports = {
plugins: [
classicPlugin,
],
plugins: [classicPlugin],
};

```

## Injectables rule scans everything
Expand All @@ -201,11 +195,12 @@ Note: You can easily turn off all the swagger rules if you don't use swagger by

```ts
// all the other config
extends: ["plugin:@darraghor/nestjs-typed/recommended",
"plugin:@darraghor/nestjs-typed/no-swagger"
extends: [
"plugin:@darraghor/nestjs-typed/recommended",
"plugin:@darraghor/nestjs-typed/no-swagger"
],
// more config
````
```

## Disabling a rule

Expand Down

0 comments on commit acbb460

Please sign in to comment.