Skip to content

no-now-class-member

Now class member are deprecated in favor of the Now language keyword

INFO

☑️ The predefined configuration "mslint:recommended" enables this rule.

Rule details

This rule prohibits the use of the Now class member in favor of the Now keyword.

Example of incorrect code for this rule:

maniascript
main() {
  This.Now;
}

Example of correct code for this rule:

maniascript
main() {
  Now;
}

Resources