Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fdb02d33
Commit
fdb02d33
authored
Nov 19, 2020
by
Philippe Charrière
Committed by
Marcel Amirault
Nov 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation: Add the severity property
parent
143c0c66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
doc/user/project/merge_requests/code_quality.md
doc/user/project/merge_requests/code_quality.md
+2
-0
No files found.
doc/user/project/merge_requests/code_quality.md
View file @
fdb02d33
...
@@ -228,6 +228,7 @@ with the following properties:
...
@@ -228,6 +228,7 @@ with the following properties:
| ---------------------- | -------------------------------------------------------------------------------------- |
| ---------------------- | -------------------------------------------------------------------------------------- |
|
`description`
| A description of the code quality violation. |
|
`description`
| A description of the code quality violation. |
|
`fingerprint`
| A unique fingerprint to identify the code quality violation. For example, an MD5 hash. |
|
`fingerprint`
| A unique fingerprint to identify the code quality violation. For example, an MD5 hash. |
|
`severity`
| A severity string (can be
`info`
,
`minor`
,
`major`
,
`critical`
, or
`blocker`
). |
|
`location.path`
| The relative path to the file containing the code quality violation. |
|
`location.path`
| The relative path to the file containing the code quality violation. |
|
`location.lines.begin`
| The line on which the code quality violation occurred. |
|
`location.lines.begin`
| The line on which the code quality violation occurred. |
...
@@ -238,6 +239,7 @@ Example:
...
@@ -238,6 +239,7 @@ Example:
{
{
"description"
:
"'unused' is assigned a value but never used."
,
"description"
:
"'unused' is assigned a value but never used."
,
"fingerprint"
:
"7815696ecbf1c96e6894b779456d330e"
,
"fingerprint"
:
"7815696ecbf1c96e6894b779456d330e"
,
"severity"
:
"minor"
,
"location"
:
{
"location"
:
{
"path"
:
"lib/index.js"
,
"path"
:
"lib/index.js"
,
"lines"
:
{
"lines"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment