https://github.com/johnfraney/wotan-pre-commit
A pre-commit plugin for Wotan
https://github.com/johnfraney/wotan-pre-commit
linter pre-commit typescript vuejs wotan
Last synced: about 1 month ago
JSON representation
A pre-commit plugin for Wotan
- Host: GitHub
- URL: https://github.com/johnfraney/wotan-pre-commit
- Owner: johnfraney
- License: mit
- Created: 2019-05-27T15:19:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T20:00:33.000Z (over 3 years ago)
- Last Synced: 2025-04-07T10:44:23.670Z (about 1 year ago)
- Topics: linter, pre-commit, typescript, vuejs, wotan
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wotan pre-commit
This repository contains a [pre-commit hook](https://pre-commit.com/#pre-commit-configyaml---hooks) that runs [Wotan](https://github.com/fimbullinter/wotan) on staged TypeScript and Vue files.
## Usage
Ensure that [pre-commit is installed](https://pre-commit.com/#install), then add this repo to your project's `.pre-commit-config.yaml` file:
```yaml
repos:
- repo: https://github.com/johnfraney/wotan-pre-commit
rev: v0.1.0
hooks:
- id: wotan
language: node
types: [vue, ts]
```