Skip to content

Commit

Permalink
[#494] Rename cops folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Goose97 committed Jan 9, 2024
1 parent 4631bb2 commit fba261b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require:
- rubocop-rails
- rubocop-rspec
- rubocop-performance
- ./custom_cops/required_inverse_of_relations.rb
- ./rubocop/cops/required_inverse_of_relations.rb

AllCops:
Exclude:
Expand Down
2 changes: 1 addition & 1 deletion .template/addons/custom_cops/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

require 'fileutils'

copy_file 'custom_cops/required_inverse_of_relations.rb', mode: :preserve
copy_file 'rubocop/cops/required_inverse_of_relations.rb', mode: :preserve
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'rubocop'
require 'rubocop/rspec/support'
require_relative '../required_inverse_of_relations'
require_relative '../cops/required_inverse_of_relations'

RSpec.configure do |config|
config.include RuboCop::RSpec::ExpectOffense
Expand Down

0 comments on commit fba261b

Please sign in to comment.