Skip to content

Commit 9cb4da8

Browse files
Fix ERB linting issues
- Auto-corrected ERB template issues - Applied erb_lint --autocorrect fixes [Automated daily update]
1 parent c3edb80 commit 9cb4da8

File tree

4 files changed

+292
-2
lines changed

4 files changed

+292
-2
lines changed

app/views/users/_sort_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
{},
1212
{ id: "sort_field", onchange: "this.form.submit();" } %>
1313
<% end %>
14-
</div>
14+
</div>

app/views/users/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
</li>
4545
<% end %>
4646
</ul>
47-
</div>
47+
</div>

erb_lint_output.txt

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
Found 105 ERB files to lint...
2+
================================================================================
3+
[1/105] app/views/admin/files.html.erb ✅ (1.39s)
4+
[2/105] app/views/admin/index.html.erb ✅ (1.34s)
5+
[3/105] app/views/admin/releases.html.erb ❌ 1 violation(s) (1.37s)
6+
[4/105] app/views/assessments/_anchorage_safety_results.html.erb ✅ (1.32s)
7+
[5/105] app/views/assessments/_play_area_validation.html.erb ✅ (1.4s)
8+
[6/105] app/views/assessments/_safety_standard_with_breakdown.html.erb ✅ (1.32s)
9+
[7/105] app/views/assessments/_slide_safety_results.html.erb ✅ (1.41s)
10+
[8/105] app/views/assessments/_user_height_safety_results.html.erb ✅ (1.37s)
11+
[9/105] app/views/backups/index.html.erb ❌ 1 violation(s) (1.36s)
12+
[10/105] app/views/errors/internal_server_error.html.erb ✅ (1.33s)
13+
[11/105] app/views/errors/not_found.html.erb ✅ (1.32s)
14+
[12/105] app/views/guides/_controls.html.erb ✅ (1.32s)
15+
[13/105] app/views/guides/index.html.erb ✅ (1.35s)
16+
[14/105] app/views/guides/show.html.erb ✅ (1.36s)
17+
[15/105] app/views/inspections/_assessment_form.html.erb ✅ (1.35s)
18+
[16/105] app/views/inspections/_filter_form.html.erb ✅ (1.34s)
19+
[17/105] app/views/inspections/_form.html.erb ✅ (1.4s)
20+
[18/105] app/views/inspections/_inspection_details.html.erb ❌ 1 violation(s) (1.3s)
21+
[19/105] app/views/inspections/_inspection_stats.html.erb ❌ 2 violation(s) (1.32s)
22+
[20/105] app/views/inspections/_inspections_table.html.erb ✅ (1.44s)
23+
[21/105] app/views/inspections/_mark_complete_section.html.erb ❌ 1 violation(s) (1.33s)
24+
[22/105] app/views/inspections/_results_form.html.erb ❌ 3 violation(s) (1.49s)
25+
[23/105] app/views/inspections/_safety_standards_summary.html.erb ❌ 2 violation(s) (1.47s)
26+
[24/105] app/views/inspections/_unit_selection_table.html.erb ✅ (1.37s)
27+
[25/105] app/views/inspections/edit.html.erb ✅ (1.42s)
28+
[26/105] app/views/inspections/index.html.erb ❌ 3 violation(s) (1.34s)
29+
[27/105] app/views/inspections/log.html.erb ✅ (1.33s)
30+
[28/105] app/views/inspections/select_unit.html.erb ✅ (1.35s)
31+
[29/105] app/views/inspections/show.html.erb ❌ 3 violation(s) (1.37s)
32+
[30/105] app/views/inspector_companies/_filter_form.html.erb ✅ (1.37s)
33+
[31/105] app/views/inspector_companies/_form.html.erb ❌ 1 violation(s) (1.32s)
34+
[32/105] app/views/inspector_companies/edit.html.erb ✅ (1.33s)
35+
[33/105] app/views/inspector_companies/index.html.erb ✅ (1.39s)
36+
[34/105] app/views/inspector_companies/new.html.erb ✅ (1.32s)
37+
[35/105] app/views/inspector_companies/show.html.erb ❌ 6 violation(s) (1.52s)
38+
[36/105] app/views/layouts/application.html.erb ✅ (1.48s)
39+
[37/105] app/views/layouts/pdf_viewer.html.erb ✅ (1.34s)
40+
[38/105] app/views/pages/_form.html.erb ❌ 1 violation(s) (1.32s)
41+
[39/105] app/views/pages/edit.html.erb ✅ (1.33s)
42+
[40/105] app/views/pages/index.html.erb ✅ (1.36s)
43+
[41/105] app/views/pages/new.html.erb ✅ (1.31s)
44+
[42/105] app/views/pages/show.html.erb ✅ (1.36s)
45+
[43/105] app/views/safety_standards/_anchor_result.html.erb ❌ 1 violation(s) (1.32s)
46+
[44/105] app/views/safety_standards/_anchorage_tab.html.erb ✅ (1.35s)
47+
[45/105] app/views/safety_standards/_api_params.html.erb ✅ (1.34s)
48+
[46/105] app/views/safety_standards/_api_response.html.erb ✅ (1.32s)
49+
[47/105] app/views/safety_standards/_calculator_form.html.erb ❌ 15 violation(s) (1.47s)
50+
[48/105] app/views/safety_standards/_curl_command.html.erb ❌ 4 violation(s) (1.35s)
51+
[49/105] app/views/safety_standards/_fan_tab.html.erb ✅ (1.35s)
52+
[50/105] app/views/safety_standards/_material_tab.html.erb ✅ (1.33s)
53+
[51/105] app/views/safety_standards/_result_with_breakdown.html.erb ✅ (1.33s)
54+
[52/105] app/views/safety_standards/_runout_result.html.erb ❌ 1 violation(s) (1.33s)
55+
[53/105] app/views/safety_standards/_slides_tab.html.erb ✅ (1.33s)
56+
[54/105] app/views/safety_standards/_user_capacity_result.html.erb ❌ 2 violation(s) (1.38s)
57+
[55/105] app/views/safety_standards/_user_capacity_tab.html.erb ❌ 12 violation(s) (1.39s)
58+
[56/105] app/views/safety_standards/_wall_height_result.html.erb ❌ 1 violation(s) (1.31s)
59+
[57/105] app/views/safety_standards/index.html.erb ✅ (1.35s)
60+
[58/105] app/views/safety_standards/index.turbo_stream.erb ✅ (1.33s)
61+
[59/105] app/views/search/index.html.erb ✅ (1.39s)
62+
[60/105] app/views/sessions/new.html.erb ✅ (1.36s)
63+
[61/105] app/views/shared/_action_buttons.html.erb ✅ (1.34s)
64+
[62/105] app/views/shared/_action_links.html.erb ✅ (1.35s)
65+
[63/105] app/views/shared/_attached_image.html.erb ✅ (1.34s)
66+
[64/105] app/views/shared/_audit_log.html.erb ✅ (1.4s)
67+
[65/105] app/views/shared/_construction_banner.html.erb ✅ (1.35s)
68+
[66/105] app/views/shared/_debug_info.html.erb ❌ 2 violation(s) (1.41s)
69+
[67/105] app/views/shared/_header_logo.html.erb ❌ 1 violation(s) (1.39s)
70+
[68/105] app/views/shared/_image.html.erb ✅ (1.35s)
71+
[69/105] app/views/shared/_image_link.html.erb ❌ 1 violation(s) (1.35s)
72+
[70/105] app/views/shared/_incomplete_fields.html.erb ❌ 1 violation(s) (1.35s)
73+
[71/105] app/views/shared/_page_header.html.erb ✅ (1.32s)
74+
[72/105] app/views/shared/_pass_fail_string.html.erb ✅ (1.33s)
75+
[73/105] app/views/shared/_pdf_embed.html.erb ✅ (1.35s)
76+
[74/105] app/views/shared/_safety_card.html.erb ✅ (1.37s)
77+
[75/105] app/views/shared/_safety_info_box.html.erb ✅ (1.34s)
78+
[76/105] app/views/shared/_safety_standards_display.html.erb ✅ (1.33s)
79+
[77/105] app/views/shared/_save_message.html.erb ✅ (1.35s)
80+
[78/105] app/views/shared/_search_box.html.erb ✅ (1.33s)
81+
[79/105] app/views/shared/_share_button.html.erb ✅ (1.33s)
82+
[80/105] app/views/shared/_table_column.html.erb ✅ (1.35s)
83+
[81/105] app/views/shared/_unit_details.html.erb ✅ (1.5s)
84+
[82/105] app/views/shared/_unit_details_display.html.erb ✅ (1.37s)
85+
[83/105] app/views/shared/_unit_details_form.html.erb ❌ 2 violation(s) (1.46s)
86+
[84/105] app/views/shared/safety_standards/_material_requirements.html.erb ✅ (1.4s)
87+
[85/105] app/views/shared/safety_standards/_slide_safety_requirements.html.erb ✅ (1.41s)
88+
[86/105] app/views/shared/safety_standards/_wall_height_requirements.html.erb ❌ 12 violation(s) (1.33s)
89+
[87/105] app/views/units/_equipment_details.html.erb ❌ 5 violation(s) (1.33s)
90+
[88/105] app/views/units/_equipment_table.html.erb ❌ 4 violation(s) (1.35s)
91+
[89/105] app/views/units/_filter_form.html.erb ✅ (1.37s)
92+
[90/105] app/views/units/_form.html.erb ❌ 3 violation(s) (1.54s)
93+
[91/105] app/views/units/_unit_details.html.erb ✅ (1.32s)
94+
[92/105] app/views/units/_unit_table.html.erb ✅ (1.37s)
95+
[93/105] app/views/units/edit.html.erb ✅ (1.37s)
96+
[94/105] app/views/units/index.html.erb ❌ 1 violation(s) (1.35s)
97+
[95/105] app/views/units/log.html.erb ✅ (1.34s)
98+
[96/105] app/views/units/new.html.erb ✅ (1.34s)
99+
[97/105] app/views/units/new_from_inspection.html.erb ✅ (1.34s)
100+
[98/105] app/views/units/show.html.erb ✅ (1.34s)
101+
[99/105] app/views/users/_rpii_verification_result.html.erb ✅ (1.41s)
102+
[100/105] app/views/users/_sort_form.html.erb ✅ (1.34s)
103+
[101/105] app/views/users/change_password.html.erb ✅ (1.34s)
104+
[102/105] app/views/users/change_settings.html.erb ❌ 2 violation(s) (1.54s)
105+
[103/105] app/views/users/edit.html.erb ✅ (1.46s)
106+
[104/105] app/views/users/index.html.erb ✅ (1.53s)
107+
[105/105] app/views/users/new.html.erb ✅ (1.36s)
108+
================================================================================
109+
110+
SUMMARY:
111+
Processed: 105 files
112+
Failed: 30 files
113+
Total violations: 95
114+
115+
Failed files:
116+
app/views/admin/releases.html.erb (1 violation(s))
117+
app/views/backups/index.html.erb (1 violation(s))
118+
app/views/inspections/_inspection_details.html.erb (1 violation(s))
119+
app/views/inspections/_inspection_stats.html.erb (2 violation(s))
120+
app/views/inspections/_mark_complete_section.html.erb (1 violation(s))
121+
app/views/inspections/_results_form.html.erb (3 violation(s))
122+
app/views/inspections/_safety_standards_summary.html.erb (2 violation(s))
123+
app/views/inspections/index.html.erb (3 violation(s))
124+
app/views/inspections/show.html.erb (3 violation(s))
125+
app/views/inspector_companies/_form.html.erb (1 violation(s))
126+
app/views/inspector_companies/show.html.erb (6 violation(s))
127+
app/views/pages/_form.html.erb (1 violation(s))
128+
app/views/safety_standards/_anchor_result.html.erb (1 violation(s))
129+
app/views/safety_standards/_calculator_form.html.erb (15 violation(s))
130+
app/views/safety_standards/_curl_command.html.erb (4 violation(s))
131+
app/views/safety_standards/_runout_result.html.erb (1 violation(s))
132+
app/views/safety_standards/_user_capacity_result.html.erb (2 violation(s))
133+
app/views/safety_standards/_user_capacity_tab.html.erb (12 violation(s))
134+
app/views/safety_standards/_wall_height_result.html.erb (1 violation(s))
135+
app/views/shared/_debug_info.html.erb (2 violation(s))
136+
app/views/shared/_header_logo.html.erb (1 violation(s))
137+
app/views/shared/_image_link.html.erb (1 violation(s))
138+
app/views/shared/_incomplete_fields.html.erb (1 violation(s))
139+
app/views/shared/_unit_details_form.html.erb (2 violation(s))
140+
app/views/shared/safety_standards/_wall_height_requirements.html.erb (12 violation(s))
141+
app/views/units/_equipment_details.html.erb (5 violation(s))
142+
app/views/units/_equipment_table.html.erb (4 violation(s))
143+
app/views/units/_form.html.erb (3 violation(s))
144+
app/views/units/index.html.erb (1 violation(s))
145+
app/views/users/change_settings.html.erb (2 violation(s))

0 commit comments

Comments
 (0)