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
f91d3380
Commit
f91d3380
authored
Apr 10, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable Lint/BooleanSymbol in Rubocop for HAML
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
72180b5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
.haml-lint.yml
.haml-lint.yml
+0
-1
app/views/shared/issuable/_nav.html.haml
app/views/shared/issuable/_nav.html.haml
+1
-1
No files found.
.haml-lint.yml
View file @
f91d3380
...
...
@@ -116,7 +116,6 @@ linters:
-
Layout/SpaceInsideHashLiteralBraces
-
Layout/SpaceInsideStringInterpolation
-
Layout/TrailingEmptyLines
-
Lint/BooleanSymbol
-
Lint/LiteralInInterpolation
-
Lint/ParenthesesAsGroupedExpression
-
Lint/RedundantWithIndex
...
...
app/views/shared/issuable/_nav.html.haml
View file @
f91d3380
-
type
=
local_assigns
.
fetch
(
:type
,
:issues
)
-
page_context_word
=
type
.
to_s
.
humanize
(
capitalize:
false
)
-
display_count
=
local_assigns
.
fetch
(
:display_count
,
:
true
)
-
display_count
=
local_assigns
.
fetch
(
:display_count
,
true
)
%ul
.nav-links.issues-state-filters.mobile-separator.nav.nav-tabs
%li
{
class:
active_when
(
params
[
:state
]
==
'opened'
)
}
>
...
...
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