Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.92 KB

CommonModuleNameWords.md

File metadata and controls

40 lines (28 loc) · 1.92 KB

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 `процедуры

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"
}