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
74fce67a
Commit
74fce67a
authored
Apr 07, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable Layout/SpaceAfterColon cop for HAML
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
09580cb6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
.haml-lint.yml
.haml-lint.yml
+0
-1
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+1
-1
app/views/shared/hook_logs/_content.html.haml
app/views/shared/hook_logs/_content.html.haml
+2
-2
No files found.
.haml-lint.yml
View file @
74fce67a
...
...
@@ -111,7 +111,6 @@ linters:
-
Layout/EmptyLineAfterGuardClause
-
Layout/LeadingCommentSpace
-
Layout/SpaceAfterColon
-
Layout/SpaceAfterComma
-
Layout/SpaceAroundOperators
-
Layout/SpaceBeforeBlockBraces
-
Layout/SpaceBeforeComma
...
...
app/views/projects/graphs/show.html.haml
View file @
74fce67a
...
...
@@ -5,4 +5,4 @@
=
render
'shared/ref_switcher'
,
destination:
'graphs'
=
link_to
s_
(
'Commits|History'
),
project_commits_path
(
@project
,
current_ref
),
class:
'btn gl-button btn-default'
.js-contributors-graph
{
class:
container_class
,
'data-project-graph-path'
:
project_graph_path
(
@project
,
current_ref
,
format: :json
),
'data-project-branch'
:
current_ref
}
.js-contributors-graph
{
class:
container_class
,
'data-project-graph-path'
:
project_graph_path
(
@project
,
current_ref
,
format: :json
),
'data-project-branch'
:
current_ref
}
app/views/shared/hook_logs/_content.html.haml
View file @
74fce67a
...
...
@@ -24,7 +24,7 @@
%h5
Request headers:
%pre
-
hook_log
.
request_headers
.
each
do
|
k
,
v
|
-
hook_log
.
request_headers
.
each
do
|
k
,
v
|
<strong>
#{
k
}
:
</strong>
#{
v
}
%br
...
...
@@ -34,7 +34,7 @@
#{
Gitlab
::
Json
.
pretty_generate
(
hook_log
.
request_data
)
}
%h5
Response headers:
%pre
-
hook_log
.
response_headers
.
each
do
|
k
,
v
|
-
hook_log
.
response_headers
.
each
do
|
k
,
v
|
<strong>
#{
k
}
:
</strong>
#{
v
}
%br
...
...
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