Skip to content

Commit 29240ab

Browse files
committed
Better wording about hadolint ignore
1 parent 3e3e3e6 commit 29240ab

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/contributing/lint.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ The following rules are ignored by default for all images in the `.hadolint.yaml
5959
- [`DL3013`][dl3013]: We always install the latest packages using `pip`
6060

6161
The preferred way to ignore other rules is to flag them in the `Dockerfile`.
62-
63-
> It is also possible to ignore rules by using a special comment directly above the Dockerfile instruction you want to make an exception for.
64-
> Ignore rule comments look like `# hadolint ignore=DL3001,SC1081`.
65-
> For example:
62+
You can use a special comment directly above the Dockerfile instruction you want to make an exception for.
63+
Ignore rule comments look like `# hadolint ignore=DL3001,SC1081`.
64+
For example:
6665

6766
```dockerfile
6867
FROM ubuntu

0 commit comments

Comments
 (0)