style/useNodeAssertStrict
style · since 1.6.0
Safe autofix
biome.json
{
"linter": {
"rules": {
"style": {
"useNodeAssertStrict": "error"
}
}
}
}import * as assert from "node:assert"import * as assert from "node:assert/strict"Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
style/useNodeAssertStrict
style · since 1.6.0
{
"linter": {
"rules": {
"style": {
"useNodeAssertStrict": "error"
}
}
}
}Require one executable GraphQL definition per file.
Discard redundant terms from logical expressions.
Require uppercase names for GraphQL enum values.
Use static Response methods instead of new Response() constructor when possible.