Skip to content

Commit 937b8fe

Browse files
Rufus PostRufus Post
authored andcommitted
Add rubocop to project
This adds https://github.com/bbatsov/rubocop to the project with an auto generated `.rubocop_todo.yml`. The violations can be addressed over time without breaking the build. Also added is the `rake ci` task that runs `test` and `rubocop` only on mri. The `rubotest` task is the same is `rake ci` but will run on all rubies, the default rake task just runs test as per usual. Conflicts: net-ldap.gemspec
1 parent a89d094 commit 937b8fe

File tree

6 files changed

+497
-3
lines changed

6 files changed

+497
-3
lines changed

.rubocop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
inherit_from: .rubocop_todo.yml
2+
3+
AllCops:
4+
Exclude:
5+
- 'pkg/**/*'

0 commit comments

Comments
 (0)