security/noSecrets
security · since 1.9.0
No autofix
biome.json
{
"linter": {
"rules": {
"security": {
"noSecrets": "error"
}
}
}
}const secret = "AKIA1234567890EXAMPLE";const nonSecret = "hello world";Examples from the Biome documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
ESLint does not have this rule.
Oxlint does not have this rule.
security/noSecrets
security · since 1.9.0
{
"linter": {
"rules": {
"security": {
"noSecrets": "error"
}
}
}
}Disallow dependencies that are known to have better alternatives.
Disallow nesting a cascade layer inside a layer with the same name.
Disallow animation and transition times that are shorter than a configured minimum.
Disallow destructuring props inside JSX components in Solid projects.