Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Code smell |
BSL OS |
Major |
No |
1 |
design |
Name | Type | Description | Default value |
---|---|---|---|
badWords |
String |
Regular expression for prohibited words. |
`` |
Software modules should not contain prohibited words. The list of forbidden words is set by a regular expression. The search is case-insensitive.
For example:
"singularity|avada kedavra|Donald"
"transcenden(tal|ce)"
// BSLLS:BadWords-off
// BSLLS:BadWords-on
"BadWords": {
"badWords": ""
}