Skip to content

Commit e4e1155

Browse files
committed
fix: fixed lint issues
1 parent 37d719b commit e4e1155

18 files changed

+17
-23
lines changed

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ group :development, :test do
6161

6262
# Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/]
6363
gem "rubocop-rails-omakase", require: false
64-
gem "byebug"
6564
end
6665

6766
group :development do

Gemfile.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ GEM
9090
brakeman (7.0.0)
9191
racc
9292
builder (3.3.0)
93-
byebug (12.0.0)
9493
capybara (3.40.0)
9594
addressable
9695
matrix
@@ -493,7 +492,6 @@ DEPENDENCIES
493492
bcrypt (~> 3.1.7)
494493
bootsnap
495494
brakeman
496-
byebug
497495
capybara
498496
debug
499497
dotenv-rails

app/assets/images/close_page.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/assets/stylesheets/application.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ dialog[data-interview-schedule-target="modal"][open] {
5858
dialog[data-dialog-target="dialog"][closing],
5959
dialog[data-interview-schedule-target="modal"][closing] {
6060
animation: fade-out 200ms forwards;
61-
}
61+
}

app/assets/stylesheets/pagy.tailwind.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
@apply bg-gray-50 border border-gray-200 rounded-md px-2 py-1 focus:ring-2 focus:ring-blue-500 focus:border-blue-500;
2626
}
2727
}
28-
}
28+
}

app/assets/tailwind/application.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@import "tailwindcss";
2-
@import "../stylesheets/pagy.tailwind.css";
2+
@import "../stylesheets/pagy.tailwind.css";

app/controllers/employer/job_applications_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def show
1313

1414
def new
1515
unless @job_post.status == "active"
16-
flash.now[:alert] = "You cannot apply to this job post because it's closed"
16+
flash[:alert] = "You cannot apply to this job post because it's closed"
1717
end
1818

1919
@job_application = @job_post.job_applications.new

app/javascript/controllers/comment_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ export default class extends Controller {
4040
formDiv.classList.add('hidden')
4141
}
4242
}
43-
}
43+
}

app/javascript/controllers/interview_schedule_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ export default class extends Controller {
5050
this.endTimeTarget.setCustomValidity('')
5151
}
5252
}
53-
}
53+
}

app/views/employer/job_applications/_bulk_actions.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@
3939
Reject
4040
<% end %>
4141
</div>
42-
</div>
42+
</div>

app/views/employer/job_applications/_comment_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
</div>
1717
</div>
1818
<% end %>
19-
</div>
19+
</div>

app/views/employer/job_applications/_comment_item.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@
6161
</div>
6262
</li>
6363
<% end %>
64-
</ul>
64+
</ul>

app/views/employer/job_applications/_hire_confirmation_modal.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
</button>
2626
</div>
2727
</div>
28-
</dialog>
28+
</dialog>

app/views/employer/job_applications/_interview_details.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
<span class="text-sm text-gray-600">Interview Link: <%= link_to @job_application.interviews.last&.interview_link, @job_application.interviews.last&.interview_link, target: "_blank", class: "text-blue-600 hover:text-blue-800 hover:underline" %></span>
2323
</div>
2424
</div>
25-
</div>
25+
</div>

app/views/employer/job_applications/_interview_form.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<button type="button"
99
data-action="interview-schedule#close"
1010
class="text-gray-400 hover:text-gray-500 focus:outline-none rounded-full p-1">
11-
<%= inline_svg_tag "close_page.svg", class: "h-6 w-6" %>
11+
<%= inline_svg_tag "reject_icon.svg", class: "h-6 w-6" %>
1212
</button>
1313
</div>
1414

@@ -133,4 +133,4 @@
133133
class: "px-4 py-2 text-sm font-medium text-white bg-blue-600 border border-transparent rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" %>
134134
</div>
135135
<% end %>
136-
</dialog>
136+
</dialog>

app/views/errors/not_found.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
</div>
1010
</div>
1111
</div>
12-
</div>
12+
</div>

db/migrate/20250505050209_create_friendly_id_slugs.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ def change
1414
t.string :scope
1515
t.datetime :created_at
1616
end
17-
add_index :friendly_id_slugs, [:sluggable_type, :sluggable_id]
18-
add_index :friendly_id_slugs, [:slug, :sluggable_type], length: {slug: 140, sluggable_type: 50}
19-
add_index :friendly_id_slugs, [:slug, :sluggable_type, :scope], length: {slug: 70, sluggable_type: 50, scope: 70}, unique: true
17+
add_index :friendly_id_slugs, [ :sluggable_type, :sluggable_id ]
18+
add_index :friendly_id_slugs, [ :slug, :sluggable_type ], length: { slug: 140, sluggable_type: 50 }
19+
add_index :friendly_id_slugs, [ :slug, :sluggable_type, :scope ], length: { slug: 70, sluggable_type: 50, scope: 70 }, unique: true
2020
end
2121
end

spec/fixtures/files/resume.pdf

1.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)