Sha256: 22f49428f918855c1a53755158d7efa56562f242f7187b8b8f762534caeb5269

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

# Use this file to configure the Overcommit hooks you wish to use. This will
# extend the default configuration defined in:
# https://github.com/brigade/overcommit/blob/master/config/default.yml
#
# At the topmost level of this YAML file is a key representing type of hook
# being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
# customize each hook, such as whether to only run it on certain files (via
# `include`), whether to only display output if it fails (via `quiet`), etc.
#
# For a complete list of hooks, see:
# https://github.com/brigade/overcommit/tree/master/lib/overcommit/hook
#
# For a complete list of options that you can use to customize hooks, see:
# https://github.com/brigade/overcommit#configuration

gemfile: Gemfile

CommitMsg:
  HardTabs:
    enabled: true

  RussianNovel:
    enabled: true

PreCommit:
  BundleAudit:
    enabled: true
    flags:
      # Update the ruby-advisory-db and check Gemfile.lock
      - '--update'

  BundleCheck:
    enabled: true

  ExecutePermissions:
    enabled: true
    exclude:
      - 'spec/dummy/bin/*'

  Fasterer:
    enabled: true

  ForbiddenBranches:
    enabled: true
    branch_patterns:
      - 'master'

  HardTabs:
    enabled: true

  RuboCop:
    enabled: true

  TrailingWhitespace:
    enabled: true

PrePush:
  RSpec:
    enabled: true

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bemer-0.1.0 .overcommit.yml