Skip to content

Commit

Permalink
Delete some rules specific to the foobara project
Browse files Browse the repository at this point in the history
  • Loading branch information
azimux committed Jan 11, 2024
1 parent abae100 commit 07b4287
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
14 changes: 0 additions & 14 deletions rules/naming.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
Naming/AccessorMethodName:
Enabled: false

Naming/FileName:
ExpectMatchingDefinition: true
CheckDefinitionPathHierarchy: true
Exclude:
- spec/lib/**/*
- spec/**/*
- bin/*
- ./require_all_projects.rb
CheckDefinitionPathHierarchyRoots:
- src
- extensions
- spec
IgnoreExecutableScripts: true

Naming/PredicateName:
Enabled: false

Expand Down
4 changes: 3 additions & 1 deletion rules/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RSpec/ExampleLength:
RSpec/ExpectInHook:
Enabled: false

# Seems like a good rule but for now going to use this repository as a bit of a monorepo so disabling for now.
# Deprecated and wonky
RSpec/FilePath:
Enabled: false

Expand Down Expand Up @@ -42,6 +42,8 @@ RSpec/NoExpectationExample:
RSpec/NotToNot:
EnforcedStyle: to_not

# Would be really nice to turn this on if we can exclude namespaces like Foobara so we don´t have to have foobara/
# prefixing every path.
RSpec/SpecFilePathFormat:
Enabled: false

Expand Down

0 comments on commit 07b4287

Please sign in to comment.