mirror of
https://github.com/NickKaramoff/shareon
synced 2025-02-08 15:48:43 +01:00
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/pre-commit/mirrors-eslint: v9.0.0-alpha.2 → v9.4.0](https://github.com/pre-commit/mirrors-eslint/compare/v9.0.0-alpha.2...v9.4.0) - [github.com/kytta/mirrors-svgo: v3.2.0 → v3.3.2](https://github.com/kytta/mirrors-svgo/compare/v3.2.0...v3.3.2)
36 lines
992 B
YAML
36 lines
992 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
exclude: 'src/icons/.*\.svg'
|
|
- 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-prettier
|
|
rev: "v4.0.0-alpha.8"
|
|
hooks:
|
|
- id: prettier
|
|
additional_dependencies:
|
|
- prettier@3
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
rev: "v9.4.0"
|
|
hooks:
|
|
- id: eslint
|
|
files: \.([jt]s|astro)$ # *.js, *.ts and *.astro
|
|
types: [file]
|
|
additional_dependencies:
|
|
- eslint@8
|
|
- eslint-config-prettier@9
|
|
- eslint-plugin-unicorn@49
|
|
- prettier@3
|
|
- repo: https://github.com/kytta/mirrors-svgo
|
|
rev: v3.3.2
|
|
hooks:
|
|
- id: svgo
|
|
files: "^src/icons/"
|