Skip to content

Global module with postfix "Client" (CommonModuleNameGlobalClient)

Type Scope Severity Activated
by default
Minutes
to fix
Tags
Code smell BSL Major Yes 5 standard

Description

For global modules, the "Global" (rus. "Глобальный") postfix is added , "Client" postfix should not be added.

Examples

Incorrect: InfobaseUpdateGlobalClient

Correct: InfobaseUpdateGlobal

Sources

Standard: Modules (RU)

Snippets

Diagnostic ignorance in code

// BSLLS:CommonModuleNameGlobalClient-off
// BSLLS:CommonModuleNameGlobalClient-on

Parameter for config

"CommonModuleNameGlobalClient": false