tangled
alpha
login
or
join now
samanthanguyen.me
/
www
0
fork
atom
samantha's personal website!~ ✨
samanthanguyen.me
0
fork
atom
overview
issues
1
pulls
pipelines
deps: update oxlint from v0.16.6 to v1.5.0
Fixes #4
samanthanguyen.me
8 months ago
1c4ce5dc
2d2ed564
+115
-141
3 changed files
expand all
collapse all
unified
split
.oxlintrc.json
package-lock.json
package.json
+78
-104
.oxlintrc.json
···
1
1
{
2
2
-
"$schema": "./node_modules/oxlint/configuration_schema.json",
3
3
-
"plugins": [
4
4
-
"typescript"
5
5
-
],
6
6
-
"categories": {
7
7
-
"correctness": "off"
8
8
-
},
9
9
-
"env": {
10
10
-
"builtin": true,
11
11
-
"browser": true,
12
12
-
"commonjs": true,
13
13
-
"node": true,
14
14
-
"shared-node-browser": true
15
15
-
},
16
16
-
"ignorePatterns": [
17
17
-
".svelte-kit/"
18
18
-
],
19
19
-
"rules": {
20
20
-
"for-direction": "error",
21
21
-
"no-async-promise-executor": "error",
22
22
-
"no-case-declarations": "error",
23
23
-
"no-class-assign": "error",
24
24
-
"no-compare-neg-zero": "error",
25
25
-
"no-cond-assign": "error",
26
26
-
"no-const-assign": "error",
27
27
-
"no-constant-binary-expression": "error",
28
28
-
"no-constant-condition": "error",
29
29
-
"no-control-regex": "error",
30
30
-
"no-debugger": "error",
31
31
-
"no-delete-var": "error",
32
32
-
"no-dupe-class-members": "error",
33
33
-
"no-dupe-else-if": "error",
34
34
-
"no-dupe-keys": "error",
35
35
-
"no-duplicate-case": "error",
36
36
-
"no-empty": "error",
37
37
-
"no-empty-character-class": "error",
38
38
-
"no-empty-pattern": "error",
39
39
-
"no-empty-static-block": "error",
40
40
-
"no-ex-assign": "error",
41
41
-
"no-extra-boolean-cast": "error",
42
42
-
"no-fallthrough": "error",
43
43
-
"no-func-assign": "error",
44
44
-
"no-global-assign": "error",
45
45
-
"no-import-assign": "error",
46
46
-
"no-invalid-regexp": "error",
47
47
-
"no-irregular-whitespace": "error",
48
48
-
"no-loss-of-precision": "error",
49
49
-
"no-new-native-nonconstructor": "error",
50
50
-
"no-nonoctal-decimal-escape": "error",
51
51
-
"no-obj-calls": "error",
52
52
-
"no-prototype-builtins": "error",
53
53
-
"no-redeclare": "error",
54
54
-
"no-regex-spaces": "error",
55
55
-
"no-self-assign": "error",
56
56
-
"no-setter-return": "error",
57
57
-
"no-shadow-restricted-names": "error",
58
58
-
"no-sparse-arrays": "error",
59
59
-
"no-this-before-super": "error",
60
60
-
"no-unexpected-multiline": "error",
61
61
-
"no-unsafe-finally": "error",
62
62
-
"no-unsafe-negation": "error",
63
63
-
"no-unsafe-optional-chaining": "error",
64
64
-
"no-unused-labels": "error",
65
65
-
"no-unused-private-class-members": "error",
66
66
-
"no-unused-vars": "error",
67
67
-
"no-useless-catch": "error",
68
68
-
"no-useless-escape": "error",
69
69
-
"no-with": "error",
70
70
-
"require-yield": "error",
71
71
-
"use-isnan": "error",
72
72
-
"valid-typeof": "error",
73
73
-
"@typescript-eslint/ban-ts-comment": "error",
74
74
-
"no-array-constructor": "error",
75
75
-
"@typescript-eslint/no-duplicate-enum-values": "error",
76
76
-
"@typescript-eslint/no-empty-object-type": "error",
77
77
-
"@typescript-eslint/no-explicit-any": "off",
78
78
-
"@typescript-eslint/no-extra-non-null-assertion": "error",
79
79
-
"@typescript-eslint/no-misused-new": "error",
80
80
-
"@typescript-eslint/no-namespace": "error",
81
81
-
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
82
82
-
"@typescript-eslint/no-require-imports": "error",
83
83
-
"@typescript-eslint/no-this-alias": "error",
84
84
-
"@typescript-eslint/no-unnecessary-type-constraint": "error",
85
85
-
"@typescript-eslint/no-unsafe-declaration-merging": "error",
86
86
-
"@typescript-eslint/no-unsafe-function-type": "error",
87
87
-
"no-unused-expressions": "error",
88
88
-
"@typescript-eslint/no-wrapper-object-types": "error",
89
89
-
"@typescript-eslint/prefer-as-const": "error",
90
90
-
"@typescript-eslint/prefer-namespace-keyword": "error",
91
91
-
"@typescript-eslint/triple-slash-reference": "error"
92
92
-
},
93
93
-
"overrides": [
94
94
-
{
95
95
-
"files": [
96
96
-
"*.svelte",
97
97
-
"**/*.svelte"
98
98
-
],
99
99
-
"rules": {
100
100
-
"no-inner-declarations": "off",
101
101
-
"no-self-assign": "off"
102
102
-
}
103
103
-
}
104
104
-
]
105
105
-
}
2
2
+
"$schema": "./node_modules/oxlint/configuration_schema.json",
3
3
+
"plugins": [
4
4
+
"oxc",
5
5
+
"promise",
6
6
+
"unicorn",
7
7
+
"typescript"
8
8
+
],
9
9
+
"categories": {
10
10
+
"correctness": "error"
11
11
+
},
12
12
+
"env": {
13
13
+
"builtin": true,
14
14
+
"browser": true,
15
15
+
"commonjs": true,
16
16
+
"node": true,
17
17
+
"shared-node-browser": true
18
18
+
},
19
19
+
"ignorePatterns": [
20
20
+
".svelte-kit/",
21
21
+
"**/dist/",
22
22
+
"docs/typedoc/"
23
23
+
],
24
24
+
"rules": {
25
25
+
"no-array-constructor": "error",
26
26
+
"no-empty-function": "error",
27
27
+
"no-unused-expressions": "error",
28
28
+
"prefer-rest-params": "error",
29
29
+
"prefer-spread": "error",
30
30
+
"promise/no-return-wrap": "error",
31
31
+
"promise/param-names": "error",
32
32
+
"promise/catch-or-return": "error",
33
33
+
"promise/no-nesting": "warn",
34
34
+
"promise/no-promise-in-callback": "warn",
35
35
+
"promise/no-callback-in-promise": "warn",
36
36
+
"promise/avoid-new": "off",
37
37
+
"promise/no-new-statics": "error",
38
38
+
"promise/valid-params": "warn",
39
39
+
"@typescript-eslint/ban-ts-comment": "error",
40
40
+
"@typescript-eslint/no-duplicate-enum-values": "error",
41
41
+
"@typescript-eslint/no-empty-object-type": "error",
42
42
+
"@typescript-eslint/no-explicit-any": "error",
43
43
+
"@typescript-eslint/no-extra-non-null-assertion": "error",
44
44
+
"@typescript-eslint/no-misused-new": "error",
45
45
+
"@typescript-eslint/no-namespace": "error",
46
46
+
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
47
47
+
"@typescript-eslint/no-require-imports": "error",
48
48
+
"@typescript-eslint/no-this-alias": "error",
49
49
+
"@typescript-eslint/no-unnecessary-type-constraint": "error",
50
50
+
"@typescript-eslint/no-unsafe-declaration-merging": "error",
51
51
+
"@typescript-eslint/no-unsafe-function-type": "error",
52
52
+
"@typescript-eslint/no-wrapper-object-types": "error",
53
53
+
"@typescript-eslint/prefer-as-const": "error",
54
54
+
"@typescript-eslint/prefer-namespace-keyword": "error",
55
55
+
"@typescript-eslint/triple-slash-reference": "error",
56
56
+
"@typescript-eslint/adjacent-overload-signatures": "error",
57
57
+
"@typescript-eslint/array-type": "error",
58
58
+
"@typescript-eslint/ban-tslint-comment": "error",
59
59
+
"@typescript-eslint/consistent-generic-constructors": "error",
60
60
+
"@typescript-eslint/consistent-indexed-object-style": "error",
61
61
+
"@typescript-eslint/consistent-type-definitions": "error",
62
62
+
"@typescript-eslint/no-confusing-non-null-assertion": "error",
63
63
+
"@typescript-eslint/no-inferrable-types": "error",
64
64
+
"@typescript-eslint/prefer-for-of": "error",
65
65
+
"@typescript-eslint/prefer-function-type": "error"
66
66
+
},
67
67
+
"overrides": [
68
68
+
{
69
69
+
"files": [
70
70
+
"*.svelte",
71
71
+
"**/*.svelte"
72
72
+
],
73
73
+
"rules": {
74
74
+
"no-inner-declarations": "off",
75
75
+
"no-self-assign": "off"
76
76
+
}
77
77
+
}
78
78
+
]
79
79
+
}
+36
-36
package-lock.json
···
18
18
"@sveltejs/vite-plugin-svelte": "^5.0.3",
19
19
"@tailwindcss/vite": "^4.0.0",
20
20
"mdsvex": "^0.12.3",
21
21
-
"oxlint": "^0.16.6",
21
21
+
"oxlint": "^1.5.0",
22
22
"svelte": "^5.19.2",
23
23
"svelte-check": "^4.1.3",
24
24
"tailwindcss": "^4.0.0",
···
1149
1149
}
1150
1150
},
1151
1151
"node_modules/@oxlint/darwin-arm64": {
1152
1152
-
"version": "0.16.6",
1153
1153
-
"resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-0.16.6.tgz",
1154
1154
-
"integrity": "sha512-wvW55Br6o08JEmiezMqvo0byZNH9eunCkbouV8rM2gQP6ROv8lbeQdPZLpAeFz0QA4Ca2b2pVo5S3N2fS78d+Q==",
1152
1152
+
"version": "1.5.0",
1153
1153
+
"resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-1.5.0.tgz",
1154
1154
+
"integrity": "sha512-CxzOtmOwQfaXXwAAJzPInNHhzldMeFsga7oe9mUp5bYIa/mm/Aqs0lxyAP9RZXoxaUHJTbfJovSsl6PU6gbCHw==",
1155
1155
"cpu": [
1156
1156
"arm64"
1157
1157
],
···
1163
1163
]
1164
1164
},
1165
1165
"node_modules/@oxlint/darwin-x64": {
1166
1166
-
"version": "0.16.6",
1167
1167
-
"resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-0.16.6.tgz",
1168
1168
-
"integrity": "sha512-VezC8yep+1TxVtBsTQz2OHJs9aTuIQ7ISyl5rn1QVQXeG7wdFIIFln3ilu2TtaMjnswEdEsCDqBjyoF1euqQow==",
1166
1166
+
"version": "1.5.0",
1167
1167
+
"resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-1.5.0.tgz",
1168
1168
+
"integrity": "sha512-awD5yNGIRy2DrfzbrfeTSjZ+ITKr9+FGGvufquAB7kzfveFZNa621FpmCJ8MQY8hzXFD99iP7ClMNbaCzDfV/g==",
1169
1169
"cpu": [
1170
1170
"x64"
1171
1171
],
···
1177
1177
]
1178
1178
},
1179
1179
"node_modules/@oxlint/linux-arm64-gnu": {
1180
1180
-
"version": "0.16.6",
1181
1181
-
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-0.16.6.tgz",
1182
1182
-
"integrity": "sha512-hvpBsP5/bERq8ft4KidszGifWV4ZcXeaJrfNI8CqIbfd4AqGJmnc5d6M2Op/sYdEMjRGdpPqftfzw4D6jDHPIQ==",
1180
1180
+
"version": "1.5.0",
1181
1181
+
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.5.0.tgz",
1182
1182
+
"integrity": "sha512-Nr8oUAEo20WIBo/qi76dBo5IGw2bQcl7d2YbaigOSQoAGfHR9xE9hAySYhIsnv7W0jtAZu1YTn0So7Tg0idExw==",
1183
1183
"cpu": [
1184
1184
"arm64"
1185
1185
],
···
1191
1191
]
1192
1192
},
1193
1193
"node_modules/@oxlint/linux-arm64-musl": {
1194
1194
-
"version": "0.16.6",
1195
1195
-
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-0.16.6.tgz",
1196
1196
-
"integrity": "sha512-PolYYEhYELXaQ0ht0g6Z827rRVDgbi/PQcHFpctiDHbSruW3udIOy9nEOAUt0agSHYrdZcC0NWzISE+CPrM0Yw==",
1194
1194
+
"version": "1.5.0",
1195
1195
+
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.5.0.tgz",
1196
1196
+
"integrity": "sha512-H2MBL0LZnl3GP09r12tFfcv3Y2fvetMD1TYbf5cetYCQ7hG7aIYTsuOTENjZ0SDK+L9Id35YWFNP3YES+3tsgw==",
1197
1197
"cpu": [
1198
1198
"arm64"
1199
1199
],
···
1205
1205
]
1206
1206
},
1207
1207
"node_modules/@oxlint/linux-x64-gnu": {
1208
1208
-
"version": "0.16.6",
1209
1209
-
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-0.16.6.tgz",
1210
1210
-
"integrity": "sha512-y4Lq4mcheXYzyLiS2TG1CaNDfgK+yVmmyJlms010Gs6nd1ejF6cObMuY5g6GLPGRJMJxG4fhbE955I2y50+Ltg==",
1208
1208
+
"version": "1.5.0",
1209
1209
+
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.5.0.tgz",
1210
1210
+
"integrity": "sha512-pRu77WJ+Uy0l6OkCjljnHuzOlSbMsN1mFDeAyzh8R69O44Mc2C7f1Fe+fbbW2kjgIwFQq8JkUffvPWr1MCMa+A==",
1211
1211
"cpu": [
1212
1212
"x64"
1213
1213
],
···
1219
1219
]
1220
1220
},
1221
1221
"node_modules/@oxlint/linux-x64-musl": {
1222
1222
-
"version": "0.16.6",
1223
1223
-
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-0.16.6.tgz",
1224
1224
-
"integrity": "sha512-p3Njn7MzBsIJr+23HtxItA86UP01xhcWfwU35RGWVyTNbXIdNoAkaD+DjXQj2KSEauO7rRDAZbrTA+40NWNNkQ==",
1222
1222
+
"version": "1.5.0",
1223
1223
+
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-1.5.0.tgz",
1224
1224
+
"integrity": "sha512-qHG2YR+06pEAF4Gfp3T8hSaiI/IchdbuditnnVYxy32pN43vNMVDO7fU5hnNzJpxh6HozAD3uRrskBNvxgeSrQ==",
1225
1225
"cpu": [
1226
1226
"x64"
1227
1227
],
···
1233
1233
]
1234
1234
},
1235
1235
"node_modules/@oxlint/win32-arm64": {
1236
1236
-
"version": "0.16.6",
1237
1237
-
"resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-0.16.6.tgz",
1238
1238
-
"integrity": "sha512-IdySuXzslSnZEk9F2mRx1cjyPsHM8ny2xQd+FEbWhDhfwxVZCK+m9hXoEnqVQ6FLXQsOjWVutGtYb+EpDiZxlQ==",
1236
1236
+
"version": "1.5.0",
1237
1237
+
"resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-1.5.0.tgz",
1238
1238
+
"integrity": "sha512-/YRDPf1sPCF6B026buZTvh1vOF/pS+75aBDnxrDWIFhP1w3flqcI9v5QVjtq/sOZEWAoP2ee46CrxcxK5UuYag==",
1239
1239
"cpu": [
1240
1240
"arm64"
1241
1241
],
···
1247
1247
]
1248
1248
},
1249
1249
"node_modules/@oxlint/win32-x64": {
1250
1250
-
"version": "0.16.6",
1251
1251
-
"resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-0.16.6.tgz",
1252
1252
-
"integrity": "sha512-DqkFdDX1ULoizFBg21TMIe6B5L2a59KljqpN1S7H4+IXhxmRcc71bpZ7FRwrxjrlRhtCD4SAPTZadBI9qRhViw==",
1250
1250
+
"version": "1.5.0",
1251
1251
+
"resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-1.5.0.tgz",
1252
1252
+
"integrity": "sha512-4HmkdYgDmejTxXESV1EBXd0zFLsoNJad+VrWZizzpTCmBnWEL5+tueEmEBBb4F55/sFZt8bdD//RbaTM9aOQJA==",
1253
1253
"cpu": [
1254
1254
"x64"
1255
1255
],
···
3010
3010
"peer": true
3011
3011
},
3012
3012
"node_modules/oxlint": {
3013
3013
-
"version": "0.16.6",
3014
3014
-
"resolved": "https://registry.npmjs.org/oxlint/-/oxlint-0.16.6.tgz",
3015
3015
-
"integrity": "sha512-pesehI0loV2h2k95mFRsUg6uNgGw2RPs1pcuAfPRJUwGehkfraMVCQofwqsMUeufmXygweH734vhKzQ24r3djA==",
3013
3013
+
"version": "1.5.0",
3014
3014
+
"resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.5.0.tgz",
3015
3015
+
"integrity": "sha512-Oh48XZy6BY2jE9xKwN4DjwpK/l7LOUHfPJsZ/rUKudWN1RXHXBnJkubsgIHlfTwWJGYJU2LAlyXKZcE46mD4OQ==",
3016
3016
"dev": true,
3017
3017
"license": "MIT",
3018
3018
"bin": {
···
3026
3026
"url": "https://github.com/sponsors/Boshen"
3027
3027
},
3028
3028
"optionalDependencies": {
3029
3029
-
"@oxlint/darwin-arm64": "0.16.6",
3030
3030
-
"@oxlint/darwin-x64": "0.16.6",
3031
3031
-
"@oxlint/linux-arm64-gnu": "0.16.6",
3032
3032
-
"@oxlint/linux-arm64-musl": "0.16.6",
3033
3033
-
"@oxlint/linux-x64-gnu": "0.16.6",
3034
3034
-
"@oxlint/linux-x64-musl": "0.16.6",
3035
3035
-
"@oxlint/win32-arm64": "0.16.6",
3036
3036
-
"@oxlint/win32-x64": "0.16.6"
3029
3029
+
"@oxlint/darwin-arm64": "1.5.0",
3030
3030
+
"@oxlint/darwin-x64": "1.5.0",
3031
3031
+
"@oxlint/linux-arm64-gnu": "1.5.0",
3032
3032
+
"@oxlint/linux-arm64-musl": "1.5.0",
3033
3033
+
"@oxlint/linux-x64-gnu": "1.5.0",
3034
3034
+
"@oxlint/linux-x64-musl": "1.5.0",
3035
3035
+
"@oxlint/win32-arm64": "1.5.0",
3036
3036
+
"@oxlint/win32-x64": "1.5.0"
3037
3037
}
3038
3038
},
3039
3039
"node_modules/path-to-regexp": {
+1
-1
package.json
···
24
24
"@sveltejs/vite-plugin-svelte": "^5.0.3",
25
25
"@tailwindcss/vite": "^4.0.0",
26
26
"mdsvex": "^0.12.3",
27
27
-
"oxlint": "^0.16.6",
27
27
+
"oxlint": "^1.5.0",
28
28
"svelte": "^5.19.2",
29
29
"svelte-check": "^4.1.3",
30
30
"tailwindcss": "^4.0.0",