Projet

Général

Profil

Révision 7a00a8b5

ID7a00a8b53af0244ba38eda6304120f4c7565da74
Parent 84e0858b
Enfant 6a1a9c7c

Ajouté par Lars Kruse il y a plus de 5 ans

plugins/README: mention more style check tools

Voir les différences:

plugins/README.md
25 25
    * please avoid code copies - they are a maintenance burden
26 26
2. add [documentation](http://guide.munin-monitoring.org/en/latest/develop/documenting.html#plugin-documentation) including configuration, author, license and [magic markers](http://guide.munin-monitoring.org/en/latest/architecture/syntax.html#magic-markers)
27 27
3. pick a suitable [category](http://guide.munin-monitoring.org/en/latest/reference/graph-category.html)
28
5. use style check tools for the language of the plugin (e.g. `shellcheck` for shell and `flake8` for Python)
28
5. use style check tools for the language of the plugin (e.g. perl: `perlcritic`, shell: `shellcheck`, python: `flake8`, ruby: `rubocop`)
29 29
6. pick a suitable [name and location](#Plugin_name_and_location)
30 30
7. bonus:
31 31
    * use the [multigraph approach](http://guide.munin-monitoring.org/en/latest/plugin/multigraphing.html#plugin-multigraphing) for non-trivial plugins

Formats disponibles : Unified diff