Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit e39a281

Browse files
authored
Disable "unsafe-*" rules in test files
1 parent 974c849 commit e39a281

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ module.exports = {
1515
// Loosen types a bit to facilitate testing
1616
"@typescript-eslint/no-explicit-any": "off",
1717
"@typescript-eslint/no-unsafe-argument": "off",
18+
"@typescript-eslint/no-unsafe-member-access": "off",
19+
"@typescript-eslint/no-unsafe-call": "off",
20+
"@typescript-eslint/no-unsafe-assignment": "off",
21+
"@typescript-eslint/no-unsafe-return": "off",
1822
"@typescript-eslint/no-non-null-assertion": "off",
1923

2024
// Tests can import any file

0 commit comments

Comments
 (0)