Skip to content

Commit

Permalink
fix(no-extraneous-dependencies): correct some Options type properties
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalexiei committed Nov 2, 2024
1 parent 3a45170 commit c375696
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/witty-apples-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-import-x": patch
---

fix(no-extraneous-dependencies): correct some `Options` type properties
8 changes: 4 additions & 4 deletions src/rules/no-extraneous-dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,10 @@ function testConfig(config: string[] | boolean | undefined, filename: string) {

type Options = {
packageDir?: string | string[]
devDependencies?: boolean
optionalDependencies?: boolean
peerDependencies?: boolean
bundledDependencies?: boolean
devDependencies?: boolean | string[]
optionalDependencies?: boolean | string[]
peerDependencies?: boolean | string[]
bundledDependencies?: boolean | string[]
includeInternal?: boolean
includeTypes?: boolean
whitelist?: string[]
Expand Down

0 comments on commit c375696

Please sign in to comment.