Extract the lint task in a dedicated file
This commit is contained in:
parent
6e867bb9ee
commit
fa2afe6820
2 changed files with 7 additions and 8 deletions
7
lib/tasks/lint.rake
Normal file
7
lib/tasks/lint.rake
Normal file
|
@ -0,0 +1,7 @@
|
|||
task :lint do
|
||||
sh "bundle exec rubocop"
|
||||
sh "bundle exec haml-lint app/views/"
|
||||
sh "bundle exec scss-lint app/assets/stylesheets/"
|
||||
sh "bundle exec brakeman --no-pager"
|
||||
sh "yarn lint:js"
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue