Skip to content

Commit

Permalink
Merge pull request #1571 from mightyiam/any-to-unknown
Browse files Browse the repository at this point in the history
chore(tests): convert an any to an unknown
  • Loading branch information
mightyiam committed May 27, 2024
2 parents 76b8c21 + 1184938 commit c4869b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/rules-to-consider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const rulesets: Array<[TSESLint.Linter.Plugin, string]> = [

const knownRules = new Map([
...eslintRules.entries(),
...rulesets.flatMap(([rules, pkgName]) => Object.entries(rules).map(([name, rule]) => [`${pkgName}/${name}`, rule] as const))
...rulesets.flatMap(([rules, pkgName]) => Object.entries(rules).map(([name, rule]) => [`${pkgName}/${name}`, rule as unknown] as const))
])

const notYetConsideredRules = [
Expand Down

0 comments on commit c4869b2

Please sign in to comment.