Modify rule S6953, S7021: Fix MQR inconsistencies (#4705)

This commit is contained in:
Jonas Wielage 2025-02-26 09:40:40 +01:00 committed by GitHub
parent 67416c1eec
commit 1060d8a1b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,8 @@
"quickfix": "unknown", "quickfix": "unknown",
"code": { "code": {
"impacts": { "impacts": {
"RELIABILITY": "MEDIUM" "RELIABILITY": "MEDIUM",
"MAINTAINABILITY": "MEDIUM"
}, },
"attribute": "CONVENTIONAL" "attribute": "CONVENTIONAL"
} }

View File

@ -16,7 +16,8 @@
"quickfix": "unknown", "quickfix": "unknown",
"code": { "code": {
"impacts": { "impacts": {
"RELIABILITY": "MEDIUM" "RELIABILITY": "MEDIUM",
"MAINTAINABILITY": "MEDIUM"
}, },
"attribute": "CONVENTIONAL" "attribute": "CONVENTIONAL"
} }

View File

@ -5,6 +5,7 @@
The `WORKDIR` instruction defines the working directory for any `RUN`, `CMD`, `ENTRYPOINT`, `COPY`, and `ADD` instructions that follow in the Dockerfile. + The `WORKDIR` instruction defines the working directory for any `RUN`, `CMD`, `ENTRYPOINT`, `COPY`, and `ADD` instructions that follow in the Dockerfile. +
Using absolute paths helps to avoid any confusion or unexpected behavior that could arise, for example after changing the current directory in one of the previous instructions. Using absolute paths helps to avoid any confusion or unexpected behavior that could arise, for example after changing the current directory in one of the previous instructions.
== How to fix it == How to fix it
=== Code examples === Code examples
@ -49,4 +50,4 @@ Use an absolute path instead of this relative path when defining the WORKDIR.
Highlight the relative path in the WORKDIR instruction. Highlight the relative path in the WORKDIR instruction.
''' '''
endif::env-github,rspecator-view[] endif::env-github,rspecator-view[]