Sha256: b17d62f82f5c63dd2b05c1120fb6f6071f3a32596ebcebcefd2460cfd1a07adf

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 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/sds/overcommit/blob/master/config/default.yml
#
# For a complete list of hooks, see:
# https://github.com/sds/overcommit/tree/master/lib/overcommit/hook
#
# For a complete list of options that you can use to customize hooks, see:
# https://github.com/sds/overcommit#configuration
#
# For more info, see:
# https://github.com/sds/overcommit


# -------------------------
# Pre Commit
# -------------------------
PreCommit:
  AuthorName:
    enabled: false

  AuthorEmail:
    enabled: false

  BundleCheck:
    enabled: true

  Fasterer:
    enabled: true

  FixMe:
    enabled: true

  HardTabs:
    enabled: true

  LocalPathsInGemfile:
    enabled: true
    required: true

  RuboCop:
    enabled: true
    exclude: '.git-hooks/**/*.rb'

  RubySyntax:
    enabled: true

  # Custom hook
  ForbiddenExpressions:
    enabled: true
    required: true
    description: 'Checking for forbidden calls going to production code'
    include: '**/*.rb'
    exclude: '.git-hooks/**/*.rb'

# --------------
# Post Checkout
# --------------
PostCheckout:
  BundleInstall:
    enabled: true

# --------------
# Post Merge
# --------------
PostMerge:
  BundleInstall:
    enabled: true

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lanternshark-0.1.0 .overcommit.yml