naming-convention-function
Enforce naming convention on functions
INFO
☑️ The predefined configuration "mslint:recommended"
enables this rule.
Rule details
This rule enforces a few naming conventions for function and parameter names:
- All function names must start with an uppercase letter
- All function parameter names must start with an underscore and be followed by uppercase letter
Example of incorrect code for this rule:
maniascript
Void functionA() {}
Void _FunctionB() {}
Void FunctionC(Integer ParamC) {}
Void FunctionD(Integer _paramD) {}
Void FunctionE(Integer paramE) {}
Example of correct code for this rule:
maniascript
Void FunctionA() {}
Void FunctionB() {}
Void FunctionC(Integer _ParamC) {}
Void FunctionD(Integer _ParamD) {}
Void FunctionE(Integer _ParamE) {}