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
ebffdefb
Commit
ebffdefb
authored
May 14, 2021
by
mfluharty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document change to default_enabled: true in 13.12
Replace enabling instructions with disabling ones
parent
2ee29ad8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
doc/user/project/merge_requests/code_quality.md
doc/user/project/merge_requests/code_quality.md
+4
-3
No files found.
doc/user/project/merge_requests/code_quality.md
View file @
ebffdefb
...
...
@@ -53,20 +53,21 @@ See also the Code Climate list of [Supported Languages for Maintainability](http
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/267612) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 13.11.
> - [Deployed behind a feature flag](../../../user/feature_flags.md), disabled by default.
> - [Enabled by default](https://gitlab.com/gitlab-org/gitlab/-/issues/284140) in GitLab 13.12.
Changes to files in merge requests can cause Code Quality to fall if merged. In these cases,
an indicator is displayed (
**{information-o}**
**Code Quality**
) on the file in the merge request's diff view. For example:
![
Code Quality MR diff report
](
img/code_quality_mr_diff_report_v13_11.png
)
To
en
able this feature, a GitLab administrator can run the following in a
To
dis
able this feature, a GitLab administrator can run the following in a
[
Rails console
](
../../../administration/operations/rails_console.md
)
:
```
ruby
# For the instance
Feature
.
en
able
(
:codequality_mr_diff
)
Feature
.
dis
able
(
:codequality_mr_diff
)
# For a single project
Feature
.
en
able
(
:codequality_mr_diff
,
Project
.
find
(
<
project
id
>
))
Feature
.
dis
able
(
:codequality_mr_diff
,
Project
.
find
(
<
project
id
>
))
```
## Use cases
...
...
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