toot-script-condivisione-su.../.pre-commit-config.yaml

38 lines
1.1 KiB
YAML
Raw Normal View History

2023-03-01 12:12:17 +01:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- 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
2023-06-17 14:07:34 +02:00
rev: "v3.0.0-alpha.9-for-vscode"
2023-03-01 12:12:17 +01:00
hooks:
- id: prettier
additional_dependencies:
- prettier@2
2023-03-17 23:56:37 +01:00
- prettier-plugin-astro
2023-03-01 12:12:17 +01:00
- repo: https://github.com/pre-commit/mirrors-eslint
2023-06-17 14:07:34 +02:00
rev: "v8.43.0"
2023-03-01 12:12:17 +01:00
hooks:
- id: eslint
additional_dependencies:
- eslint
2023-03-17 23:56:37 +01:00
- "@typescript-eslint/eslint-plugin"
- "@typescript-eslint/parser"
2023-03-01 12:12:17 +01:00
- eslint-config-prettier
2023-03-17 23:56:37 +01:00
- eslint-plugin-astro
2023-03-01 12:12:17 +01:00
- eslint-plugin-unicorn
2023-06-17 14:07:34 +02:00
- prettier@2
2023-03-17 23:56:37 +01:00
- prettier-plugin-astro
2023-03-16 14:44:21 +01:00
- repo: https://github.com/awebdeveloper/pre-commit-stylelint
rev: "0.0.2"
hooks:
- id: stylelint
2023-03-16 14:46:00 +01:00
additional_dependencies: ["stylelint", "stylelint-config-standard-scss"]