https://github.com/hugoh/pre-commit-fish
pre-commit hooks for Fish scripts
https://github.com/hugoh/pre-commit-fish
fish-shell linter pre-commit pre-commit-hook pre-commit-hooks
Last synced: 12 days ago
JSON representation
pre-commit hooks for Fish scripts
- Host: GitHub
- URL: https://github.com/hugoh/pre-commit-fish
- Owner: hugoh
- Created: 2021-04-25T02:09:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-23T21:09:07.000Z (almost 2 years ago)
- Last Synced: 2024-04-23T23:09:52.781Z (almost 2 years ago)
- Topics: fish-shell, linter, pre-commit, pre-commit-hook, pre-commit-hooks
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pre-commit hooks for Fish scripts
[pre-commit](https://pre-commit.com/) hooks to check syntax and indentation using built-in [Fish shell](https://fishshell.com/) checkers.
## Usage
```yaml
---
repos:
- repo: https://github.com/hugoh/pre-commit-fish.git
rev: v1.2
hooks:
- id: fish_syntax
- id: fish_indent
```
## Tests supported
### Syntax
Id: `fish_syntax`
### Indentation
Id: `fish_indent`