5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-26 13:16:07 +00:00

feat: correr rubocop y haml-lint sobre los archivos

This commit is contained in:
f 2024-01-12 17:37:56 -03:00
parent 9ce510223e
commit 6efae5f8f0
No known key found for this signature in database

View file

@ -183,3 +183,15 @@ tasks:
- "{{.HAINISH}} gem install bundler-audit"
status:
- "test -f ../hain/usr/bin/bundler-audit"
rubocop:
desc: "Ruby linting. Call with: go-task rubocop -- -A file.rb"
cmds:
- task: "bundle"
vars:
CLI_ARGS: "exec rubocop {{.CLI_ARGS}}"
haml-lint:
desc: "HAML linting. Call with: go-task haml-lint -- file.haml"
cmds:
- task: "bundle"
vars:
CLI_ARGS: "exec haml-lint {{.CLI_ARGS}}"