Skip to content

Commit 84c0587

Browse files
committed
Fixed issue in rake file. Dead code.
1 parent 45e7697 commit 84c0587

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

Diff for: lib/tasks/linters.rake

+2-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
if %w(development test).include? Rails.env
2-
require "rubocop/rake_task"
3-
RuboCop::RakeTask.new
4-
5-
task(:default).clear
6-
7-
desc "JS Linting"
8-
task :js_lint do
9-
sh "cd client && bin/lint"
10-
end
11-
12-
task default: [:spec, :rubocop]
13-
end
14-
151
if %w(development test).include? Rails.env
162
# require "rubocop/rake_task"
17-
# require "slim_lint/rake_task"
183
require "scss_lint/rake_task"
194

205
# This fails: https://github.com/bbatsov/rubocop/issues/1840
@@ -26,6 +11,8 @@ if %w(development test).include? Rails.env
2611
sh "rubocop ."
2712
end
2813

14+
# If we had slim
15+
# require "slim_lint/rake_task"
2916
# SlimLint::RakeTask.new
3017

3118
SCSSLint::RakeTask.new do |t|

0 commit comments

Comments
 (0)