Skip to content

Commit

Permalink
chore: update config template with new jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jan 14, 2025
1 parent bb09bc5 commit ab93bf1
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions internal/templates/config.tmpl
Original file line number Diff line number Diff line change
@@ -1,35 +1,42 @@
# EXAMPLE USAGE:
#
# Refer for explanation to following link:
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
# https://evilmartians.github.io/lefthook/configuration/
#
# pre-push:
# commands:
# packages-audit:
# tags: frontend security
# jobs:
# - name: packages audit
# tags:
# - frontend
# - security
# run: yarn audit
# gems-audit:
# tags: backend security
#
# - name: gems audit
# tags:
# - backend
# - security
# run: bundle audit
#
# pre-commit:
# parallel: true
# commands:
# eslint:
# jobs:
# - run: yarn eslint {staged_files}
# glob: "*.{js,ts,jsx,tsx}"
# run: yarn eslint {staged_files}
# rubocop:
# tags: backend style
#
# - name: rubocop
# glob: "*.rb"
# exclude: '(^|/)(application|routes)\.rb$'
# exclude:
# - config/application.rb
# - config/routes.rb
# run: bundle exec rubocop --force-exclusion {all_files}
# govet:
# tags: backend style
#
# - name: govet
# files: git ls-files -m
# glob: "*.go"
# run: go vet {files}
# scripts:
# "hello.js":
#
# - script: "hello.js"
# runner: node
# "any.go":
#
# - script: "hello.go"
# runner: go run

0 comments on commit ab93bf1

Please sign in to comment.