Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Sep 10, 2022
1 parent 8f6a402 commit de63782
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/rule-notices.ts
Expand Up @@ -29,8 +29,6 @@ function getConfigsForRule(ruleName: string) {

for (configName in configs) {
const config = configs[configName];
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- we don't have a static type for rule names
// @ts-ignore
const value = config.rules[`jest/${ruleName}`];
const isEnabled = [2, 'error'].includes(value);

Expand Down

0 comments on commit de63782

Please sign in to comment.