This changes the avoid-unnecessary-command eslint rule to run on any instance of CallExpressions (i.e. after an await expression or when passed as a parameter to a function or when the resulting promise is assigned to a variable) and also makes it so the rule works on commands with a / before the command.
This changes the avoid-unnecessary-command eslint rule to run on any instance of CallExpressions (i.e. after an
await
expression or when passed as a parameter to a function or when the resulting promise is assigned to a variable) and also makes it so the rule works on commands with a/
before the command.Merging this will close issue: https://github.com/Mojang/minecraft-scripting-libraries/issues/12