1
0
mirror of https://github.com/NickKaramoff/toot synced 2025-02-12 01:30:52 +01:00
toot-script-condivisione-su.../.pre-commit-config.yaml

43 lines
1.3 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-08-26 15:15:56 +02:00
rev: "v3.0.2"
2023-03-01 12:12:17 +01:00
hooks:
- id: prettier
additional_dependencies:
2023-08-28 00:22:22 +02:00
- prettier # needed for pre-commit.ci
2023-08-26 15:15:56 +02:00
- prettier-plugin-astro@^0.12.0
2023-03-01 12:12:17 +01:00
- repo: https://github.com/pre-commit/mirrors-eslint
2023-08-26 15:15:56 +02:00
rev: "v8.48.0"
2023-03-01 12:12:17 +01:00
hooks:
- id: eslint
2023-03-18 03:06:09 +01:00
files: \.([jt]s|astro)$ # *.js, *.ts and *.astro
types: [file]
2023-03-01 12:12:17 +01:00
additional_dependencies:
2023-03-17 23:56:37 +01:00
- "@typescript-eslint/eslint-plugin"
- "@typescript-eslint/parser"
2023-03-18 03:09:26 +01:00
- eslint
2023-03-01 12:12:17 +01:00
- eslint-config-prettier
2023-03-17 23:56:37 +01:00
- eslint-plugin-astro
2023-08-28 00:22:22 +02:00
- astro-eslint-parser # needed for pre-commit.ci
2023-03-01 12:12:17 +01:00
- eslint-plugin-unicorn
2023-08-26 15:15:56 +02:00
- prettier@^3.0.2
- prettier-plugin-astro@^0.12.0
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-18 03:09:26 +01:00
additional_dependencies:
- stylelint
- stylelint-config-standard-scss