Skip to content

Commit

Permalink
Disable no-unused-expressions for test files
Browse files Browse the repository at this point in the history
We want to use `to.be.true` instead of `to.be.equal(true)`, so we need
to disable the rule.
  • Loading branch information
nkuba committed Jan 4, 2024
1 parent e74ac48 commit cba01f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"rules": {
"@typescript-eslint/unbound-method": "off"
}
},
{
"files": ["*.test.ts"],
"rules": {
"@typescript-eslint/no-unused-expressions": "off"
}
}
]
}

0 comments on commit cba01f4

Please sign in to comment.