From 1ea66c1dd2c858a07c8062ff796b1d3eddc1373b Mon Sep 17 00:00:00 2001 From: Lukas Gravley Date: Thu, 8 Oct 2020 09:22:17 -0500 Subject: [PATCH] adding rules --- docs/disabling-linters.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index eafbf798..280c27d6 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -315,7 +315,13 @@ analyzer: ### Hadolint disable single line -- There is currently **No** way to disable rules inline of the file(s) +```dockerfile +# hadolint ignore=DL3006 +FROM ubuntu + +# hadolint ignore=DL3003,SC1035 +RUN cd /tmp && echo "hello!" +``` ### Hadolint disable code block