Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@MartijnCuppens @Arkweid
38 lines (34 sloc) 742 Bytes
commit-msg:
scripts:
"template_checker":
runner: bash
pre-commit:
commands:
stylelint:
tags: frontend style
glob: "*.js"
run: yarn stylelint {staged_files}
rubocop:
tags: backend style
glob: "*.rb"
exclude: "application.rb|routes.rb"
run: bundle exec rubocop {all_files}
scripts:
"good_job.js":
runner: node
pre-push:
parallel: true
commands:
stylelint:
tags: frontend style
files: git diff --name-only master
glob: "*.js"
run: yarn stylelint {files}
rubocop:
tags: backend style
files: git diff --name-only master
glob: "*.rb"
run: bundle exec rubocop {files}
scripts:
"verify":
runner: sh
You can’t perform that action at this time.