Plugins traffic

Plugins, smurfs, style linting and checking.

 
Gareth J Barnard
Plugins, smurfs, style linting and checking.
Group Core developersGroup Particularly helpful MoodlersGroup 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: -
Picture of David Mudrák
Re: Plugins, smurfs, style linting and checking.
Group Core developersGroup Documentation writersGroup Moodle HQGroup Particularly helpful MoodlersGroup Plugin developersGroup Plugins guardiansGroup TestersGroup 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)
Gareth J Barnard
Re: Plugins, smurfs, style linting and checking.
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developers

Thanks David smile

 
Average of ratings: -
Dan at desk in Moodle HQ, Perth
Re: Plugins, smurfs, style linting and checking.
Group Core developersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup Plugin developersGroup Testers

Related docs link about how to disable on all of the checks: https://docs.moodle.org/dev/Linting

 
Average of ratings: Useful (3)
Gareth J Barnard
Re: Plugins, smurfs, style linting and checking.
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developers

Thanks Dan smile

 
Average of ratings: -