Skip to content

Commit

Permalink
Added Rubocop configuration.
Browse files Browse the repository at this point in the history
Signed-off-by: Azeem Sajid <[email protected]>
  • Loading branch information
iamazeem committed Jan 25, 2021
1 parent b0e5f52 commit c2113a9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ jobs:
gem install bundler
bundle install --jobs 4 --retry 3
- name: Rubocop (linting)
run: rubocop

- name: Run tests
run: bundle exec rake
11 changes: 11 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
AllCops:
NewCops: disable

Metrics/ClassLength:
Enabled: false

Metrics/AbcSize:
Enabled: false

Layout/LineLength:
Enabled: false
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen-string-literal: true

source 'https://rubygems.org'

gemspec
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen-string-literal: true

require 'bundler'
Bundler::GemHelper.install_tasks

Expand Down

0 comments on commit c2113a9

Please sign in to comment.