# 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