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
2d92a23a
Commit
2d92a23a
authored
May 06, 2020
by
Sean McGivern
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'json-cop-autocorrects' into 'master'
Enable Gitlab/Json cop See merge request gitlab-org/gitlab!30630
parents
d5cbed29
40cc60eb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
.rubocop.yml
.rubocop.yml
+3
-1
app/views/import/google_code/new_user_map.html.haml
app/views/import/google_code/new_user_map.html.haml
+1
-1
app/views/shared/hook_logs/_content.html.haml
app/views/shared/hook_logs/_content.html.haml
+1
-1
No files found.
.rubocop.yml
View file @
2d92a23a
...
@@ -212,11 +212,13 @@ Gitlab/HTTParty:
...
@@ -212,11 +212,13 @@ Gitlab/HTTParty:
-
'
ee/spec/**/*'
-
'
ee/spec/**/*'
Gitlab/Json
:
Gitlab/Json
:
Enabled
:
fals
e
Enabled
:
tru
e
Exclude
:
Exclude
:
-
'
db/**/*'
-
'
db/**/*'
-
'
qa/**/*'
-
'
qa/**/*'
-
'
scripts/**/*'
-
'
scripts/**/*'
-
'
lib/rspec_flaky/**/*'
-
'
lib/quality/**/*'
GitlabSecurity/PublicSend
:
GitlabSecurity/PublicSend
:
Enabled
:
true
Enabled
:
true
...
...
app/views/import/google_code/new_user_map.html.haml
View file @
2d92a23a
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
.form-group.row
.form-group.row
.col-sm-12
.col-sm-12
=
text_area_tag
:user_map
,
JSON
.
pretty_generate
(
@user_map
),
class:
'form-control'
,
rows:
15
=
text_area_tag
:user_map
,
Gitlab
::
Json
.
pretty_generate
(
@user_map
),
class:
'form-control'
,
rows:
15
.form-actions
.form-actions
=
submit_tag
_
(
'Continue to the next step'
),
class:
"btn btn-success"
=
submit_tag
_
(
'Continue to the next step'
),
class:
"btn btn-success"
app/views/shared/hook_logs/_content.html.haml
View file @
2d92a23a
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
%h5
Request body:
%h5
Request body:
%pre
%pre
:escaped
:escaped
#{
JSON
.
pretty_generate
(
hook_log
.
request_data
)
}
#{
Gitlab
::
Json
.
pretty_generate
(
hook_log
.
request_data
)
}
%h5
Response headers:
%h5
Response headers:
%pre
%pre
-
hook_log
.
response_headers
.
each
do
|
k
,
v
|
-
hook_log
.
response_headers
.
each
do
|
k
,
v
|
...
...
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