Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
daveio committed Feb 26, 2025
1 parent 1030cc9 commit 44b76d7
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
version: 2
updates:
- package-ecosystem: bundler
directory: "/"
directory: /
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
directory: /
schedule:
interval: daily
open-pull-requests-limit: 10
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CI

permissions:
contents: read

on:
pull_request:
push:
Expand Down
16 changes: 8 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ Metrics/PerceivedComplexity:
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- "spec/**/*"
- "test/**/*"
- "app/controllers/application_controller.rb"
- "app/helpers/application_helper.rb"
- "app/mailers/application_mailer.rb"
- "app/models/application_record.rb"
- "config/application.rb"
- spec/**/*
- test/**/*
- app/controllers/application_controller.rb
- app/helpers/application_helper.rb
- app/mailers/application_mailer.rb
- app/models/application_record.rb
- config/application.rb

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Exclude:
- "bin/bundle"
- bin/bundle

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Expand Down
1 change: 1 addition & 0 deletions app/models/application_record.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

# trunk-ignore(brakeman/BRAKE0019)
class ApplicationRecord < ActiveRecord::Base
primary_abstract_class
end
2 changes: 1 addition & 1 deletion config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ aliases:
# Use a persistent storage volume for sqlite database files and local Active Storage files.
# Recommended to change this to a mounted volume path that is backed up off server.
volumes:
- "multipost_storage:/rails/storage"
- multipost_storage:/rails/storage

# Bridge fingerprinted assets, like JS and CSS, between versions to avoid
# hitting 404 on in-flight requests. Combines all files from new and old
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
# enabled: "ON"

en:
hello: "Hello world"
hello: Hello world

0 comments on commit 44b76d7

Please sign in to comment.