-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💄 endless and ever appeasing of the coppers
- Loading branch information
Showing
11 changed files
with
96 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
inherit_gem: | ||
bixby: bixby_default.yml | ||
|
||
AllCops: | ||
NewCops: disable | ||
TargetRubyVersion: 3.2.2 | ||
DisplayCopNames: true | ||
Exclude: | ||
# NOTE: When we run knapsack's rubocop, we don't want to check the submodule | ||
# for Hyku. We'll assume it's okay and has it's own policing policies. | ||
- "hyrax-webapp/**/*" | ||
|
||
Metrics/BlockLength: | ||
IgnoredMethods: ['included', 'describe', 'it', 'context'] | ||
Exclude: | ||
- "spec/**/*.rb" | ||
|
||
Style/AsciiComments: | ||
Enabled: false | ||
|
||
# rubocop suggests !thing.nil? instead, but that is NOT equivalent | ||
Style/DoubleNegation: | ||
Enabled: false | ||
|
||
Style/CollectionMethods: | ||
PreferredMethods: | ||
collect: 'map' | ||
collect!: 'map!' | ||
inject: 'reduce' | ||
detect: 'find' | ||
find_all: 'select' | ||
|
||
Style/SymbolArray: | ||
Enabled: false | ||
|
||
Style/ClassAndModuleChildren: | ||
Enabled: false | ||
|
||
Style/SingleLineBlockParams: | ||
Enabled: false | ||
|
||
Rails/ApplicationJob: | ||
Enabled: false | ||
|
||
Rails/ApplicationMailer: | ||
Enabled: false | ||
|
||
Rails/ApplicationRecord: | ||
Enabled: false | ||
|
||
Rails/RakeEnvironment: | ||
Enabled: false | ||
|
||
# We define custom methods like `find_by_user_key`, | ||
# `find_by_created_date`, etc | ||
Rails/DynamicFindBy: | ||
Enabled: false | ||
|
||
# # By default RSpec/MessageSpies has the following: | ||
# # Prefer have_received for setting message expectations. Setup form as a spy using allow or instance_spy. | ||
# # The default assumes EnforcedStyle is 'have_received'. Most of our specs are 'receive' | ||
RSpec/MessageSpies: | ||
Enabled: false | ||
|
||
RSpec/ExpectActual: | ||
Enabled: false | ||
|
||
RSpec/LetSetup: | ||
Enabled: false | ||
|
||
RSpec/MessageExpectation: | ||
Enabled: false | ||
|
||
RSpec/NestedGroups: | ||
Enabled: false | ||
|
||
RSpec/LeadingSubject: | ||
Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
require "bundler/setup" | ||
|
||
load "rails/tasks/statistics.rake" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
APP_PATH = File.expand_path('../config/application', __dir__) | ||
require_relative '../config/boot' | ||
require 'rails/commands' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# frozen_string_literal: true | ||
HykuKnapsack::Engine.routes.draw do | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
require "hyku_knapsack/version" | ||
require "hyku_knapsack/engine" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters