Révision 7a00a8b5
plugins/README: mention more style check tools
| 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