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

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