-
Notifications
You must be signed in to change notification settings - Fork 1
Copier update (biome) #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "formatter": { | ||
| "enabled": false, | ||
| }, | ||
| "linter": { | ||
| "enabled": false, | ||
| }, | ||
| "files": { | ||
| "includes": [ | ||
| "**", | ||
| "!template/template/biome.jsonc", | ||
| "!template/biome.jsonc", | ||
| "!**/*.css", // still too many false positives, so we exclude CSS files | ||
| ], | ||
| }, | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -42,9 +42,16 @@ repos: | |||||||||||||||||||||
|
|
||||||||||||||||||||||
| # Reformatting (should generally come before any file format or other checks, because reformatting can change things) | ||||||||||||||||||||||
| - repo: https://github.com/crate-ci/typos | ||||||||||||||||||||||
| rev: 0f0ccba9ed1df83948f0c15026e4f5ccfce46109 # frozen: v1.32.0 | ||||||||||||||||||||||
| rev: 392b78fe18a52790c53f42456e46124f77346842 # frozen: v1.34.0 | ||||||||||||||||||||||
| hooks: | ||||||||||||||||||||||
| - id: typos | ||||||||||||||||||||||
| exclude: | ||||||||||||||||||||||
| | | ||||||||||||||||||||||
| (?x)^( | ||||||||||||||||||||||
| .*\.min.js| | ||||||||||||||||||||||
| .*\.min.css| | ||||||||||||||||||||||
| .*\.umd.js| | ||||||||||||||||||||||
| )$ | ||||||||||||||||||||||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||||||||||||||||||||||
| rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0 | ||||||||||||||||||||||
| hooks: | ||||||||||||||||||||||
|
|
@@ -77,17 +84,21 @@ repos: | |||||||||||||||||||||
| .*devcontainer.json| | ||||||||||||||||||||||
| .*pyrightconfig.json| | ||||||||||||||||||||||
| .*tsconfig.json| | ||||||||||||||||||||||
| .*biome.jsonc| | ||||||||||||||||||||||
| .*/vendor_files/.*| | ||||||||||||||||||||||
| )$ | ||||||||||||||||||||||
| args: [--autofix, --no-sort-keys] | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - repo: https://github.com/biomejs/pre-commit | ||||||||||||||||||||||
| rev: 748e40d32e076a6aaaf3353a2564c8fe43764f79 # frozen: v2.0.0-beta.1 | ||||||||||||||||||||||
| rev: a450e9c04887b1305951c298db5999cd30155f74 # frozen: v2.1.1 | ||||||||||||||||||||||
| hooks: | ||||||||||||||||||||||
| - id: biome-check | ||||||||||||||||||||||
| # exclude generated files from codegen and strawberry | ||||||||||||||||||||||
| exclude: | | ||||||||||||||||||||||
| (?x)^( | ||||||||||||||||||||||
| .*generated/graphql.ts| | ||||||||||||||||||||||
| .*/schema.graphql| | ||||||||||||||||||||||
| .*pyrightconfig\.json| | ||||||||||||||||||||||
| )$ | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - repo: https://github.com/pre-commit/mirrors-prettier # TODO: switch to a different approach...this was archived in 2024 | ||||||||||||||||||||||
|
|
@@ -102,10 +113,17 @@ repos: | |||||||||||||||||||||
| .*devcontainer.json| | ||||||||||||||||||||||
| .*pyrightconfig.json| | ||||||||||||||||||||||
| .*tsconfig.json| | ||||||||||||||||||||||
| .*/__snapshots__/.*| | ||||||||||||||||||||||
| .*.min.js| | ||||||||||||||||||||||
| .*.min.css| | ||||||||||||||||||||||
| .*.umd.js| | ||||||||||||||||||||||
| .*.yaml| | ||||||||||||||||||||||
|
Comment on lines
+116
to
120
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Regex typo –
- .*.min.js|
- .*.min.css|
- .*.umd.js|
+ .*\.min\.js|
+ .*\.min\.css|
+ .*\.umd\.js|📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||
| .*.yml| | ||||||||||||||||||||||
| .*.md| | ||||||||||||||||||||||
| .*.jsonc| | ||||||||||||||||||||||
| .*/vendor_files/.*| | ||||||||||||||||||||||
| .*/schema.graphql| | ||||||||||||||||||||||
| .*generated/graphql.ts| | ||||||||||||||||||||||
| )$ | ||||||||||||||||||||||
| files: (.*.json)|(.*.ts)|(.*.jsx)|(.*.tsx)|(.*.yaml)|(.*.yml)|(.*.md)|(.*.html)|(.*.css)|(.*.scss)|(.*.less)|(.*.vue)|(.*.graphql)|(.*.gql) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
@@ -204,7 +222,7 @@ repos: | |||||||||||||||||||||
| description: Runs hadolint to lint Dockerfiles | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - repo: https://github.com/astral-sh/ruff-pre-commit | ||||||||||||||||||||||
| rev: 24e02b24b8ab2b7c76225602d13fa60e12d114e6 # frozen: v0.11.9 | ||||||||||||||||||||||
| rev: 3d44372123ca5e8617fdb65d9f11facd159b9e95 # frozen: v0.12.3 | ||||||||||||||||||||||
| hooks: | ||||||||||||||||||||||
| - id: ruff | ||||||||||||||||||||||
| name: ruff-src | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "formatter": { | ||
| "enabled": false, | ||
| }, | ||
| "linter": { | ||
| "enabled": false, | ||
| }, | ||
| "files": { | ||
| "includes": [ | ||
| "**", | ||
| "!template/template/biome.jsonc", | ||
| "!template/biome.jsonc", | ||
| "!**/*.css", // still too many false positives, so we exclude CSS files | ||
| ], | ||
| }, | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The wildcard dependency-name pattern "*" is overly broad and may prevent important security patches from being automatically updated. Consider being more specific about which dependencies should ignore patch updates.