Skip to content

Commit 780fa7d

Browse files
committed
chore: eslint config updates
1 parent 34ccd8a commit 780fa7d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.config/eslint.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ export default tseslint.config(
4040
argsIgnorePattern: "^_",
4141
},
4242
],
43+
"@typescript-eslint/restrict-template-expressions": [
44+
"error",
45+
{
46+
allow: [{ name: ["Error", "URL", "URLSearchParams"], from: "lib" }],
47+
allowAny: true,
48+
allowBoolean: true,
49+
allowNullish: true,
50+
allowNumber: true,
51+
allowRegExp: true,
52+
},
53+
],
4354
},
4455
},
4556
// Test file specific rules

0 commit comments

Comments
 (0)