mirror of
https://github.com/ivuorinen/homebrew-tap.git
synced 2026-01-26 03:14:04 +00:00
* chore: fixes * chore: rubocop fixes, linting, etc. * chore: switching to use `brew style` only * chore: use `brew style` for linting, skip example formulae in ci.yml * chore(lint): fixes, additions and tweaks
30 lines
782 B
YAML
30 lines
782 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: check-json
|
|
- id: check-merge-conflict
|
|
- id: detect-private-key
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: brew-style
|
|
name: Brew Style
|
|
entry: brew style --fix --reset-cache .
|
|
language: system
|
|
types: [ruby]
|
|
pass_filenames: false
|
|
require_serial: true
|
|
exclude: ^(docs/|vendor/|bin/|tmp/|\.git/|node_modules/)
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v4.0.0-alpha.8
|
|
hooks:
|
|
- id: prettier
|
|
types_or: [css, javascript, json, yaml]
|
|
exclude: "^docs/"
|