Files
homebrew-tap/.pre-commit-config.yaml
Ismo Vuorinen 6dc9a170cc chore: fixes, several improvements and refactorings (#2)
* 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
2025-09-23 11:29:53 +03:00

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/"