1
0
Fork 0

Add Rake task "lint"

This commit is contained in:
Alex Kotov 2019-10-09 11:44:19 +05:00
parent 886626f53c
commit 0c2d891d4f
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -8,7 +8,10 @@ desc 'Run all checks'
task all: %i[default extra] task all: %i[default extra]
desc 'Run common checks (test, lint...)' desc 'Run common checks (test, lint...)'
task default: :rubocop task default: :lint
desc 'Run linting tools (RuboCop)'
task lint: :rubocop
desc 'Run additional checks' desc 'Run additional checks'
task extra: %i[bundler:audit brakeman] task extra: %i[bundler:audit brakeman]