Skip to content

Commit 3dcfa4a

Browse files
committed
chore: update biome and schema
Signed-off-by: Tierney Cyren <[email protected]>
1 parent 15deffa commit 3dcfa4a

File tree

3 files changed

+57
-44
lines changed

3 files changed

+57
-44
lines changed

biome.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
3-
"organizeImports": {
4-
"enabled": true
5-
},
2+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
3+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
64
"javascript": {
75
"formatter": {
86
"quoteStyle": "single"
@@ -14,6 +12,18 @@
1412
"recommended": true,
1513
"performance": {
1614
"noDelete": "warn"
15+
},
16+
"style": {
17+
"noParameterAssign": "error",
18+
"useAsConstAssertion": "error",
19+
"useDefaultParameterLast": "error",
20+
"useEnumInitializers": "error",
21+
"useSelfClosingElements": "error",
22+
"useSingleVarDeclarator": "error",
23+
"noUnusedTemplateLiteral": "error",
24+
"useNumberNamespace": "error",
25+
"noInferrableTypes": "error",
26+
"noUselessElse": "error"
1727
}
1828
}
1929
}

package-lock.json

Lines changed: 36 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@twilio/cli-core": "^7.27.2"
1313
},
1414
"devDependencies": {
15-
"@biomejs/biome": "1.9.4",
15+
"@biomejs/biome": "2.0.5",
1616
"chai": "^5.2.0",
1717
"mocha": "^11.1.0",
1818
"nyc": "^17.1.0",
@@ -29,13 +29,17 @@
2929
"/yarn.lock"
3030
],
3131
"homepage": "https://github.com/twilio-labs/plugin-token",
32-
"keywords": ["oclif-plugin"],
32+
"keywords": [
33+
"oclif-plugin"
34+
],
3335
"license": "MIT",
3436
"oclif": {
3537
"name": "token",
3638
"commands": "./src/commands",
3739
"bin": "twilio",
38-
"devPlugins": ["@oclif/plugin-help"],
40+
"devPlugins": [
41+
"@oclif/plugin-help"
42+
],
3943
"topics": {
4044
"token": {
4145
"description": "Generate a temporary token for use in test applications"

0 commit comments

Comments
 (0)