Skip to content

Commit 85df5fe

Browse files
committed
cop biome
1 parent 9ca5c74 commit 85df5fe

File tree

8 files changed

+28
-18
lines changed

8 files changed

+28
-18
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v0.0.56-5-g110abdd
2+
_commit: v0.0.56-7-g761cc09
33
_src_path: gh:LabAutomationAndScreening/copier-base-template.git
44
description: A web app that is hosted within a local intranet. Nuxt frontend, python
55
backend, docker-compose

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@
6161
"initializeCommand": "sh .devcontainer/initialize-command.sh",
6262
"onCreateCommand": "sh .devcontainer/on-create-command.sh",
6363
"postStartCommand": "sh .devcontainer/post-start-command.sh"
64-
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): 73b9c7f8 # spellchecker:disable-line
64+
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): 1fbce8a0 # spellchecker:disable-line
6565
}

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ repos:
8484
.*devcontainer.json|
8585
.*pyrightconfig.json|
8686
.*tsconfig.json|
87+
.*biome.jsonc|
8788
.*/vendor_files/.*|
8889
)$
8990
args: [--autofix, --no-sort-keys]
@@ -92,6 +93,7 @@ repos:
9293
rev: a450e9c04887b1305951c298db5999cd30155f74 # frozen: v2.1.1
9394
hooks:
9495
- id: biome-check
96+
# exclude generated files from codegen and strawberry
9597
exclude: |
9698
(?x)^(
9799
.*generated/graphql.ts|
@@ -118,6 +120,7 @@ repos:
118120
.*.yaml|
119121
.*.yml|
120122
.*.md|
123+
.*.jsonc|
121124
.*/vendor_files/.*|
122125
.*/schema.graphql|
123126
.*generated/graphql.ts|

biome.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

biome.jsonc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"formatter": {
3+
"enabled": false,
4+
},
5+
"linter": {
6+
"enabled": false,
7+
},
8+
"files": {
9+
"includes": ["**", "!template/template/biome.jsonc", "!template/biome.jsonc"],
10+
},
11+
}

template/.pre-commit-config.yaml.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ repos:
8383
.*devcontainer.json|
8484
.*pyrightconfig.json|
8585
.*tsconfig.json|
86+
.*biome.jsonc|
8687
.*/vendor_files/.*|
8788
)$
8889
args: [--autofix, --no-sort-keys]

template/biome.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

template/biome.jsonc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"formatter": {
3+
"enabled": false,
4+
},
5+
"linter": {
6+
"enabled": false,
7+
},
8+
"files": {
9+
"includes": ["**", "!template/template/biome.jsonc", "!template/biome.jsonc"],
10+
},
11+
}

0 commit comments

Comments
 (0)