You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
4.5 KiB

  1. # This configuration was generated by
  2. # `haml-lint --auto-gen-config`
  3. # on 2023-03-15 00:55:01 -0400 using Haml-Lint version 0.45.0.
  4. # The point is for the user to remove these configuration records
  5. # one by one as the lints are removed from the code base.
  6. # Note that changes in the inspected code, or installation of new
  7. # versions of Haml-Lint, may require this file to be generated again.
  8. linters:
  9. # Offense count: 63
  10. RuboCop:
  11. exclude:
  12. - 'app/views/accounts/_og.html.haml'
  13. - 'app/views/admin/account_warnings/_account_warning.html.haml'
  14. - 'app/views/admin/accounts/index.html.haml'
  15. - 'app/views/admin/accounts/show.html.haml'
  16. - 'app/views/admin/announcements/edit.html.haml'
  17. - 'app/views/admin/announcements/new.html.haml'
  18. - 'app/views/admin/disputes/appeals/_appeal.html.haml'
  19. - 'app/views/admin/domain_blocks/edit.html.haml'
  20. - 'app/views/admin/domain_blocks/new.html.haml'
  21. - 'app/views/admin/ip_blocks/new.html.haml'
  22. - 'app/views/admin/reports/actions/preview.html.haml'
  23. - 'app/views/admin/reports/index.html.haml'
  24. - 'app/views/admin/reports/show.html.haml'
  25. - 'app/views/admin/roles/_form.html.haml'
  26. - 'app/views/admin/settings/about/show.html.haml'
  27. - 'app/views/admin/settings/appearance/show.html.haml'
  28. - 'app/views/admin/settings/registrations/show.html.haml'
  29. - 'app/views/admin/statuses/show.html.haml'
  30. - 'app/views/auth/registrations/new.html.haml'
  31. - 'app/views/disputes/strikes/show.html.haml'
  32. - 'app/views/filters/_filter_fields.html.haml'
  33. - 'app/views/invites/_form.html.haml'
  34. - 'app/views/layouts/application.html.haml'
  35. - 'app/views/layouts/error.html.haml'
  36. - 'app/views/notification_mailer/_status.html.haml'
  37. - 'app/views/settings/applications/_fields.html.haml'
  38. - 'app/views/settings/imports/show.html.haml'
  39. - 'app/views/settings/preferences/appearance/show.html.haml'
  40. - 'app/views/settings/preferences/other/show.html.haml'
  41. - 'app/views/statuses/_detailed_status.html.haml'
  42. - 'app/views/statuses/_poll.html.haml'
  43. - 'app/views/statuses/show.html.haml'
  44. - 'app/views/statuses_cleanup/show.html.haml'
  45. - 'app/views/user_mailer/warning.html.haml'
  46. # Offense count: 913
  47. LineLength:
  48. enabled: false
  49. # Offense count: 22
  50. UnnecessaryStringOutput:
  51. exclude:
  52. - 'app/views/accounts/show.html.haml'
  53. - 'app/views/admin/custom_emojis/_custom_emoji.html.haml'
  54. - 'app/views/admin/relays/_relay.html.haml'
  55. - 'app/views/admin/rules/_rule.html.haml'
  56. - 'app/views/admin/statuses/index.html.haml'
  57. - 'app/views/auth/registrations/_sessions.html.haml'
  58. - 'app/views/disputes/strikes/show.html.haml'
  59. - 'app/views/notification_mailer/_status.html.haml'
  60. - 'app/views/settings/two_factor_authentication_methods/index.html.haml'
  61. - 'app/views/statuses/_detailed_status.html.haml'
  62. - 'app/views/statuses/_poll.html.haml'
  63. - 'app/views/statuses/_simple_status.html.haml'
  64. - 'app/views/user_mailer/suspicious_sign_in.html.haml'
  65. - 'app/views/user_mailer/webauthn_credential_added.html.haml'
  66. - 'app/views/user_mailer/webauthn_credential_deleted.html.haml'
  67. - 'app/views/user_mailer/welcome.html.haml'
  68. # Offense count: 3
  69. ViewLength:
  70. exclude:
  71. - 'app/views/admin/accounts/show.html.haml'
  72. - 'app/views/admin/reports/show.html.haml'
  73. - 'app/views/disputes/strikes/show.html.haml'
  74. # Offense count: 41
  75. InstanceVariables:
  76. exclude:
  77. - 'app/views/admin/reports/_actions.html.haml'
  78. - 'app/views/admin/roles/_form.html.haml'
  79. - 'app/views/admin/webhooks/_form.html.haml'
  80. - 'app/views/auth/registrations/_sessions.html.haml'
  81. - 'app/views/auth/registrations/_status.html.haml'
  82. - 'app/views/auth/sessions/two_factor/_otp_authentication_form.html.haml'
  83. - 'app/views/authorize_interactions/_post_follow_actions.html.haml'
  84. - 'app/views/invites/_form.html.haml'
  85. - 'app/views/relationships/_account.html.haml'
  86. - 'app/views/shared/_og.html.haml'
  87. - 'app/views/statuses/_status.html.haml'
  88. # Offense count: 6
  89. ConsecutiveSilentScripts:
  90. exclude:
  91. - 'app/views/admin/settings/shared/_links.html.haml'
  92. - 'app/views/settings/login_activities/_login_activity.html.haml'
  93. - 'app/views/statuses/_poll.html.haml'
  94. # Offense count: 3
  95. IdNames:
  96. exclude:
  97. - 'app/views/authorize_interactions/error.html.haml'
  98. - 'app/views/oauth/authorizations/error.html.haml'
  99. - 'app/views/shared/_error_messages.html.haml'