Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 2.4 KB

CommonModuleInvalidType.md

File metadata and controls

41 lines (28 loc) · 2.4 KB

Common module invalid type (CommonModuleInvalidType)

Type Scope Severity Activated
by default
Minutes
to fix
Tags
Error BSL Major Yes 5 standard
unpredictable
design

Description

When developing common modules, you should choose one of four code execution contexts:

Common module type Naming example Server call Server External connection Client (Ordinary application) Client (Managed application)
Server-side Common (or CommonServer)   + + +  
Server-side to call from client CommonServerCall + +      
Client-side CommonClient (or CommonGlobal)       + +
Client-server CommonClientServer   + + + +

Examples

Sources

Snippets

Diagnostic ignorance in code

// BSLLS:CommonModuleInvalidType-off
// BSLLS:CommonModuleInvalidType-on

Parameter for config

"CommonModuleInvalidType": false