Plugins traffic

Plugins, smurfs, style linting and checking.

 
Gareth J Barnard
Plugins, smurfs, style linting and checking.
Core developersParticularly helpful MoodlersPlugin 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.
Core developersDocumentation writersMoodle HQParticularly helpful MoodlersPlugin developersPlugins guardiansTestersTranslators

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.
Core developersParticularly helpful MoodlersPlugin developers

Thanks David smile

 
Average of ratings: -
Dan at desk in Moodle HQ, Perth
Re: Plugins, smurfs, style linting and checking.
Core developersMoodle Course Creator Certificate holdersMoodle HQPlugin developersTesters

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.
Core developersParticularly helpful MoodlersPlugin developers

Thanks Dan smile

 
Average of ratings: -