Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 299 Bytes
# frozen_string_literal: true
require_relative 'config/application'
Rails.application.load_tasks
require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop)
desc 'Run Eslint'
task :eslint do
system './node_modules/.bin/eslint app/assets/javascripts'
end
task default: %i[rubocop eslint test]
You can’t perform that action at this time.