From 386ad69aae07814df731586cd9e8cd8bcf7fd26a Mon Sep 17 00:00:00 2001 From: mil7 <49973666+mil7@users.noreply.github.com> Date: Thu, 23 Jul 2020 14:55:56 +0200 Subject: [PATCH 1/3] fix disabling-linters dokumentation Fix link to #closure Everything after #clojure chapter was not properly defined (anymore) --- docs/disabling-linters.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index 858966a0..68184302 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -39,6 +39,7 @@ For some linters it is also possible to override rules on a case by case level w - [Kotlin](#kotlin) - [OpenAPI](#openapi) - [Protocol Buffers](#protocol-buffers) +- [Clojure](#clojure) - [EDITORCONFIG-CHECKER](#editorconfig-checker) - [HTML](#html) @@ -946,8 +947,9 @@ lint: ### clj-kondo disable entire file -````clojure +```clojure {:output {:exclude-files ["path/to/file"]}} +``` ## EDITORCONFIG-CHECKER - [editorconfig-checker](https://github.com/editorconfig-checker/editorconfig-checker) @@ -1003,4 +1005,3 @@ lint: ### htmlhint disable entire file - There is currently **No** way to disable rules in an entire file -```` From dd20279eae2528af80ebeca0567e21de45544ecb Mon Sep 17 00:00:00 2001 From: mil7 <49973666+mil7@users.noreply.github.com> Date: Thu, 23 Jul 2020 16:25:23 +0200 Subject: [PATCH 2/3] Fix horizontal line --- docs/disabling-linters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index 68184302..31864c8b 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -954,7 +954,7 @@ lint: ## EDITORCONFIG-CHECKER - [editorconfig-checker](https://github.com/editorconfig-checker/editorconfig-checker) --------------------------------------------------------------------------------- +--- ### editorconfig-checker Config file - `.github/linters/.ecrc` From 7d07c7e2b2dd3ccbe44be6a5de03ea9a195d46f9 Mon Sep 17 00:00:00 2001 From: mil7 <49973666+mil7@users.noreply.github.com> Date: Thu, 23 Jul 2020 16:26:48 +0200 Subject: [PATCH 3/3] Delete surplus horizonal line --- docs/disabling-linters.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index 31864c8b..491f76bc 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -954,8 +954,6 @@ lint: ## EDITORCONFIG-CHECKER - [editorconfig-checker](https://github.com/editorconfig-checker/editorconfig-checker) ---- - ### editorconfig-checker Config file - `.github/linters/.ecrc` - This linter will also use the [`.editorconfig`](https://editorconfig.org/) of your project