Skip to content

Commit

Permalink
disable crashing rules
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Dec 16, 2023
1 parent 37cd1b5 commit d0825a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/builders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ export class BomBuilder {

// region components

/* eslint "@typescript-eslint/no-unsafe-argument": "off"
--------
this rule would cause eslint to run into issues with max recursion depth
see https://github.com/typescript-eslint/typescript-eslint/issues/7298 */
bom.components = this.nestComponents(
// remove rootComponent - so the elements that are nested below it are just returned.
new Map(Array.from(allComponents.entries()).filter(([, c]) => c !== rootComponent)),
Expand Down

0 comments on commit d0825a1

Please sign in to comment.