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
be299115
Commit
be299115
authored
Apr 10, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable Style/Semicolon in Rubocop for HAML
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
9b6dd658
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
.haml-lint.yml
.haml-lint.yml
+0
-1
app/views/layouts/_flash.html.haml
app/views/layouts/_flash.html.haml
+1
-1
app/views/shared/blob/_markdown_buttons.html.haml
app/views/shared/blob/_markdown_buttons.html.haml
+1
-1
No files found.
.haml-lint.yml
View file @
be299115
...
...
@@ -141,7 +141,6 @@ linters:
-
Style/ParenthesesAroundCondition
-
Style/RedundantParentheses
-
Style/SelfAssignment
-
Style/Semicolon
-
Style/TernaryParentheses
-
Style/TrailingCommaInHashLiteral
-
Style/UnlessElse
...
...
app/views/layouts/_flash.html.haml
View file @
be299115
-# We currently only support `alert`, `notice`, `success`, 'toast'
-
icons
=
{
'alert'
=>
'error'
,
'notice'
=>
'information-o'
,
'success'
=>
'check-circle'
}
;
-
icons
=
{
'alert'
=>
'error'
,
'notice'
=>
'information-o'
,
'success'
=>
'check-circle'
}
.flash-container.flash-container-page.sticky
{
data:
{
qa_selector:
'flash_container'
}
}
-
flash
.
each
do
|
key
,
value
|
-
if
key
==
'toast'
&&
value
...
...
app/views/shared/blob/_markdown_buttons.html.haml
View file @
be299115
-
modifier_key
=
client_js_flags
[
:isMac
]
?
'⌘'
:
s_
(
'KeyboardKey|Ctrl+'
)
;
-
modifier_key
=
client_js_flags
[
:isMac
]
?
'⌘'
:
s_
(
'KeyboardKey|Ctrl+'
)
.md-header-toolbar.active
=
markdown_toolbar_button
({
icon:
"bold"
,
...
...
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