1 Star 0 Fork 22

flashpig8014 / Bytebase

forked from Gitee 极速下载 / Bytebase 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.pre-commit-config.yaml 969 Bytes
一键复制 编辑 原始数据 按行查看 历史
Danny Xu 提交于 2022-08-26 10:21 . fix: fix golangci-lint errors (#2405)
repos:
# Frontend lint
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.3.0
hooks:
- id: eslint
files: frontend/.+\.([jt]sx?|vue)$
types: [file]
args: [--fix]
# Frontend formatting
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.4.1"
hooks:
- id: prettier
files: frontend/src/locales/.+\.json$
types_or: [json]
# Commit message check
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v2.2.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ["@commitlint/config-conventional"]
# Standardize whitespace, newline
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/golangci/golangci-lint
rev: v1.49.0
hooks:
- id: golangci-lint
1
https://gitee.com/flashpig8014/Bytebase.git
git@gitee.com:flashpig8014/Bytebase.git
flashpig8014
Bytebase
Bytebase
main

搜索帮助