moodle-cs icon indicating copy to clipboard operation
moodle-cs copied to clipboard

Consider creating a new "moodle-for-plugins" standard

Open stronk7 opened this issue 1 year ago • 7 comments

Commented @ #91 maybe it would be nice to have a new standard, similar to the moodle-extra one for easier use by tools that are checking plugins and not core, namely CiBoT and moodle-plugin-ci.

That way, each time that we introduce a new Sniff in the "moodle" standard, if it's not suitable for plugins, we just can disable it in the new moodle-for-plugins standard and done. Or modify any behaviour (error vs warning), or whatever.

Right now, when those exceptions happen, we have to create issues like:

  • CiBoT: https://github.com/moodlehq/moodle-local_ci/issues/289
  • moodle-plugin-ci: https://github.com/moodlehq/moodle-plugin-ci/issues/266

And set a custom configuration there, that is slow and hard.

Instead, if we create the new standard for plugins, everything will work automagically, the tools just will use that standard and done.

Disclaimer: the moodle-for-plugins name is not a proposal, just the concept, heh.

stronk7 avatar Jan 17 '24 17:01 stronk7