Skip to content

Commit 2d2c4d3

Browse files
committed
update biome
1 parent c22fbe4 commit 2d2c4d3

File tree

20 files changed

+708
-270
lines changed

20 files changed

+708
-270
lines changed

.vscode/launch.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
"type": "extensionHost",
2424
"request": "launch",
2525
"runtimeExecutable": "${execPath}",
26-
"args": [
27-
"--extensionDevelopmentPath=${workspaceFolder}"
28-
],
26+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
2927
"env": {
3028
"ELS_LOCAL": "1"
3129
},
@@ -42,8 +40,7 @@
4240
"--disable-extensions",
4341
"--extensionDevelopmentPath=${workspaceFolder}"
4442
],
45-
"env": {
46-
},
43+
"env": {},
4744
"sourceMaps": true,
4845
"outFiles": ["${workspaceFolder}/out/**/*.js"],
4946
"preLaunchTask": "build"

.vscode/tasks.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
// Available variables which can be used inside of strings.
2-
// ${workspaceRoot}: the root folder of the team
3-
// ${file}: the current opened file
4-
// ${fileBasename}: the current opened file's basename
5-
// ${fileDirname}: the current opened file's dirname
6-
// ${fileExtname}: the current opened file's extension
7-
// ${cwd}: the current working directory of the spawned process
8-
9-
// A task runner that calls a custom npm script that compiles the extension.
10-
{
11-
"version": "2.0.0",
12-
"tasks": [
13-
{
14-
"label": "build",
15-
"type": "shell",
16-
"command": "npm",
17-
"args": ["run", "esbuild"],
18-
"group": "build",
19-
"problemMatcher": "$tsc-watch",
20-
"presentation": {
21-
"echo": true,
22-
"reveal": "always",
23-
"focus": false,
24-
"panel": "shared",
25-
"showReuseMessage": true,
26-
"clear": false
27-
}
28-
}
29-
]
30-
}
1+
// Available variables which can be used inside of strings.
2+
// ${workspaceRoot}: the root folder of the team
3+
// ${file}: the current opened file
4+
// ${fileBasename}: the current opened file's basename
5+
// ${fileDirname}: the current opened file's dirname
6+
// ${fileExtname}: the current opened file's extension
7+
// ${cwd}: the current working directory of the spawned process
8+
9+
// A task runner that calls a custom npm script that compiles the extension.
10+
{
11+
"version": "2.0.0",
12+
"tasks": [
13+
{
14+
"label": "build",
15+
"type": "shell",
16+
"command": "npm",
17+
"args": ["run", "esbuild"],
18+
"group": "build",
19+
"problemMatcher": "$tsc-watch",
20+
"presentation": {
21+
"echo": true,
22+
"reveal": "always",
23+
"focus": false,
24+
"panel": "shared",
25+
"showReuseMessage": true,
26+
"clear": false
27+
}
28+
}
29+
]
30+
}

biome.json

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,25 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
33
"vcs": {
4-
"enabled": false,
4+
"enabled": true,
55
"clientKind": "git",
6-
"useIgnoreFile": false
6+
"useIgnoreFile": true
77
},
88
"files": {
9-
"ignoreUnknown": false,
10-
"ignore": [
11-
"node_modules",
12-
".vscode-test",
13-
"out",
14-
"syntaxes",
15-
"elixir-ls",
16-
".vscode",
17-
"elixir-language-configuration.json",
18-
"eex-language-configuration.json",
19-
"telemetry.json"
20-
]
9+
"ignoreUnknown": false
2110
},
2211
"formatter": {
2312
"enabled": true,
2413
"indentStyle": "space"
2514
},
26-
"organizeImports": {
27-
"enabled": true
28-
},
2915
"linter": {
3016
"enabled": true,
3117
"rules": {
32-
"recommended": true
18+
"recommended": true,
19+
"suspicious": {
20+
"noNonNullAssertedOptionalChain": "off",
21+
"useIterableCallbackReturn": "off"
22+
}
3323
}
3424
},
3525
"javascript": {

eex-language-configuration.json

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
11
{
22
"comments": {
3-
"blockComment": [
4-
["<%!--", "--%>"],
5-
["<%#", "%>"]
6-
]
3+
"blockComment": [["<%!--", "--%>"], ["<%#", "%>"]]
74
},
8-
"brackets": [
9-
["<", ">"],
10-
["{", "}"],
11-
["(", ")"],
12-
["[", "]"]
13-
],
14-
"colorizedBracketPairs": [
15-
["{", "}"],
16-
["[", "]"],
17-
["(", ")"]
18-
],
5+
"brackets": [["<", ">"], ["{", "}"], ["(", ")"], ["[", "]"]],
6+
"colorizedBracketPairs": [["{", "}"], ["[", "]"], ["(", ")"]],
197
"autoClosingPairs": [
208
["{", "}"],
219
["[", "]"],

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.

0 commit comments

Comments
 (0)