Plugins, smurfs, style linting and checking.

Plugins, smurfs, style linting and checking.

by Gareth J Barnard -
Number of replies: 4
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

I like the new plugin checks that are performed as a part of the update / upload a plugin process on the plugins db as it drives quality.  However I have generated 'minimal' CSS files and would like a means of excluding them from the checks, i.e: https://moodle.org/plugins/pluginversion.php?id=13587&smurf=html#css with the CSS files of 'line 4'.  Is there a way please?  As it makes Essential look far worse than it actually is! smile

Average of ratings: -
In reply to Gareth J Barnard

Re: Plugins, smurfs, style linting and checking.

by David Mudrák -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

In exceptional cases when the stylelint raises errors which you intentionally want to have, you can use a command to explicitly skip certain checks.

Please refer to how moodle core themes use

/* stylelint-disable ... */
Average of ratings: Useful (3)