include-use-namespace
Always use a unique namespace when including a library
INFO
☑️ The predefined configuration "mslint:recommended"
enables this rule.
Rule details
This rule checks that all included files have a namespace and that the namespace is unique.
Example of incorrect code for this rule:
maniascript
#Include "Path/To/LibA.Script.txt" //< Missing namespace
#Include "Path/To/LibB.Script.txt" as LibB
#Include "Path/To/LibC.Script.txt" as LibB //< Duplicated namespace
Example of correct code for this rule:
maniascript
#Include "Path/To/LibA.Script.txt" as LibA
#Include "Path/To/LibB.Script.txt" as LibB
#Include "Path/To/LibC.Script.txt" as LibC