Skip to content

Commit

Permalink
fix(no-extraneous-dependencies): correct some Options type properti…
Browse files Browse the repository at this point in the history
…es (#174)
  • Loading branch information
marcalexiei authored Nov 10, 2024
1 parent acebd98 commit e01dce0
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 e01dce0

Please sign in to comment.