samantha's personal website!~ ✨ samanthanguyen.me

deps: update oxlint from v0.16.6 to v1.5.0

Fixes #4

+115 -141
+78 -104
.oxlintrc.json
··· 1 1 { 2 - "$schema": "./node_modules/oxlint/configuration_schema.json", 3 - "plugins": [ 4 - "typescript" 5 - ], 6 - "categories": { 7 - "correctness": "off" 8 - }, 9 - "env": { 10 - "builtin": true, 11 - "browser": true, 12 - "commonjs": true, 13 - "node": true, 14 - "shared-node-browser": true 15 - }, 16 - "ignorePatterns": [ 17 - ".svelte-kit/" 18 - ], 19 - "rules": { 20 - "for-direction": "error", 21 - "no-async-promise-executor": "error", 22 - "no-case-declarations": "error", 23 - "no-class-assign": "error", 24 - "no-compare-neg-zero": "error", 25 - "no-cond-assign": "error", 26 - "no-const-assign": "error", 27 - "no-constant-binary-expression": "error", 28 - "no-constant-condition": "error", 29 - "no-control-regex": "error", 30 - "no-debugger": "error", 31 - "no-delete-var": "error", 32 - "no-dupe-class-members": "error", 33 - "no-dupe-else-if": "error", 34 - "no-dupe-keys": "error", 35 - "no-duplicate-case": "error", 36 - "no-empty": "error", 37 - "no-empty-character-class": "error", 38 - "no-empty-pattern": "error", 39 - "no-empty-static-block": "error", 40 - "no-ex-assign": "error", 41 - "no-extra-boolean-cast": "error", 42 - "no-fallthrough": "error", 43 - "no-func-assign": "error", 44 - "no-global-assign": "error", 45 - "no-import-assign": "error", 46 - "no-invalid-regexp": "error", 47 - "no-irregular-whitespace": "error", 48 - "no-loss-of-precision": "error", 49 - "no-new-native-nonconstructor": "error", 50 - "no-nonoctal-decimal-escape": "error", 51 - "no-obj-calls": "error", 52 - "no-prototype-builtins": "error", 53 - "no-redeclare": "error", 54 - "no-regex-spaces": "error", 55 - "no-self-assign": "error", 56 - "no-setter-return": "error", 57 - "no-shadow-restricted-names": "error", 58 - "no-sparse-arrays": "error", 59 - "no-this-before-super": "error", 60 - "no-unexpected-multiline": "error", 61 - "no-unsafe-finally": "error", 62 - "no-unsafe-negation": "error", 63 - "no-unsafe-optional-chaining": "error", 64 - "no-unused-labels": "error", 65 - "no-unused-private-class-members": "error", 66 - "no-unused-vars": "error", 67 - "no-useless-catch": "error", 68 - "no-useless-escape": "error", 69 - "no-with": "error", 70 - "require-yield": "error", 71 - "use-isnan": "error", 72 - "valid-typeof": "error", 73 - "@typescript-eslint/ban-ts-comment": "error", 74 - "no-array-constructor": "error", 75 - "@typescript-eslint/no-duplicate-enum-values": "error", 76 - "@typescript-eslint/no-empty-object-type": "error", 77 - "@typescript-eslint/no-explicit-any": "off", 78 - "@typescript-eslint/no-extra-non-null-assertion": "error", 79 - "@typescript-eslint/no-misused-new": "error", 80 - "@typescript-eslint/no-namespace": "error", 81 - "@typescript-eslint/no-non-null-asserted-optional-chain": "error", 82 - "@typescript-eslint/no-require-imports": "error", 83 - "@typescript-eslint/no-this-alias": "error", 84 - "@typescript-eslint/no-unnecessary-type-constraint": "error", 85 - "@typescript-eslint/no-unsafe-declaration-merging": "error", 86 - "@typescript-eslint/no-unsafe-function-type": "error", 87 - "no-unused-expressions": "error", 88 - "@typescript-eslint/no-wrapper-object-types": "error", 89 - "@typescript-eslint/prefer-as-const": "error", 90 - "@typescript-eslint/prefer-namespace-keyword": "error", 91 - "@typescript-eslint/triple-slash-reference": "error" 92 - }, 93 - "overrides": [ 94 - { 95 - "files": [ 96 - "*.svelte", 97 - "**/*.svelte" 98 - ], 99 - "rules": { 100 - "no-inner-declarations": "off", 101 - "no-self-assign": "off" 102 - } 103 - } 104 - ] 105 - } 2 + "$schema": "./node_modules/oxlint/configuration_schema.json", 3 + "plugins": [ 4 + "oxc", 5 + "promise", 6 + "unicorn", 7 + "typescript" 8 + ], 9 + "categories": { 10 + "correctness": "error" 11 + }, 12 + "env": { 13 + "builtin": true, 14 + "browser": true, 15 + "commonjs": true, 16 + "node": true, 17 + "shared-node-browser": true 18 + }, 19 + "ignorePatterns": [ 20 + ".svelte-kit/", 21 + "**/dist/", 22 + "docs/typedoc/" 23 + ], 24 + "rules": { 25 + "no-array-constructor": "error", 26 + "no-empty-function": "error", 27 + "no-unused-expressions": "error", 28 + "prefer-rest-params": "error", 29 + "prefer-spread": "error", 30 + "promise/no-return-wrap": "error", 31 + "promise/param-names": "error", 32 + "promise/catch-or-return": "error", 33 + "promise/no-nesting": "warn", 34 + "promise/no-promise-in-callback": "warn", 35 + "promise/no-callback-in-promise": "warn", 36 + "promise/avoid-new": "off", 37 + "promise/no-new-statics": "error", 38 + "promise/valid-params": "warn", 39 + "@typescript-eslint/ban-ts-comment": "error", 40 + "@typescript-eslint/no-duplicate-enum-values": "error", 41 + "@typescript-eslint/no-empty-object-type": "error", 42 + "@typescript-eslint/no-explicit-any": "error", 43 + "@typescript-eslint/no-extra-non-null-assertion": "error", 44 + "@typescript-eslint/no-misused-new": "error", 45 + "@typescript-eslint/no-namespace": "error", 46 + "@typescript-eslint/no-non-null-asserted-optional-chain": "error", 47 + "@typescript-eslint/no-require-imports": "error", 48 + "@typescript-eslint/no-this-alias": "error", 49 + "@typescript-eslint/no-unnecessary-type-constraint": "error", 50 + "@typescript-eslint/no-unsafe-declaration-merging": "error", 51 + "@typescript-eslint/no-unsafe-function-type": "error", 52 + "@typescript-eslint/no-wrapper-object-types": "error", 53 + "@typescript-eslint/prefer-as-const": "error", 54 + "@typescript-eslint/prefer-namespace-keyword": "error", 55 + "@typescript-eslint/triple-slash-reference": "error", 56 + "@typescript-eslint/adjacent-overload-signatures": "error", 57 + "@typescript-eslint/array-type": "error", 58 + "@typescript-eslint/ban-tslint-comment": "error", 59 + "@typescript-eslint/consistent-generic-constructors": "error", 60 + "@typescript-eslint/consistent-indexed-object-style": "error", 61 + "@typescript-eslint/consistent-type-definitions": "error", 62 + "@typescript-eslint/no-confusing-non-null-assertion": "error", 63 + "@typescript-eslint/no-inferrable-types": "error", 64 + "@typescript-eslint/prefer-for-of": "error", 65 + "@typescript-eslint/prefer-function-type": "error" 66 + }, 67 + "overrides": [ 68 + { 69 + "files": [ 70 + "*.svelte", 71 + "**/*.svelte" 72 + ], 73 + "rules": { 74 + "no-inner-declarations": "off", 75 + "no-self-assign": "off" 76 + } 77 + } 78 + ] 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 - "oxlint": "^0.16.6", 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 - "version": "0.16.6", 1153 - "resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-0.16.6.tgz", 1154 - "integrity": "sha512-wvW55Br6o08JEmiezMqvo0byZNH9eunCkbouV8rM2gQP6ROv8lbeQdPZLpAeFz0QA4Ca2b2pVo5S3N2fS78d+Q==", 1152 + "version": "1.5.0", 1153 + "resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-1.5.0.tgz", 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 - "version": "0.16.6", 1167 - "resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-0.16.6.tgz", 1168 - "integrity": "sha512-VezC8yep+1TxVtBsTQz2OHJs9aTuIQ7ISyl5rn1QVQXeG7wdFIIFln3ilu2TtaMjnswEdEsCDqBjyoF1euqQow==", 1166 + "version": "1.5.0", 1167 + "resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-1.5.0.tgz", 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 - "version": "0.16.6", 1181 - "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-0.16.6.tgz", 1182 - "integrity": "sha512-hvpBsP5/bERq8ft4KidszGifWV4ZcXeaJrfNI8CqIbfd4AqGJmnc5d6M2Op/sYdEMjRGdpPqftfzw4D6jDHPIQ==", 1180 + "version": "1.5.0", 1181 + "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.5.0.tgz", 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 - "version": "0.16.6", 1195 - "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-0.16.6.tgz", 1196 - "integrity": "sha512-PolYYEhYELXaQ0ht0g6Z827rRVDgbi/PQcHFpctiDHbSruW3udIOy9nEOAUt0agSHYrdZcC0NWzISE+CPrM0Yw==", 1194 + "version": "1.5.0", 1195 + "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.5.0.tgz", 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 - "version": "0.16.6", 1209 - "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-0.16.6.tgz", 1210 - "integrity": "sha512-y4Lq4mcheXYzyLiS2TG1CaNDfgK+yVmmyJlms010Gs6nd1ejF6cObMuY5g6GLPGRJMJxG4fhbE955I2y50+Ltg==", 1208 + "version": "1.5.0", 1209 + "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.5.0.tgz", 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 - "version": "0.16.6", 1223 - "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-0.16.6.tgz", 1224 - "integrity": "sha512-p3Njn7MzBsIJr+23HtxItA86UP01xhcWfwU35RGWVyTNbXIdNoAkaD+DjXQj2KSEauO7rRDAZbrTA+40NWNNkQ==", 1222 + "version": "1.5.0", 1223 + "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-1.5.0.tgz", 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 - "version": "0.16.6", 1237 - "resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-0.16.6.tgz", 1238 - "integrity": "sha512-IdySuXzslSnZEk9F2mRx1cjyPsHM8ny2xQd+FEbWhDhfwxVZCK+m9hXoEnqVQ6FLXQsOjWVutGtYb+EpDiZxlQ==", 1236 + "version": "1.5.0", 1237 + "resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-1.5.0.tgz", 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 - "version": "0.16.6", 1251 - "resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-0.16.6.tgz", 1252 - "integrity": "sha512-DqkFdDX1ULoizFBg21TMIe6B5L2a59KljqpN1S7H4+IXhxmRcc71bpZ7FRwrxjrlRhtCD4SAPTZadBI9qRhViw==", 1250 + "version": "1.5.0", 1251 + "resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-1.5.0.tgz", 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 - "version": "0.16.6", 3014 - "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-0.16.6.tgz", 3015 - "integrity": "sha512-pesehI0loV2h2k95mFRsUg6uNgGw2RPs1pcuAfPRJUwGehkfraMVCQofwqsMUeufmXygweH734vhKzQ24r3djA==", 3013 + "version": "1.5.0", 3014 + "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.5.0.tgz", 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 - "@oxlint/darwin-arm64": "0.16.6", 3030 - "@oxlint/darwin-x64": "0.16.6", 3031 - "@oxlint/linux-arm64-gnu": "0.16.6", 3032 - "@oxlint/linux-arm64-musl": "0.16.6", 3033 - "@oxlint/linux-x64-gnu": "0.16.6", 3034 - "@oxlint/linux-x64-musl": "0.16.6", 3035 - "@oxlint/win32-arm64": "0.16.6", 3036 - "@oxlint/win32-x64": "0.16.6" 3029 + "@oxlint/darwin-arm64": "1.5.0", 3030 + "@oxlint/darwin-x64": "1.5.0", 3031 + "@oxlint/linux-arm64-gnu": "1.5.0", 3032 + "@oxlint/linux-arm64-musl": "1.5.0", 3033 + "@oxlint/linux-x64-gnu": "1.5.0", 3034 + "@oxlint/linux-x64-musl": "1.5.0", 3035 + "@oxlint/win32-arm64": "1.5.0", 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 - "oxlint": "^0.16.6", 27 + "oxlint": "^1.5.0", 28 28 "svelte": "^5.19.2", 29 29 "svelte-check": "^4.1.3", 30 30 "tailwindcss": "^4.0.0",