Skip to content

Commit 151a58b

Browse files
committed
linting fixes
1 parent f5222c8 commit 151a58b

File tree

5 files changed

+59
-120
lines changed

5 files changed

+59
-120
lines changed

biome.json

Lines changed: 3 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
33
"files": {
4-
"includes": ["**/*"],
4+
"ignore": ["node_modules/**", "dist/**", "**/tsconfig*"],
55
"maxSize": 3670016
66
},
77
"vcs": {
@@ -27,68 +27,7 @@
2727
"linter": {
2828
"enabled": true,
2929
"rules": {
30-
"recommended": true,
31-
"a11y": {
32-
"noAutofocus": "off",
33-
"noSvgWithoutTitle": "off",
34-
"useAltText": "off",
35-
"useButtonType": "off",
36-
"useKeyWithClickEvents": "off",
37-
"useKeyWithMouseEvents": "off",
38-
"useValidAnchor": "off",
39-
"noLabelWithoutControl": "off",
40-
"useSemanticElements": "off"
41-
},
42-
"suspicious": {
43-
"noExplicitAny": "off",
44-
"noAssignInExpressions": "off",
45-
"noGlobalIsNan": "off",
46-
"noArrayIndexKey": "off",
47-
"noAsyncPromiseExecutor": "off",
48-
"noConfusingVoidType": "off",
49-
"noImplicitAnyLet": "off",
50-
"noShadowRestrictedNames": "off",
51-
"useDefaultSwitchClauseLast": "off",
52-
"useGetterReturn": "off",
53-
"noRedeclare": "off"
54-
},
55-
"complexity": {
56-
"noForEach": "off",
57-
"noUselessFragments": "off",
58-
"noUselessSwitchCase": "off",
59-
"useOptionalChain": "off",
60-
"noBannedTypes": "off",
61-
"useArrowFunction": "off",
62-
"noStaticOnlyClass": "off"
63-
},
64-
"correctness": {
65-
"useExhaustiveDependencies": "off",
66-
"noChildrenProp": "off",
67-
"useJsxKeyInIterable": "off",
68-
"noUnsafeOptionalChaining": "off",
69-
"noConstructorReturn": "off",
70-
"noUnusedImports": {
71-
"level": "warn"
72-
},
73-
"noUnusedVariables": {
74-
"level": "warn"
75-
}
76-
},
77-
"performance": {
78-
"noAccumulatingSpread": "off",
79-
"noDelete": "off"
80-
},
81-
"style": {
82-
"noNonNullAssertion": "off",
83-
"useDefaultParameterLast": "off",
84-
"useNodejsImportProtocol": "off",
85-
"noParameterAssign": "off",
86-
"useConst": "off"
87-
},
88-
"nursery": {},
89-
"security": {
90-
"noDangerouslySetInnerHtml": "off"
91-
}
30+
"recommended": true
9231
}
9332
}
9433
}

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"private": false
7979
},
8080
{
81-
"title": "Dynamic text spans",
81+
"title": "Dynamic text tags from textarea",
8282
"description": "Dynamically populates a text box given the input of a text area tag for span based labeling",
8383
"path": "dynamic-text-spans",
8484
"private": false

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"license": "MIT",
99
"private": true,
1010
"scripts": {
11-
"lint": "biome check --write .",
11+
"lint": "biome check --apply .",
1212
"prepare": "husky"
1313
},
1414
"dependencies": {},
1515
"devDependencies": {
16-
"@biomejs/biome": "^2.0.6",
16+
"@biomejs/biome": "^1.9.4",
1717
"husky": "^9.1.7"
1818
}
1919
}

validate-structure.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22

3-
import { existsSync, readdirSync, readFileSync } from "node:fs";
3+
import { existsSync, readFileSync, readdirSync } from "node:fs";
44
import { join } from "node:path";
55

66
const ROOT_DIR = process.cwd();

yarn.lock

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,59 @@
22
# yarn lockfile v1
33

44

5-
"@biomejs/biome@^2.0.6":
6-
version "2.0.6"
7-
resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-2.0.6.tgz#23a40836078496a0afd61981830e2cffdd0b7c6a"
8-
integrity sha512-RRP+9cdh5qwe2t0gORwXaa27oTOiQRQvrFf49x2PA1tnpsyU7FIHX4ZOFMtBC4QNtyWsN7Dqkf5EDbg4X+9iqA==
5+
"@biomejs/biome@^1.9.4":
6+
version "1.9.4"
7+
resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.9.4.tgz#89766281cbc3a0aae865a7ff13d6aaffea2842bf"
8+
integrity sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==
99
optionalDependencies:
10-
"@biomejs/cli-darwin-arm64" "2.0.6"
11-
"@biomejs/cli-darwin-x64" "2.0.6"
12-
"@biomejs/cli-linux-arm64" "2.0.6"
13-
"@biomejs/cli-linux-arm64-musl" "2.0.6"
14-
"@biomejs/cli-linux-x64" "2.0.6"
15-
"@biomejs/cli-linux-x64-musl" "2.0.6"
16-
"@biomejs/cli-win32-arm64" "2.0.6"
17-
"@biomejs/cli-win32-x64" "2.0.6"
18-
19-
"@biomejs/cli-darwin-arm64@2.0.6":
20-
version "2.0.6"
21-
resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.0.6.tgz#1121846e8fea18552a29b994a2db69fdd17fa4f1"
22-
integrity sha512-AzdiNNjNzsE6LfqWyBvcL29uWoIuZUkndu+wwlXW13EKcBHbbKjNQEZIJKYDc6IL+p7bmWGx3v9ZtcRyIoIz5A==
23-
24-
"@biomejs/cli-darwin-x64@2.0.6":
25-
version "2.0.6"
26-
resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.0.6.tgz#87915d3bae7da978ccae2950939b54e4d434828d"
27-
integrity sha512-wJjjP4E7bO4WJmiQaLnsdXMa516dbtC6542qeRkyJg0MqMXP0fvs4gdsHhZ7p9XWTAmGIjZHFKXdsjBvKGIJJQ==
28-
29-
"@biomejs/cli-linux-arm64-musl@2.0.6":
30-
version "2.0.6"
31-
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.0.6.tgz#b148603978eebd4828889727b940506891014c6e"
32-
integrity sha512-CVPEMlin3bW49sBqLBg2x016Pws7eUXA27XYDFlEtponD0luYjg2zQaMJ2nOqlkKG9fqzzkamdYxHdMDc2gZFw==
33-
34-
"@biomejs/cli-linux-arm64@2.0.6":
35-
version "2.0.6"
36-
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.0.6.tgz#7ed0943b74ce99e0002da08025fb9d09f591fa78"
37-
integrity sha512-ZSVf6TYo5rNMUHIW1tww+rs/krol7U5A1Is/yzWyHVZguuB0lBnIodqyFuwCNqG9aJGyk7xIMS8HG0qGUPz0SA==
38-
39-
"@biomejs/cli-linux-x64-musl@2.0.6":
40-
version "2.0.6"
41-
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.0.6.tgz#979cab6bec8e4d5898b4564118fabc9a657270f1"
42-
integrity sha512-mKHE/e954hR/hSnAcJSjkf4xGqZc/53Kh39HVW1EgO5iFi0JutTN07TSjEMg616julRtfSNJi0KNyxvc30Y4rQ==
43-
44-
"@biomejs/cli-linux-x64@2.0.6":
45-
version "2.0.6"
46-
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-2.0.6.tgz#13ddebbf0b5e807fbf7d3edad7d8a052459c021e"
47-
integrity sha512-geM1MkHTV1Kh2Cs/Xzot9BOF3WBacihw6bkEmxkz4nSga8B9/hWy5BDiOG3gHDGIBa8WxT0nzsJs2f/hPqQIQw==
48-
49-
"@biomejs/cli-win32-arm64@2.0.6":
50-
version "2.0.6"
51-
resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.0.6.tgz#cead818d167948c991e5034b76008d7abb99d79e"
52-
integrity sha512-290V4oSFoKaprKE1zkYVsDfAdn0An5DowZ+GIABgjoq1ndhvNxkJcpxPsiYtT7slbVe3xmlT0ncdfOsN7KruzA==
53-
54-
"@biomejs/cli-win32-x64@2.0.6":
55-
version "2.0.6"
56-
resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-2.0.6.tgz#53acf543060bfda18853dfa81b34e6e95fb545a5"
57-
integrity sha512-bfM1Bce0d69Ao7pjTjUS+AWSZ02+5UHdiAP85Th8e9yV5xzw6JrHXbL5YWlcEKQ84FIZMdDc7ncuti1wd2sdbw==
10+
"@biomejs/cli-darwin-arm64" "1.9.4"
11+
"@biomejs/cli-darwin-x64" "1.9.4"
12+
"@biomejs/cli-linux-arm64" "1.9.4"
13+
"@biomejs/cli-linux-arm64-musl" "1.9.4"
14+
"@biomejs/cli-linux-x64" "1.9.4"
15+
"@biomejs/cli-linux-x64-musl" "1.9.4"
16+
"@biomejs/cli-win32-arm64" "1.9.4"
17+
"@biomejs/cli-win32-x64" "1.9.4"
18+
19+
"@biomejs/cli-darwin-arm64@1.9.4":
20+
version "1.9.4"
21+
resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.9.4.tgz#dfa376d23a54a2d8f17133c92f23c1bf2e62509f"
22+
integrity sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==
23+
24+
"@biomejs/cli-darwin-x64@1.9.4":
25+
version "1.9.4"
26+
resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.9.4.tgz#eafc2ce3849d385fc02238aad1ca4a73395a64d9"
27+
integrity sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==
28+
29+
"@biomejs/cli-linux-arm64-musl@1.9.4":
30+
version "1.9.4"
31+
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.9.4.tgz#d780c3e01758fc90f3268357e3f19163d1f84fca"
32+
integrity sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==
33+
34+
"@biomejs/cli-linux-arm64@1.9.4":
35+
version "1.9.4"
36+
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.9.4.tgz#8ed1dd0e89419a4b66a47f95aefb8c46ae6041c9"
37+
integrity sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==
38+
39+
"@biomejs/cli-linux-x64-musl@1.9.4":
40+
version "1.9.4"
41+
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.9.4.tgz#f36982b966bd671a36671e1de4417963d7db15fb"
42+
integrity sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==
43+
44+
"@biomejs/cli-linux-x64@1.9.4":
45+
version "1.9.4"
46+
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.9.4.tgz#a0a7f56680c76b8034ddc149dbf398bdd3a462e8"
47+
integrity sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==
48+
49+
"@biomejs/cli-win32-arm64@1.9.4":
50+
version "1.9.4"
51+
resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.9.4.tgz#e2ef4e0084e76b7e26f0fc887c5ef1265ea56200"
52+
integrity sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==
53+
54+
"@biomejs/cli-win32-x64@1.9.4":
55+
version "1.9.4"
56+
resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.9.4.tgz#4c7afa90e3970213599b4095e62f87e5972b2340"
57+
integrity sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==
5858

5959
husky@^9.1.7:
6060
version "9.1.7"

0 commit comments

Comments
 (0)