Skip to content

Commit

Permalink
Move prettierignore and stylelintignore to pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
antonymilne committed Jan 20, 2025
1 parent c7cb04d commit 2db891b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
6 changes: 2 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"postAttachCommand": "cd vizro-core && hr examples:example",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python"
]
"extensions": ["ms-python.python"]
}
},
"build": {
Expand All @@ -18,7 +16,7 @@
"8050": {
"label": "scratch_dev example"
}
},
}
// It would be nice if the Python interpreter were automatically set in codespaces.
// In theory this should work automatically but it doesn't seem to - maybe an issue with codespaces?
// https://code.visualstudio.com/updates/v1_88#_hatch-environment-discovery
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repos:
language: node
types: [text]
additional_dependencies: ["[email protected]"]
exclude_types: [markdown]
exclude_types: [markdown, css]

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
Expand Down Expand Up @@ -83,6 +83,7 @@ repos:
- [email protected]
- [email protected]
args: ["--fix"]
exclude: ^vizro-core/src/vizro/static/css/.+\.min.*|^vizro-core/src/vizro/static/css/mantine_dates.css

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.21
Expand Down
4 changes: 0 additions & 4 deletions .prettierignore

This file was deleted.

2 changes: 0 additions & 2 deletions .stylelintignore

This file was deleted.

0 comments on commit 2db891b

Please sign in to comment.