You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mdlcode extension for vscode allows to insert directives https://mdlcode.dev/docs/directives , sometimes they can be too long and sometimes they trigger the "X% valid code" error:
Line exceeds 132 characters; contains 143 characters (moodle.Files.LineLength.TooLong)
Inline comments must end in full-stops, exclamation marks, or question marks
This comment is 60% valid code; is this commented out code?
Mdlcode extension for vscode allows to insert directives https://mdlcode.dev/docs/directives , sometimes they can be too long and sometimes they trigger the "X% valid code" error:
Can we exclude the comments that start with "Mdlcode" from these checks? I can see that there are a couple of exceptions already:
https://github.com/moodlehq/moodle-cs/blob/main/moodle/Sniffs/Commenting/InlineCommentSniff.php#L296
https://github.com/moodlehq/moodle-cs/blob/main/moodle/Sniffs/Commenting/InlineCommentSniff.php#L438
Thanks in advance
The text was updated successfully, but these errors were encountered: