fix: use local prettier from package.json and clean up prettierignore
- Replace mirrors-prettier alpha (v4.0.0-alpha.8) with local hook using the stable prettier installed via package.json - Remove .prettierignore entries already handled by the hook's exclude pattern Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,10 +23,13 @@ repos:
|
|||||||
- id: isort
|
- id: isort
|
||||||
args: [--settings-path=pyproject.toml]
|
args: [--settings-path=pyproject.toml]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: local
|
||||||
rev: v4.0.0-alpha.8
|
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
|
name: prettier
|
||||||
|
entry: npx prettier --write --ignore-unknown
|
||||||
|
language: node
|
||||||
|
types_or: [javascript, ts, json, yaml, markdown]
|
||||||
exclude: ^(dist/|package-lock\.json|\.venv/|python/)
|
exclude: ^(dist/|package-lock\.json|\.venv/|python/)
|
||||||
|
|
||||||
- repo: https://github.com/pycqa/flake8
|
- repo: https://github.com/pycqa/flake8
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
dist/
|
|
||||||
node_modules/
|
|
||||||
coverage.xml
|
coverage.xml
|
||||||
htmlcov/
|
htmlcov/
|
||||||
data/
|
data/
|
||||||
*.kicad_*
|
*.kicad_*
|
||||||
python/
|
|
||||||
package-lock.json
|
|
||||||
.venv/
|
|
||||||
|
|||||||
Reference in New Issue
Block a user