From 0117a6eef4414f66247595484a575baf288ba7b9 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Mon, 11 Feb 2019 22:09:50 +0100 Subject: [PATCH] :lipstick: awesome-lint --- .travis.yml | 3 +++ README.md | 17 +++++++++++------ package.json | 8 ++++++++ 3 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 .travis.yml create mode 100644 package.json diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f178ec0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - 'node' diff --git a/README.md b/README.md index e32f11a..0ee1177 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Awesome Prometheus alerting rules [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) +# Awesome Prometheus alerting rules [![Awesome](https://awesome.re/badge-flat.svg)](https://awesome.re) -

+

@@ -9,7 +9,12 @@ Collection available here: **[https://awesome-prometheus-alerts.grep.to](https://awesome-prometheus-alerts.grep.to)** -## Content +## Contents + +- [Rules](#rules) +- [Improvements](#improvements) + +## Rules - [Prometheus](https://awesome-prometheus-alerts.grep.to/rules#prometheus) - [Host](https://awesome-prometheus-alerts.grep.to/rules#host) @@ -41,11 +46,11 @@ Contributions for common alerting rules are most welcome! [Instructions here](CONTRIBUTING.md) -## Todo +## Improvements -- Create an alert rule builder in Jekyll for custom alerts (severity, thresholds, instances, ...) +- Create an alert rule builder in Jekyll for custom alerts (severity, thresholds, instances...) -# License +## License [![CC4](https://mirrors.creativecommons.org/presskit/cc.srr.primary.svg)](https://creativecommons.org/licenses/by/4.0/legalcode) diff --git a/package.json b/package.json new file mode 100644 index 0000000..1f697f1 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "scripts": { + "test": "awesome-lint" + }, + "devDependencies": { + "awesome-lint": "*" + } +}