include-use-common-namespace
Always use the same common namespaces for the standard libraries
INFO
☑️ The predefined configuration "mslint:recommended"
enables this rule.
Rule details
This rule enforces the use of particular namespaces when including common libraries.
MathLib
must useML
TextLib
must useTL
MapUnits
must useMU
AnimLib
must useAL
TimeLib
must useTiL
ColorLib
must useCL
Example of incorrect code for this rule:
maniascript
#Include "MathLib" as A
#Include "TextLib" as B
#Include "MapUnits" as C
#Include "AnimLib" as D
#Include "TimeLib" as E
#Include "ColorLib" as F
Example of correct code for this rule:
maniascript
#Include "MathLib" as ML
#Include "TextLib" as TL
#Include "MapUnits" as MU
#Include "AnimLib" as AL
#Include "TimeLib" as TiL
#Include "ColorLib" as CL