Update haml-lint TODO

This commit is contained in:
Henne Vogelsang 2024-03-26 12:02:07 +01:00
parent da57c5898d
commit abc7e0d123
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6

View file

@ -1,6 +1,6 @@
# This configuration was generated by # This configuration was generated by
# `haml-lint --auto-gen-config` # `haml-lint --auto-gen-config`
# on 2021-08-13 13:00:39 +0000 using Haml-Lint version 0.28.0. # on 2024-03-26 11:01:18 +0000 using Haml-Lint version 0.57.0.
# The point is for the user to remove these configuration records # The point is for the user to remove these configuration records
# one by one as the lints are removed from the code base. # one by one as the lints are removed from the code base.
# Note that changes in the inspected code, or installation of new # Note that changes in the inspected code, or installation of new
@ -8,7 +8,11 @@
linters: linters:
# Offense count: 1141 # Offense count: 401
InstanceVariables:
enabled: false
# Offense count: 1378
RuboCop: RuboCop:
enabled: false enabled: false
@ -22,15 +26,11 @@ linters:
- "app/views/booths/index.html.haml" - "app/views/booths/index.html.haml"
- "app/views/schedules/_carousel.html.haml" - "app/views/schedules/_carousel.html.haml"
# Offense count: 981 # Offense count: 967
LineLength: LineLength:
enabled: false enabled: false
# Offense count: 206 # Offense count: 13
InstanceVariables:
enabled: false
# Offense count: 12
ViewLength: ViewLength:
exclude: exclude:
- "app/views/admin/booths/index.html.haml" - "app/views/admin/booths/index.html.haml"
@ -43,9 +43,9 @@ linters:
- "app/views/admin/versions/_object_desc_and_link.html.haml" - "app/views/admin/versions/_object_desc_and_link.html.haml"
- "app/views/conference_registrations/show.html.haml" - "app/views/conference_registrations/show.html.haml"
- "app/views/layouts/_admin_sidebar.html.haml" - "app/views/layouts/_admin_sidebar.html.haml"
- "app/views/proposals/_form.html.haml"
- "app/views/proposals/index.html.haml" - "app/views/proposals/index.html.haml"
- "app/views/proposals/show.html.haml" - "app/views/proposals/show.html.haml"
- "app/views/proposals/_form.html.haml"
# Offense count: 28 # Offense count: 28
IdNames: IdNames:
@ -63,21 +63,34 @@ linters:
- "app/views/admin/users/show.html.haml" - "app/views/admin/users/show.html.haml"
- "app/views/users/edit.html.haml" - "app/views/users/edit.html.haml"
# Offense count: 38 # Offense count: 37
InlineStyles: InlineStyles:
enabled: false enabled: false
# Offense count: 3 # Offense count: 378
UnnecessaryInterpolation:
exclude:
- "app/views/admin/conferences/_recent_submissions.html.haml"
- "app/views/proposals/new.html.haml"
# Offense count: 262
SpaceInsideHashAttributes: SpaceInsideHashAttributes:
enabled: false enabled: false
# Offense count: 24 # Offense count: 10
TrailingEmptyLines:
exclude:
- "app/views/admin/conferences/_form_fields.html.haml"
- "app/views/admin/events/_all_with_comments.csv.haml"
- "app/views/admin/events/_form.html.haml"
- "app/views/admin/events/_proposal.html.haml"
- "app/views/admin/schedules/_form.html.haml"
- "app/views/admin/sponsorship_levels/_form.html.haml"
- "app/views/application/_big_statistic.haml"
- "app/views/booths/_form.html.haml"
- "app/views/schedules/_schedule_item.html.haml"
- "app/views/users/edit.html.haml"
# Offense count: 1
UnnecessaryInterpolation:
exclude:
- "app/views/admin/conferences/_recent_submissions.html.haml"
# Offense count: 21
ClassesBeforeIds: ClassesBeforeIds:
exclude: exclude:
- "app/views/admin/emails/index.html.haml" - "app/views/admin/emails/index.html.haml"
@ -87,11 +100,9 @@ linters:
- "app/views/admin/venues/_form.html.haml" - "app/views/admin/venues/_form.html.haml"
- "app/views/conferences/index.html.haml" - "app/views/conferences/index.html.haml"
- "app/views/devise/shared/_help.html.haml" - "app/views/devise/shared/_help.html.haml"
- "app/views/devise/shared/_sign_in_form_embedded.html.haml"
- "app/views/layouts/_navigation.html.haml" - "app/views/layouts/_navigation.html.haml"
- "app/views/proposals/_form.html.haml"
# Offense count: 19 # Offense count: 16
UnnecessaryStringOutput: UnnecessaryStringOutput:
exclude: exclude:
- "app/views/admin/event_types/index.html.haml" - "app/views/admin/event_types/index.html.haml"
@ -101,16 +112,9 @@ linters:
- "app/views/admin/versions/_object_desc_and_link.html.haml" - "app/views/admin/versions/_object_desc_and_link.html.haml"
- "app/views/admin/volunteers/show.html.haml" - "app/views/admin/volunteers/show.html.haml"
- "app/views/conference_registrations/show.html.haml" - "app/views/conference_registrations/show.html.haml"
- "app/views/conferences/_conference_details.html.haml"
- "app/views/proposals/_encouragement_text.html.haml" - "app/views/proposals/_encouragement_text.html.haml"
- "app/views/proposals/_form.html.haml"
- "app/views/users/edit.html.haml"
- "app/views/users/show.html.haml" - "app/views/users/show.html.haml"
# Offense count: 31
SpaceBeforeScript:
enabled: false
# Offense count: 1 # Offense count: 1
ImplicitDiv: ImplicitDiv:
exclude: exclude:
@ -134,10 +138,13 @@ linters:
- "app/views/layouts/_navigation.html.haml" - "app/views/layouts/_navigation.html.haml"
- "app/views/schedules/events.html.haml" - "app/views/schedules/events.html.haml"
# Offense count: 7 # Offense count: 30
SpaceBeforeScript:
enabled: false
# Offense count: 5
TrailingWhitespace: TrailingWhitespace:
exclude: exclude:
- "app/views/admin/volunteers/index.html.haml"
- "app/views/admin/volunteers/show.html.haml" - "app/views/admin/volunteers/show.html.haml"
- "app/views/conference_registrations/_volunteer.html.haml" - "app/views/conference_registrations/_volunteer.html.haml"
- "app/views/devise/passwords/new.html.haml" - "app/views/devise/passwords/new.html.haml"