Skip to content

Commit a96faf0

Browse files
committed
Remove Tailor and replace it with Rubocop
1 parent 5c49a7d commit a96faf0

File tree

4 files changed

+51
-135
lines changed

4 files changed

+51
-135
lines changed

.rubocop.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
AllCops:
2+
Include:
3+
- '**/Rakefile'
4+
- '**/*.rake'
5+
6+
ClassLength:
7+
Enabled: false
8+
9+
CyclomaticComplexity:
10+
Enabled: false
11+
12+
Documentation:
13+
Enabled: false
14+
15+
EmptyLineBetweenDefs:
16+
AllowAdjacentOneLineDefs: true
17+
18+
Encoding:
19+
EnforcedStyle: when_needed
20+
21+
LineLength:
22+
Max: 120
23+
24+
MethodLength:
25+
Enabled: false
26+
27+
NumericLiterals:
28+
Enabled: false
29+
30+
ParameterLists:
31+
Enabled: false
32+
33+
Semicolon:
34+
AllowAsExpressionSeparator: true
35+
36+
SignalException:
37+
EnforcedStyle: only_raise
38+
39+
SingleLineBlockParams:
40+
Enabled: false
41+
42+
SingleLineMethods:
43+
AllowIfMethodIsEmpty: true
44+
45+
UnusedBlockArgument:
46+
Enabled: false

.tailor

Lines changed: 0 additions & 130 deletions
This file was deleted.

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ source 'https://rubygems.org'
33
group :test do
44
gem 'rspec'
55
gem "simplecov"
6-
gem "guard-rspec"
7-
gem "tailor"
86
gem 'coveralls', require: false
97
end
108

11-
group :debug do
9+
group :development do
10+
gem "guard-rspec"
11+
gem "rubocop"
1212
gem "pry-debugger"
1313
gem "pry-stack_explorer"
1414
end

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
require 'rake/clean'
44
require 'rspec/core/rake_task'
55
require 'bundler/gem_tasks'
6-
require 'tailor/rake_task'
6+
require 'rubocop/rake_task'
77

88
CLOBBER.include('coverage')
99

10-
Tailor::RakeTask.new
10+
Rubocop::RakeTask.new
1111

1212
desc "Run all specs"
1313
RSpec::Core::RakeTask.new do |t|

0 commit comments

Comments
 (0)