mirror of
https://github.com/ethersync/ethersync.git
synced 2025-08-02 04:07:29 +03:00
32 lines
926 B
YAML
32 lines
926 B
YAML
# SPDX-FileCopyrightText: NONE
|
|
#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/doublify/pre-commit-rust
|
|
rev: v1.0
|
|
hooks:
|
|
- id: fmt
|
|
args: ['--manifest-path', './daemon/Cargo.toml', '--']
|
|
- id: cargo-check
|
|
args: ['--manifest-path', './daemon/Cargo.toml']
|
|
- repo: https://github.com/JohnnyMorganz/StyLua
|
|
rev: v2.1.0
|
|
hooks:
|
|
- id: stylua
|
|
args: ['--config-path', 'nvim-plugin/.stylua.toml', '--check', 'nvim-plugin']
|
|
- repo: https://github.com/fsfe/reuse-tool
|
|
rev: v5.0.2
|
|
hooks:
|
|
- id: reuse-lint-file
|
|
exclude: ^LICENSES
|