Skip to content

Commit 2206b1e

Browse files
feat(ts): ignore imports for camel case rule
1 parent de20836 commit 2206b1e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/configs/typescript.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,12 @@ export async function typescript(
281281

282282
...(stylistic
283283
? {
284-
"camelcase": "error",
284+
"camelcase": [
285+
"error",
286+
{
287+
ignoreImports: true,
288+
},
289+
],
285290
"id-length": [
286291
"error",
287292
{

0 commit comments

Comments
 (0)