mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-05-24 08:15:17 +00:00
5f8b2f9131
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
# SPDX-FileCopyrightText: 2024 Gnuxie <Gnuxie@protonmail.com>
|
|
#
|
|
# SPDX-License-Identifier: 0BSD
|
|
|
|
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
# See https://pre-commit.ci for more information
|
|
ci:
|
|
autoupdate_schedule: monthly
|
|
skip: [npm-lint, npm-build]
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
args: ["--markdown-linebreak-ext", "md"]
|
|
exclude_types: [svg]
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
|
rev: "3.6.1"
|
|
hooks:
|
|
- id: editorconfig-checker
|
|
alias: ec
|
|
- repo: https://github.com/fsfe/reuse-tool
|
|
rev: v6.2.0
|
|
hooks:
|
|
- id: reuse
|
|
- repo: local
|
|
hooks:
|
|
- id: npm-build
|
|
name: npm build
|
|
entry: npm run build:all
|
|
language: system
|
|
pass_filenames: false
|
|
- repo: local
|
|
hooks:
|
|
- id: npm-lint
|
|
name: linter
|
|
entry: npm run lint
|
|
language: system
|
|
pass_filenames: false
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
rev: 0.37.2
|
|
hooks:
|
|
- id: check-renovate
|
|
additional_dependencies: ["pyjson5"]
|