Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.13 KB

CommandModuleExportMethods.md

File metadata and controls

30 lines (20 loc) · 1.13 KB

Export methods in command and general command modules (CommandModuleExportMethods)

Type Scope Severity Activated
by default
Minutes
to fix
Tags
Code smell BSL Info Yes 1 standard
clumsy

Description

You should not place export methods in command and General command modules. You can't access these modules from code external to them, so export methods in these modules do not make sense.

Sources

Snippets

Diagnostic ignorance in code

// BSLLS:CommandModuleExportMethods-off
// BSLLS:CommandModuleExportMethods-on

Parameter for config

"CommandModuleExportMethods": false