This repository has been archived on 2024-05-13. You can view files and clone it, but cannot push or open issues or pull requests.
share2fedi/.pre-commit-config.yaml

41 lines
1.2 KiB
YAML
Raw Normal View History

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