Skip to content

Commit

Permalink
chore: update biomejs config
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>
  • Loading branch information
sairanjit committed Feb 5, 2025
1 parent 5e857e3 commit bcfce21
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"correctness": {
"noUnusedImports": "error",
"noUndeclaredDependencies": "error",
"noUndeclaredDependencies": "warn",
"noInvalidUseBeforeDeclaration": "error"
},
"suspicious": {
Expand All @@ -63,8 +63,7 @@
"packages/*": "using imports from packages/* is not allowed"
}
}
},
"useImportRestrictions": "error"
}
}
}
},
Expand Down Expand Up @@ -103,6 +102,29 @@
}
}
}
},
{
"include": [
"*.test.ts",
"**/__tests__/**",
"jest.*.ts",
"samples/**",
"demo/**",
"demo-openid/**",
"scripts/**",
"**/tests/**",
"tests/**"
],
"linter": {
"rules": {
"correctness": {
"noUndeclaredDependencies": "off"
},
"nursery": {
"useImportRestrictions": "off"
}
}
}
}
]
}

0 comments on commit bcfce21

Please sign in to comment.