Modify rule S6953, S7021: Fix MQR inconsistencies (#4705)
This commit is contained in:
parent
67416c1eec
commit
1060d8a1b4
@ -16,7 +16,8 @@
|
|||||||
"quickfix": "unknown",
|
"quickfix": "unknown",
|
||||||
"code": {
|
"code": {
|
||||||
"impacts": {
|
"impacts": {
|
||||||
"RELIABILITY": "MEDIUM"
|
"RELIABILITY": "MEDIUM",
|
||||||
|
"MAINTAINABILITY": "MEDIUM"
|
||||||
},
|
},
|
||||||
"attribute": "CONVENTIONAL"
|
"attribute": "CONVENTIONAL"
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,8 @@
|
|||||||
"quickfix": "unknown",
|
"quickfix": "unknown",
|
||||||
"code": {
|
"code": {
|
||||||
"impacts": {
|
"impacts": {
|
||||||
"RELIABILITY": "MEDIUM"
|
"RELIABILITY": "MEDIUM",
|
||||||
|
"MAINTAINABILITY": "MEDIUM"
|
||||||
},
|
},
|
||||||
"attribute": "CONVENTIONAL"
|
"attribute": "CONVENTIONAL"
|
||||||
}
|
}
|
||||||
|
@ -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[]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user