1
0
mirror of https://github.com/NickKaramoff/shareon synced 2025-02-08 07:38:52 +01:00
shareon-pulsanti-condivisio.../.pre-commit-config.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
857 B
YAML
Raw Normal View History

2023-03-20 19:08:01 +01:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
2023-03-20 19:08:01 +01:00
hooks:
- id: end-of-file-fixer
2023-07-15 11:35:46 +02:00
exclude: 'src/icons/.*\.svg'
2023-03-20 19:08:01 +01:00
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: check-json
- id: check-toml
- id: check-yaml
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v9.14.0"
2023-03-20 19:08:01 +01:00
hooks:
- id: eslint
files: \.([jt]s|astro)$ # *.js, *.ts and *.astro
types: [file]
additional_dependencies:
# TODO: update ESLint to v9
2024-01-20 15:30:07 +01:00
- eslint@8
- eslint-plugin-unicorn@49
- repo: https://github.com/kytta/mirrors-svgo
rev: v4.0.0-rc.1
2023-07-15 11:36:09 +02:00
hooks:
- id: svgo
files: "^src/icons/"
additional_dependencies:
- svgo@3