Unrecommended common module name (CommonModuleNameWords)¶
Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Code smell |
BSL |
Info |
Yes |
5 |
standard |
Parameters¶
Name | Type | Description | Default value |
---|---|---|---|
words |
String |
Unrecommended words |
процедуры|procedures|функции|functions|обработчики|handlers|модуль|module|функциональность|functionality |
Description¶
It is not recommended to use the words "Procedures", "Functions", "Handlers", "Module", "Functionality" in the name of the general module.
Examples¶
Sources¶
- Standard: Rules for creating common modules (RU)
Snippets¶
Diagnostic ignorance in code¶
// BSLLS:CommonModuleNameWords-off
// BSLLS:CommonModuleNameWords-on
Parameter for config¶
"CommonModuleNameWords": {
"words": "процедуры|procedures|функции|functions|обработчики|handlers|модуль|module|функциональность|functionality"
}