From cd06e4ae28458d538fe5c47bd177c30a74910535 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Wed, 30 Dec 2020 01:58:49 +0100 Subject: [PATCH 1/3] Add Mega-Linter in list of integrations Thanks for your nice linter, it works like a charm :) yamllint page in Mega-Linter documentation is here -> https://nvuillam.github.io/mega-linter/descriptors/yaml_yamllint/ Please notify me if you have any remark :) --- docs/integration.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/integration.rst b/docs/integration.rst index 75a1f0cc..58700213 100644 --- a/docs/integration.rst +++ b/docs/integration.rst @@ -70,3 +70,17 @@ You can configure yamllint to run on ``arc lint``. Here is an example } } } + +Integration with `Mega-Linter` +------------------------- + +``Mega-Linter`` runs yamllint amongst 70 linters out of the box. Here is an example of +``.mega-linter`` file if you want to only run yamllint + +.. code:: yaml + + --- + # Configuration file for Mega-Linter + # See all available variables at https://nvuillam.github.io/mega-linter/configuration/ and in linters documentation + + ENABLE_LINTERS: YAML_YAMLLINT From bcbe80010a86032563773da2424ebae790538b27 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Wed, 30 Dec 2020 02:10:24 +0100 Subject: [PATCH 2/3] Fix rst issues --- docs/integration.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/integration.rst b/docs/integration.rst index 58700213..0d5b10fe 100644 --- a/docs/integration.rst +++ b/docs/integration.rst @@ -71,11 +71,14 @@ You can configure yamllint to run on ``arc lint``. Here is an example } } -Integration with `Mega-Linter` -------------------------- +Integration with Mega-Linter +---------------------------- + +``Mega-Linter`` runs yamllint amongst 70 linters out of the box on any CI system (GitHub Actions, Jenkins & others). + +Installation instructions: https://nvuillam.github.io/mega-linter/ -``Mega-Linter`` runs yamllint amongst 70 linters out of the box. Here is an example of -``.mega-linter`` file if you want to only run yamllint +Here is an example of ``.mega-linter.yml`` configuration file if you want to only run yamllint .. code:: yaml From 73308a38dff370afd88688c33759d3dfdf15bdf6 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Wed, 30 Dec 2020 02:14:41 +0100 Subject: [PATCH 3/3] Sorry i'm more a markdown guy :p --- docs/integration.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/integration.rst b/docs/integration.rst index 0d5b10fe..51cc2c69 100644 --- a/docs/integration.rst +++ b/docs/integration.rst @@ -74,11 +74,13 @@ You can configure yamllint to run on ``arc lint``. Here is an example Integration with Mega-Linter ---------------------------- -``Mega-Linter`` runs yamllint amongst 70 linters out of the box on any CI system (GitHub Actions, Jenkins & others). +``Mega-Linter`` runs yamllint amongst 70 linters out of the box on +any CI system (GitHub Actions, Jenkins & others). Installation instructions: https://nvuillam.github.io/mega-linter/ -Here is an example of ``.mega-linter.yml`` configuration file if you want to only run yamllint +Here is an example of ``.mega-linter.yml`` configuration file if +you want to only run yamllint .. code:: yaml