### **PR Type**
Enhancement
___
### **Description**
- Remove unused pre-commit hooks
- Delete `pretty-format-ini` and `pretty-format-toml`
___
<details> <summary><h3> File Walkthrough</h3></summary>
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Configuration changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>.pre-commit-config.yaml</strong><dd><code>Clean up pre-commit hook configuration</code> </dd></summary>
<hr>
.pre-commit-config.yaml
<ul><li>Removed <code>pretty-format-ini</code> hook entry<br> <li> Removed <code>pretty-format-toml</code> hook entry</ul>
</details>
</td>
<td><a href="https://git.horstenkamp.eu/Screeps/screeps-deploy-action/src/branch/chore/pre-commit-cleanup/.pre-commit-config.yaml">+0/-8</a> </td>
</tr>
</table></td></tr></tr></tbody></table>
</details>
___
Reviewed-on: #61
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
exclude: ^(dist|node_modules)/
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: check-json
|
|
- id: check-added-large-files
|
|
args: [--enforce-all]
|
|
exclude: ^dist/index\.js$
|
|
- id: detect-private-key
|
|
- id: check-case-conflict
|
|
- id: check-symlinks
|
|
- id: pretty-format-json
|
|
args: [--autofix, --no-sort-keys, --no-ensure-ascii]
|
|
- id: check-merge-conflict
|
|
- id: no-commit-to-branch
|
|
|
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
|
rev: v2.15.0
|
|
hooks:
|
|
- id: pretty-format-yaml
|
|
args: [--autofix]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v4.0.0-alpha.8
|
|
hooks:
|
|
- id: prettier
|
|
types_or: [css, javascript]
|
|
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
rev: 0.36.0
|
|
hooks:
|
|
- id: check-renovate
|
|
- id: check-github-actions
|
|
- id: check-github-workflows
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
exclude: (.txt$|.ipynb$|README.md$|readme.mde$)
|
|
- id: trailing-whitespace
|
|
exclude: (.txt$|README.md$)
|
|
- id: mixed-line-ending
|
|
args: [--fix=lf]
|