Skip to content

Commit 847e23b

Browse files
authored
Merge branch 'main' into feat/setup-new-products
2 parents 68955e1 + 0c323fa commit 847e23b

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ format-check:
1616

1717
format-generated:
1818
pnpm install
19-
# Cleanup unused imports/variables in generated TS with dedicated config
20-
pnpm biome lint --write --unsafe --config-path scripts/templates/biome.generated.json packages_generated/
19+
pnpm biome lint --write --unsafe --config-path scripts/templates/biome.generated.json --only correctness/noUnusedImports --only correctness/noUnusedVariables packages_generated/
2120

2221
typing:
2322
pnpm run typecheck

packages_generated/tem/src/v1alpha1/api.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class API extends ParentAPI {
109109
})
110110

111111
/**
112-
* Send an email. You must specify the `region`, the sender and the recipient's information and the `project_id` to send an email from a checked domain. The subject of the email must contain at least 6 characters.
112+
* Send an email. You must specify the `region`, the sender and the recipient's information and the `project_id` to send an email from a checked domain.
113113
*
114114
* @param request - The request {@link CreateEmailRequest}
115115
* @returns A Promise of CreateEmailResponse

packages_generated/tem/src/v1alpha1/validation-rules.gen.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export const CreateDomainRequest = {
1717
export const CreateEmailRequest = {
1818
subject: {
1919
maxLength: 998,
20-
minLength: 6,
2120
},
2221
}
2322

@@ -90,7 +89,6 @@ export const ListEmailsRequest = {
9089
},
9190
subject: {
9291
maxLength: 998,
93-
minLength: 6,
9492
},
9593
}
9694

scripts/templates/biome.generated.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"root": false,
33
"$schema": "../../node_modules/@biomejs/biome/configuration_schema.json",
44
"files": {
5-
"ignoreUnknown": true
5+
"ignoreUnknown": true,
6+
"experimentalScannerIgnores": ["**/dist/**"]
67
},
78
"linter": {
89
"enabled": true,
@@ -17,7 +18,8 @@
1718
"noDefaultExport": "off"
1819
},
1920
"suspicious": {
20-
"noShadowRestrictedNames": "off"
21+
"noShadowRestrictedNames": "off",
22+
"noEmptyInterface": "off"
2123
},
2224
"performance": {
2325
"noAccumulatingSpread": "off"

0 commit comments

Comments
 (0)