Sha256: 84e84df4143f4bf990d202aeadff5a09e1b823c1364ec59a83e1e43ebe79238b

Contents?: true

Size: 687 Bytes

Versions: 6

Compression:

Stored size: 687 Bytes

Contents

# EXAMPLE USAGE
# Refer for explanation to following link:
# https://github.com/Arkweid/lefthook/blob/master/docs/full_guide.md

# pre-push:
#   commands:
#     packages-audit:
#       tags: frontend security
#       run: yarn audit
#     gems-audit:
#       tags: backend security
#       run: bundle audit

pre-commit:
  parallel: true
  commands:
    # eslint:
    #   glob: "*.{js,ts}"
    #   run: yarn eslint {staged_files}
    rubocop:
      tags: backend style
      glob: "*.rb"
      # exclude: "application.rb|routes.rb"
      run: bundle exec rubocop --force-exclusion {staged_files}
  # scripts:
  #   "hello.js":
  #     runner: node
  #   "any.go":
  #     runner: go run

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
fusuma-plugin-keypress-0.4.0 lefthook.yml
fusuma-plugin-sendkey-0.6.0 lefthook.yml
fusuma-plugin-keypress-0.4.0.pre2 lefthook.yml
fusuma-plugin-sendkey-0.6.0.pre2 lefthook.yml
fusuma-plugin-keypress-0.4.0.pre lefthook.yml
fusuma-plugin-sendkey-0.6.0.pre lefthook.yml