Skip to content

Commit

Permalink
Chore: Rubocop Part 1 [Move specs to /slither namespace and fixing Ca…
Browse files Browse the repository at this point in the history
…rriage Return + Line Feed errors]

* Chore: add rubocop-rspec

* Chore[rubocop]: Move tests to slither namespace accordingly and get rid of trailing whitespace
  • Loading branch information
JorgeGarciaxyz authored Oct 13, 2023
1 parent bfab3d5 commit eef76f0
Show file tree
Hide file tree
Showing 9 changed files with 847 additions and 820 deletions.
18 changes: 18 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require:
- rubocop-rspec

AllCops:
NewCops: enable

Expand All @@ -20,3 +23,18 @@ Metrics/MethodLength:

Style/Documentation:
Enabled: false

RSpec/ContextWording:
Enabled: false
RSpec/ExampleLength:
Enabled: false
RSpec/MessageSpies:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/NamedSubject:
Enabled: false
RSpec/NestedGroups:
Enabled: false
RSpec/SubjectStub:
Enabled: false
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"

gem "rubocop", "~> 1.21"
gem "rubocop-rspec", "~> 2.22.0", require: false
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.24.1)
parser (>= 3.1.1.0)
rubocop-capybara (2.18.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.23.1)
rubocop (~> 1.33)
rubocop-rspec (2.22.0)
rubocop (~> 1.33)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.11.0)
unicode-display_width (2.4.2)

Expand All @@ -57,6 +65,7 @@ DEPENDENCIES
rake (~> 13.0)
rspec (~> 3.0)
rubocop (~> 1.21)
rubocop-rspec (~> 2.22.0)
slither!

BUNDLED WITH
Expand Down
Loading

0 comments on commit eef76f0

Please sign in to comment.