Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: upgrade eslint configuration for vue and typescript (#14511)

boojackabd7052ec00e
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs
index 09debdee4b..e7031a1483 100644
--- a/frontend/eslint.config.mjs
+++ b/frontend/eslint.config.mjs
@@ -1,28 +1,16 @@
-import { FlatCompat } from "@eslint/eslintrc";
-import js from "@eslint/js";
+import vueTsEslintConfig from "@vue/eslint-config-typescript";
import pluginVue from "eslint-plugin-vue";
-import path from "node:path";
-import { fileURLToPath } from "node:url";
-const __filename = fileURLToPath(import.meta.url);
-const __dirname = path.dirname(__filename);
-const compat = new FlatCompat({
- baseDirectory: __dirname,
- recommendedConfig: js.configs.recommended,
-});
-
-// Reference: https://github.com/vuejs/eslint-config-typescript/issues/76#issuecomment-2051234597
export default [
- js.configs.recommended,
- ...pluginVue.configs["flat/recommended"],
- ...compat.extends("@vue/eslint-config-typescript/recommended"),
- ...compat.extends("@vue/eslint-config-prettier/skip-formatting"),
- {
- files: ["**/*.js", "**/*.vue", "**/*.ts", "**/*.tsx"],
- languageOptions: {
- sourceType: "module",
+ ...pluginVue.configs["flat/essential"],
+ ...vueTsEslintConfig({
+ extends: ["recommended"],
+ supportedScriptLangs: {
+ ts: true,
+ tsx: true,
},
- },
+ rootDir: import.meta.dirname,
+ }),
{
ignores: ["**/dist/**", "**/node_modules/**", "**/proto/**"],
},
@@ -34,7 +22,7 @@ export default [
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-unused-vars": [
"error",
- { varsIgnorePattern: "^_", args: "none" },
+ { varsIgnorePattern: "^_", argsIgnorePattern: "^_" },
],
"@typescript-eslint/no-explicit-any": "off",
"vue/no-mutating-props": "error",
@@ -48,7 +36,6 @@ export default [
/^carbon:/,
/^tabler:/,
/^octicon:/,
- /^mdi:/,
/^router-view$/,
/^router-link$/,
/^i18n-t$/,
diff --git a/frontend/package.json b/frontend/package.json
index c0db2046ca..e1dfb487ba 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -121,17 +121,12 @@
"@vitejs/plugin-vue": "5.1.4",
"@vitejs/plugin-vue-jsx": "4.0.1",
"@vue/compiler-sfc": "3.4.31",
- "@vue/eslint-config-prettier": "9.0.0",
- "@vue/eslint-config-typescript": "13.0.0",
+ "@vue/eslint-config-typescript": "^14.1.3",
"@vue/test-utils": "2.4.6",
"@vue/tsconfig": "0.5.1",
"autoprefixer": "10.4.20",
"code-inspector-plugin": "^0.17.7",
"dotenv": "^16.4.5",
- "eslint": "9.11.1",
- "eslint-config-prettier": "9.1.0",
- "eslint-plugin-prettier": "5.2.1",
- "eslint-plugin-vue": "9.28.0",
"events": "^3.3.0",
"jquery": "3.7.1",
"jsdom": "25.0.1",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 1165390919..5f8d077786 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -306,12 +306,9 @@ importers:
'@vue/compiler-sfc':
specifier: 3.4.31
version: 3.4.31
- '@vue/eslint-config-prettier':
- specifier: 9.0.0
'@vue/eslint-config-typescript':
- specifier: 13.0.0
+ specifier: ^14.1.3
'@vue/test-utils':
specifier: 2.4.6
version: 2.4.6
@@ -327,18 +324,6 @@ importers:
dotenv:
specifier: ^16.4.5
version: 16.4.5
- eslint:
- specifier: 9.11.1
- version: 9.11.1([email protected])
- eslint-config-prettier:
- specifier: 9.1.0
- eslint-plugin-prettier:
- specifier: 5.2.1
- eslint-plugin-vue:
- specifier: 9.28.0
events:
specifier: ^3.3.0
version: 3.3.0
@@ -846,30 +831,30 @@ packages:
cpu: [x64]
os: [win32]
- '@eslint-community/[email protected]':
- resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
- '@eslint-community/[email protected]':
- resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==}
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-zdHg2FPIFNKPdcHWtiNT+jEFCHYVplAXRDlQDyqy0zGx/q2parwh7brGJSiTxRk/TSMkbM//zt/f5CHgyTyaSQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-8I2Q8ykA4J0x0o7cg67FPVnehcqWTBehu/lmY+bolPFHGjh49YzGBMXTvpqVgEbBdvNCSxj6iFgiIyHzf03lzg==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-7ATR9F0e4W85D/0w7cU0SNj7qkAexMG+bAHEZOjo9akvGuhHE2m7umzWzfnpa0XAg5Kxc1BWmtPMV67jJ+9VUg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-/qu+TWz8WwPWc7/HcIJKi+c+MOm46GdVaSlTTQcaqaL53+GsoA6MxWp5PtTx48qbSP7ylM1Kn7nhvkugfJvRSA==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-tMTqrY+EzbXmKJR5ToI8lxu7jaN5EdmrBFJpQk5JmSlyLsx6o4t27r883K5xsLuCYCpfKBCGswMSWXsM+jB7lg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/[email protected]':
@@ -898,12 +883,24 @@ packages:
'@fortawesome/fontawesome-svg-core': ~1 || ~6
vue: '>= 3.0.0 < 4'
+ '@humanfs/[email protected]':
+ resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
+ engines: {node: '>=18.18.0'}
+
+ '@humanfs/[email protected]':
+ resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==}
+ engines: {node: '>=18.18.0'}
+
'@humanwhocodes/[email protected]':
resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
engines: {node: '>=12.22'}
- '@humanwhocodes/[email protected]':
- resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==}
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==}
+ engines: {node: '>=18.18'}
+
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==}
engines: {node: '>=18.18'}
'@iconify/[email protected]':
@@ -1020,10 +1017,6 @@ packages:
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
engines: {node: '>=14'}
- resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==}
- engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
-
'@popperjs/[email protected]':
resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}
@@ -1387,63 +1380,67 @@ packages:
resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-P+qEahbgeHW4JQ/87FuItjBj8O3MYv5gELDzr8QaQ7fsll1gSMTYb6j87MYyxwf3DtD7uGFB9ShwgmCJB5KmaQ==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-+zkm9AR1Ds9uLWN3fkoeXgFppaQ+uEVtfOV62dDmsy9QCNqlRHWNEck4yarvRNrvRcHQLGfqBNui3cimoz8XAg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- '@typescript-eslint/parser': ^7.0.0
- eslint: ^8.56.0
+ '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0
+ eslint: ^8.57.0 || ^9.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-yimw99teuaXVWsBcPO1Ais02kwJ1jmNA1KxE7ng0aT7ndr1pT1wqj0OJnsYVGKKlc4QJai86l/025L6z8CljOg==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-7n59qFpghG4uazrF9qtGKBZXn7Oz4sOMm8dwNWDQY96Xlm2oX67eipqcblDj+oY1lLCbf1oltMZFpUso66Kl1A==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^8.56.0
+ eslint: ^8.57.0 || ^9.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-27tGdVEiutD4POirLZX4YzT180vevUURJl4wJGmm6TrQoiYwuxTIY98PBp6L2oN+JQxzE0URvYlzJaBHIekXAw==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-QRGy8ADi4J7ii95xz4UoiymmmMd/zuy9azCaamnZ3FM8T5fZcex8UfJcjkiEZjJSztKfEBe3dZ5T/5RHAmw2mA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-WmppUEgYy+y1NTseNMJ6mCFxt03/7jTOy08bcg7bxJJdsM4nuhnchyBbE8vryveaJUf62noH7LodPSo5Z0WUCg==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-UU6uwXDoI3JGSXmcdnP5d8Fffa2KayOhUUqr/AiBnG1Gl7+7ut/oyagVeSkh7bxQ0zSXV9ptRh/4N15nkCqnpw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^8.56.0
+ eslint: ^8.57.0 || ^9.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-MPEsDRZTyCiXkD4vd3zywDCifi7tatc4K37KqTprCvaXptP7Xlpdw0NR2hRJTetG5TxbWDB79Ys4kLmHliEo/w==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-n3Gt8Y/KyJNe0S3yDCD2RVKrHBC4gTUcLTebVBXacPy091E6tNspFLKRXlk3hwT4G55nfr1n2AdFqi/XMxzmPQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-cxkhZ2C/iyi3/6U9EPc5y+a6csqHItndvN/CzbNXTNrsC3/ASoYQZEt9uMaEp+xFNjasqQyszp5TumAVKKvJeQ==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-1eMp2JgNec/niZsR7ioFBlsh/Fk0oJbhaqO0jRyQBMgkz7RrFfkqF9lYYmBoGBaSiLnu8TAPQTwoTUiSTUW9dg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-xlAWwPleNRHwF37AhrZurOxA1wyXowW4PqVXZVUNCLjB48CqdPJoJWkrpH2nij9Q3Lb7rtWindtoXwxjxlKKCA==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-k82RI9yGhr0QM3Dnq+egEpz9qB6Un+WLYhmoNcvl8ltMEededhh7otBVVIDDsEEttauwdY/hQoSsOv13lxrFzQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^8.56.0
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-7syYk4MzjxTEk0g/w3iqtgxnFQspDJfn6QKD36xMuuhTzjcxY7F8EmBLnALjVyaOF1/bVocu3bS/2/F7rXrveQ==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-h8vYOulWec9LhpwfAdZf2bjr8xIp0KNKnpgqSz0qqYYKAW/QZKw3ktRndbiAtUz4acH4QLQavwZBYCc0wulA/Q==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@vitejs/[email protected]':
resolution: {integrity: sha512-7mg9HFGnFHMEwCdB6AY83cVK4A6sCqnrjFYF4WIlebYAQVVJ/sC/CiTruVdrRlhrFoeZ8rlMxY9wYpPTIRhhAg==}
@@ -1537,19 +1534,13 @@ packages:
resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==}
- resolution: {integrity: sha512-z1ZIAAUS9pKzo/ANEfd2sO+v2IUalz7cM/cTLOZ7vRFOPk5/xuRKQteOu1DErFLAh/lYGXMVZ0IfYKlyInuDVg==}
- peerDependencies:
- eslint: '>= 8.0.0'
- prettier: '>= 3.0.0'
-
- resolution: {integrity: sha512-MHh9SncG/sfqjVqjcuFLOLD6Ed4dRAis4HNt0dXASeAuLqIAx4YMB1/m2o4pUKK1vCt8fUvYG8KKX2Ot3BVZTg==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ resolution: {integrity: sha512-L4NUJQz/0We2QYtrNwRAGRy4KfpOagl5V3MpZZ+rQ51a+bKjlKYYrugi7lp7PIX8LolRgu06ZwDoswnSGWnAmA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^8.56.0
- eslint-plugin-vue: ^9.0.0
- typescript: '>=4.7.4'
+ eslint: ^9.10.0
+ eslint-plugin-vue: ^9.28.0
+ typescript: '>=4.8.4'
peerDependenciesMeta:
typescript:
optional: true
@@ -1659,6 +1650,11 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
+ resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
+
resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==}
engines: {node: '>= 14'}
@@ -1702,10 +1698,6 @@ packages:
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
- resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
engines: {node: '>=12'}
@@ -2185,10 +2177,6 @@ packages:
resolution: {integrity: sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==}
- resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==}
@@ -2298,28 +2286,8 @@ packages:
engines: {node: '>=6.0'}
hasBin: true
- resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==}
- hasBin: true
- peerDependencies:
- eslint: '>=7.0.0'
-
- resolution: {integrity: sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==}
- engines: {node: ^14.18.0 || >=16.0.0}
- peerDependencies:
- '@types/eslint': '>=8.0.0'
- eslint: '>=8.0.0'
- eslint-config-prettier: '*'
- prettier: '>=3.0.0'
- peerDependenciesMeta:
- '@types/eslint':
- optional: true
- eslint-config-prettier:
- optional: true
-
- resolution: {integrity: sha512-ShrihdjIhOTxs+MfWun6oJWuk+g/LAhN+CiuOl/jjkG3l0F2AuK5NMTaWqyvBgkFtpYmyks6P4603mLmhNJW8g==}
+ resolution: {integrity: sha512-aYMUCgivhz1o4tLkRHj5oq9YgYPM4/EJc0M7TAKRLCUA5OYxRLAhYEVD2nLtTwLyixEFI+/QXSvKU9ESZFgqjQ==}
engines: {node: ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
@@ -2328,20 +2296,20 @@ packages:
resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- resolution: {integrity: sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==}
+ resolution: {integrity: sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==}
+ resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-MobhYKIoAO1s1e4VUrgx1l1Sk2JBR/Gqjjgw8+mfgoLE2xwsHur4gdfTxyTgShrhvdVFTaJSgMiQBl1jv/AWxg==}
+ resolution: {integrity: sha512-7CrWySmIibCgT1Os28lUU6upBshZ+GxybLOrmRzi08kS8MBuO8QA7pXEgYgY5W8vK3e74xv0lpjo9DbaGU9Rkw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
hasBin: true
peerDependencies:
@@ -2350,8 +2318,8 @@ packages:
jiti:
optional: true
- resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==}
+ resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -2363,8 +2331,8 @@ packages:
engines: {node: '>=4'}
hasBin: true
- resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==}
+ resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==}
engines: {node: '>=0.10'}
@@ -2405,9 +2373,6 @@ packages:
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
- resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==}
-
resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==}
engines: {node: '>=8.6.0'}
@@ -2447,8 +2412,8 @@ packages:
resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}
engines: {node: '>=16'}
- resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==}
+ resolution: {integrity: sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==}
resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==}
@@ -2526,10 +2491,6 @@ packages:
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}
- engines: {node: '>=10'}
-
resolution: {integrity: sha512-goW1b+d9q/HIwbVYZzZ6SsTr4IgE+WA44A0GmPIQstuOrgsFcT7VEJ48nmr9GaRtNu0XTKacFLGnBPAM6Afouw==}
@@ -2599,8 +2560,8 @@ packages:
resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}
- resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==}
+ resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
engines: {node: '>= 4'}
@@ -2676,10 +2637,6 @@ packages:
resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
engines: {node: '>=0.12.0'}
- resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==}
engines: {node: '>=12'}
@@ -3282,10 +3239,6 @@ packages:
resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
engines: {node: '>=16 || 14 >=14.18'}
- resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==}
@@ -3421,10 +3374,6 @@ packages:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
- resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==}
- engines: {node: '>=6.0.0'}
-
resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
engines: {node: '>=10.13.0'}
@@ -3650,10 +3599,6 @@ packages:
resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
engines: {node: '>=14'}
- resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-ioOsCfzQSu+D6NZ8XMCR8IW9FgvF8W7Xzz56hBkB/ALvNaWeBs2MUvvPugq3GCrxfHPFeK6hAxGkY/WLnfX2Lg==}
hasBin: true
@@ -3757,10 +3702,6 @@ packages:
resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
- resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==}
- engines: {node: ^14.18.0 || >=16.0.0}
-
resolution: {integrity: sha512-0q8cfZHMu9nuYP/b5Shb7Y7Sh1B7Nnl5GqNr1U+n2p6+mybvRtayrQ+0042Z5byvTA8ihjlP8Odo8/VnHbZu4Q==}
@@ -3769,9 +3710,6 @@ packages:
engines: {node: '>=14.0.0'}
hasBin: true
- resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
-
resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
engines: {node: '>=0.8'}
@@ -3853,8 +3791,8 @@ packages:
resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}
- resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==}
+ resolution: {integrity: sha512-5RU2/lxTA3YUZxju61HO2U6EoZLvBLtmV2mbTvqyu4a/7s7RmJPT+1YekhMVsQhznRWk/czIwDUg+V8Q9ZuG4w==}
engines: {node: '>=16'}
peerDependencies:
typescript: '>=4.2.0'
@@ -3900,6 +3838,16 @@ packages:
resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-wY4FRGl0ZI+ZU4Jo/yjdBu0lVTSML58pu6PgGtJmCufvzfV565pUF6iACQt092uFOd49iLOTX/sEVmHtbSrS+w==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==}
engines: {node: '>=14.17'}
@@ -4819,14 +4767,14 @@ snapshots:
'@esbuild/[email protected]':
optional: true
dependencies:
- eslint: 9.11.1([email protected])
+ eslint: 9.15.0([email protected])
eslint-visitor-keys: 3.4.3
- '@eslint-community/[email protected]': {}
+ '@eslint-community/[email protected]': {}
- '@eslint/[email protected]':
+ '@eslint/[email protected]':
dependencies:
'@eslint/object-schema': 2.1.4
debug: 4.3.7
@@ -4834,15 +4782,15 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@eslint/[email protected]': {}
+ '@eslint/[email protected]': {}
- '@eslint/[email protected]':
+ '@eslint/[email protected]':
dependencies:
ajv: 6.12.6
debug: 4.3.7
- espree: 10.1.0
+ espree: 10.3.0
globals: 14.0.0
- ignore: 5.3.1
+ ignore: 5.3.2
import-fresh: 3.3.0
js-yaml: 4.1.0
minimatch: 3.1.2
@@ -4850,7 +4798,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@eslint/[email protected]': {}
+ '@eslint/[email protected]': {}
'@eslint/[email protected]': {}
@@ -4873,9 +4821,18 @@ snapshots:
'@fortawesome/fontawesome-svg-core': 6.5.2
vue: 3.4.31([email protected])
+ '@humanfs/[email protected]': {}
+
+ '@humanfs/[email protected]':
+ dependencies:
+ '@humanfs/core': 0.19.1
+ '@humanwhocodes/retry': 0.3.1
+
'@humanwhocodes/[email protected]': {}
- '@humanwhocodes/[email protected]': {}
+ '@humanwhocodes/[email protected]': {}
+
+ '@humanwhocodes/[email protected]': {}
'@iconify/[email protected]':
dependencies:
@@ -5003,8 +4960,6 @@ snapshots:
optional: true
- '@pkgr/[email protected]': {}
-
'@popperjs/[email protected]': {}
'@protobufjs/[email protected]': {}
@@ -5356,86 +5311,87 @@ snapshots:
'@types/[email protected]': {}
dependencies:
- '@eslint-community/regexpp': 4.11.0
- '@typescript-eslint/parser': 7.11.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 7.11.0
- '@typescript-eslint/type-utils': 7.11.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/utils': 7.11.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/visitor-keys': 7.11.0
- eslint: 9.11.1([email protected])
+ '@eslint-community/regexpp': 4.12.1
+ '@typescript-eslint/parser': 8.15.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.15.0
+ '@typescript-eslint/type-utils': 8.15.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.15.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/visitor-keys': 8.15.0
+ eslint: 9.15.0([email protected])
graphemer: 1.4.0
- ignore: 5.3.1
+ ignore: 5.3.2
natural-compare: 1.4.0
- ts-api-utils: 1.3.0([email protected])
+ ts-api-utils: 1.4.1([email protected])
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/scope-manager': 7.11.0
- '@typescript-eslint/types': 7.11.0
- '@typescript-eslint/typescript-estree': 7.11.0([email protected])
- '@typescript-eslint/visitor-keys': 7.11.0
+ '@typescript-eslint/scope-manager': 8.15.0
+ '@typescript-eslint/types': 8.15.0
+ '@typescript-eslint/typescript-estree': 8.15.0([email protected])
+ '@typescript-eslint/visitor-keys': 8.15.0
debug: 4.3.7
- eslint: 9.11.1([email protected])
+ eslint: 9.15.0([email protected])
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 7.11.0
- '@typescript-eslint/visitor-keys': 7.11.0
+ '@typescript-eslint/types': 8.15.0
+ '@typescript-eslint/visitor-keys': 8.15.0
dependencies:
- '@typescript-eslint/typescript-estree': 7.11.0([email protected])
- '@typescript-eslint/utils': 7.11.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/typescript-estree': 8.15.0([email protected])
+ '@typescript-eslint/utils': 8.15.0([email protected]([email protected]))([email protected])
debug: 4.3.7
- eslint: 9.11.1([email protected])
- ts-api-utils: 1.3.0([email protected])
+ eslint: 9.15.0([email protected])
+ ts-api-utils: 1.4.1([email protected])
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/types': 7.11.0
- '@typescript-eslint/visitor-keys': 7.11.0
+ '@typescript-eslint/types': 8.15.0
+ '@typescript-eslint/visitor-keys': 8.15.0
debug: 4.3.7
- globby: 11.1.0
+ fast-glob: 3.3.2
is-glob: 4.0.3
minimatch: 9.0.5
semver: 7.6.3
- ts-api-utils: 1.3.0([email protected])
+ ts-api-utils: 1.4.1([email protected])
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.4.0([email protected]([email protected]))
- '@typescript-eslint/scope-manager': 7.11.0
- '@typescript-eslint/types': 7.11.0
- '@typescript-eslint/typescript-estree': 7.11.0([email protected])
- eslint: 9.11.1([email protected])
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ '@typescript-eslint/scope-manager': 8.15.0
+ '@typescript-eslint/types': 8.15.0
+ '@typescript-eslint/typescript-estree': 8.15.0([email protected])
+ eslint: 9.15.0([email protected])
+ optionalDependencies:
+ typescript: 5.5.4
transitivePeerDependencies:
- supports-color
- - typescript
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 7.11.0
- eslint-visitor-keys: 3.4.3
+ '@typescript-eslint/types': 8.15.0
+ eslint-visitor-keys: 4.2.0
dependencies:
@@ -5580,25 +5536,18 @@ snapshots:
'@vue/[email protected]': {}
dependencies:
- eslint: 9.11.1([email protected])
- eslint-config-prettier: 9.1.0([email protected]([email protected]))
- prettier: 3.3.3
- transitivePeerDependencies:
- - '@types/eslint'
-
- dependencies:
- '@typescript-eslint/parser': 7.11.0([email protected]([email protected]))([email protected])
- eslint: 9.11.1([email protected])
- eslint-plugin-vue: 9.28.0([email protected]([email protected]))
- vue-eslint-parser: 9.4.3([email protected]([email protected]))
+ eslint: 9.15.0([email protected])
+ eslint-plugin-vue: 9.31.0([email protected]([email protected]))
+ fast-glob: 3.3.2
+ vue-eslint-parser: 9.4.3([email protected]([email protected]))
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
+ - '@typescript-eslint/parser'
- supports-color
@@ -5710,6 +5659,10 @@ snapshots:
dependencies:
acorn: 8.12.1
+ dependencies:
+ acorn: 8.14.0
+
@@ -5718,6 +5671,8 @@ snapshots:
+
dependencies:
debug: 4.3.7
@@ -5758,8 +5713,6 @@ snapshots:
-
@@ -6244,10 +6197,6 @@ snapshots:
- dependencies:
- path-type: 4.0.0
-
@@ -6364,29 +6313,16 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
- dependencies:
- eslint: 9.11.1([email protected])
-
dependencies:
- eslint: 9.11.1([email protected])
- prettier: 3.3.3
- prettier-linter-helpers: 1.0.0
- synckit: 0.9.1
- optionalDependencies:
- eslint-config-prettier: 9.1.0([email protected]([email protected]))
-
- dependencies:
- '@eslint-community/eslint-utils': 4.4.0([email protected]([email protected]))
- eslint: 9.11.1([email protected])
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ eslint: 9.15.0([email protected])
globals: 13.24.0
natural-compare: 1.4.0
nth-check: 2.1.1
postcss-selector-parser: 6.1.0
semver: 7.6.3
- vue-eslint-parser: 9.4.3([email protected]([email protected]))
+ vue-eslint-parser: 9.4.3([email protected]([email protected]))
xml-name-validator: 4.0.0
transitivePeerDependencies:
- supports-color
@@ -6396,27 +6332,27 @@ snapshots:
esrecurse: 4.3.0
estraverse: 5.3.0
dependencies:
esrecurse: 4.3.0
estraverse: 5.3.0
dependencies:
- '@eslint-community/eslint-utils': 4.4.0([email protected]([email protected]))
- '@eslint-community/regexpp': 4.11.0
- '@eslint/config-array': 0.18.0
- '@eslint/core': 0.6.0
- '@eslint/eslintrc': 3.1.0
- '@eslint/js': 9.11.1
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ '@eslint-community/regexpp': 4.12.1
+ '@eslint/config-array': 0.19.0
+ '@eslint/core': 0.9.0
+ '@eslint/eslintrc': 3.2.0
+ '@eslint/js': 9.15.0
'@eslint/plugin-kit': 0.2.3
+ '@humanfs/node': 0.16.6
'@humanwhocodes/module-importer': 1.0.1
- '@humanwhocodes/retry': 0.3.0
- '@nodelib/fs.walk': 1.2.8
+ '@humanwhocodes/retry': 0.4.1
'@types/estree': 1.0.6
'@types/json-schema': 7.0.15
ajv: 6.12.6
@@ -6424,36 +6360,33 @@ snapshots:
cross-spawn: 7.0.5
debug: 4.3.7
escape-string-regexp: 4.0.0
- eslint-scope: 8.0.2
- eslint-visitor-keys: 4.0.0
- espree: 10.1.0
- esquery: 1.5.0
+ eslint-scope: 8.2.0
+ eslint-visitor-keys: 4.2.0
+ espree: 10.3.0
+ esquery: 1.6.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
file-entry-cache: 8.0.0
find-up: 5.0.0
glob-parent: 6.0.2
- ignore: 5.3.1
+ ignore: 5.3.2
imurmurhash: 0.1.4
is-glob: 4.0.3
- is-path-inside: 3.0.3
json-stable-stringify-without-jsonify: 1.0.1
lodash.merge: 4.6.2
minimatch: 3.1.2
natural-compare: 1.4.0
optionator: 0.9.4
- strip-ansi: 6.0.1
- text-table: 0.2.0
optionalDependencies:
jiti: 1.21.0
transitivePeerDependencies:
- supports-color
dependencies:
- acorn: 8.12.1
- acorn-jsx: 5.3.2([email protected])
- eslint-visitor-keys: 4.0.0
+ acorn: 8.14.0
+ acorn-jsx: 5.3.2([email protected])
+ eslint-visitor-keys: 4.2.0
dependencies:
@@ -6463,7 +6396,7 @@ snapshots:
dependencies:
estraverse: 5.3.0
@@ -6497,8 +6430,6 @@ snapshots:
-
dependencies:
'@nodelib/fs.stat': 2.0.5
@@ -6542,10 +6473,10 @@ snapshots:
dependencies:
- flatted: 3.3.1
+ flatted: 3.3.2
keyv: 4.5.4
@@ -6609,15 +6540,6 @@ snapshots:
- dependencies:
- array-union: 2.1.0
- dir-glob: 3.0.1
- fast-glob: 3.3.2
- ignore: 5.3.1
- merge2: 1.4.1
- slash: 3.0.0
-
dependencies:
delegate: 3.2.0
@@ -6678,7 +6600,7 @@ snapshots:
@@ -6734,8 +6656,6 @@ snapshots:
-
@@ -7527,8 +7447,6 @@ snapshots:
lru-cache: 10.2.2
minipass: 7.1.2
-
@@ -7714,10 +7632,6 @@ snapshots:
- dependencies:
- fast-diff: 1.3.0
-
optional: true
@@ -7965,8 +7879,6 @@ snapshots:
-
@@ -8059,11 +7971,6 @@ snapshots:
- dependencies:
- '@pkgr/core': 0.1.1
- tslib: 2.6.2
-
@@ -8093,8 +8000,6 @@ snapshots:
transitivePeerDependencies:
- ts-node
-
dependencies:
thenify: 3.3.1
@@ -8163,7 +8068,7 @@ snapshots:
dependencies:
typescript: 5.5.4
@@ -8212,6 +8117,17 @@ snapshots:
+ dependencies:
+ '@typescript-eslint/parser': 8.15.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.15.0([email protected]([email protected]))([email protected])
+ eslint: 9.15.0([email protected])
+ optionalDependencies:
+ typescript: 5.5.4
+ transitivePeerDependencies:
+ - supports-color
+
@@ -8459,14 +8375,14 @@ snapshots:
dependencies:
vue: 3.4.31([email protected])
dependencies:
debug: 4.3.7
- eslint: 9.11.1([email protected])
+ eslint: 9.15.0([email protected])
eslint-scope: 7.2.2
eslint-visitor-keys: 3.4.3
espree: 9.6.1
- esquery: 1.5.0
+ esquery: 1.6.0
lodash: 4.17.21
semver: 7.6.3
transitivePeerDependencies:
diff --git a/frontend/src/bbkit/BBModal.vue b/frontend/src/bbkit/BBModal.vue
index 688feda1a7..bc75ff7c12 100644
--- a/frontend/src/bbkit/BBModal.vue
+++ b/frontend/src/bbkit/BBModal.vue
@@ -102,7 +102,7 @@ export default defineComponent({
setup(props, { emit }) {
const { id, upmost, events } = useOverlayStack(toRef(props, "show"));
- useEmitteryEventListener(events, "esc", (e) => {
+ useEmitteryEventListener(events, "esc", () => {
if (upmost.value && props.closeOnEsc) {
tryClose();
}
diff --git a/frontend/src/components/AdvancedSearch/ScopeTags.vue b/frontend/src/components/AdvancedSearch/ScopeTags.vue
index 81e8b6079c..23c06b6270 100644
--- a/frontend/src/components/AdvancedSearch/ScopeTags.vue
+++ b/frontend/src/components/AdvancedSearch/ScopeTags.vue
@@ -61,7 +61,7 @@ const tagProps = (scope: SearchScope): TagProps => {
};
};
-const renderValue = (scope: SearchScope, index: number) => {
+const renderValue = (scope: SearchScope, _index: number) => {
if (scope.id === "created") {
const [begin, end] = scope.value.split(",").map((ts) => parseInt(ts, 10));
return [dayjs(begin).format("L"), dayjs(end).format("L")].join("-");
diff --git a/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue b/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue
index fd8035f1b2..88ade1705a 100644
--- a/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue
+++ b/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue
@@ -206,7 +206,7 @@ const databaseAnomalySectionList = computed(
.toLowerCase()
.includes(state.searchText.toLowerCase())
) {
- true;
+ return true;
}
return false;
})
diff --git a/frontend/src/components/Branch/BaselineSchemaSelector.vue b/frontend/src/components/Branch/BaselineSchemaSelector.vue
index 8e5d05a04d..be89e15197 100644
--- a/frontend/src/components/Branch/BaselineSchemaSelector.vue
+++ b/frontend/src/components/Branch/BaselineSchemaSelector.vue
@@ -73,7 +73,7 @@ watch(
state.databaseName = database.name;
state.environmentName = database.effectiveEnvironment;
}
- } catch (error) {
+ } catch {
// do nothing.
}
emit("update:database-name", database?.name);
diff --git a/frontend/src/components/Branch/BranchDetailView.vue b/frontend/src/components/Branch/BranchDetailView.vue
index c52892f879..3294f4bed7 100644
--- a/frontend/src/components/Branch/BranchDetailView.vue
+++ b/frontend/src/components/Branch/BranchDetailView.vue
@@ -500,8 +500,8 @@ const deleteBranch = async (force: boolean) => {
router.replace({
name: PROJECT_V1_ROUTE_BRANCHES,
});
- } catch (ex) {
- if (getErrorCode(ex) === Status.FAILED_PRECONDITION) {
+ } catch (err) {
+ if (getErrorCode(err) === Status.FAILED_PRECONDITION) {
const confirmed = await confirmForceDeleteBranch();
if (confirmed) {
deleteBranch(true);
diff --git a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/context.ts b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/context.ts
index 1eb3b3e610..e5a0db9209 100644
--- a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/context.ts
+++ b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/context.ts
@@ -6,9 +6,8 @@ import type { Changelist_Change as Change } from "@/types/proto/v1/changelist_se
import { useChangelistDetailContext } from "../context";
import { emptyRawSQLChange } from "./utils";
-export type AddChangeEvents = Emittery<{
- // not used yet
-}>;
+// eslint-disable-next-line @typescript-eslint/no-empty-object-type
+export type AddChangeEvents = Emittery<{}>;
export type AddChangeContext = {
changeSource: Ref<ChangeSource>;
diff --git a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryForm.vue b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryForm.vue
index 4d83e308a4..28bf24fb90 100644
--- a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryForm.vue
+++ b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryForm.vue
@@ -254,7 +254,7 @@ watch(() => database.value?.name, fetchChangeHistoryList, { immediate: true });
watch(
() => state.changeHistoryList,
- (options) => {
+ () => {
state.affectedTable = EmptyAffectedTable;
},
{ immediate: true }
diff --git a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/ChangeHistoryTable.vue b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/ChangeHistoryTable.vue
index 80b5f1e2e1..e0b63202aa 100644
--- a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/ChangeHistoryTable.vue
+++ b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/ChangeHistoryTable.vue
@@ -113,7 +113,7 @@ const handleSelection = (rowKeys: DataTableRowKey[]) => {
const rowProps = (history: ComposedChangeHistory) => {
return {
- onClick: (e: MouseEvent) => {
+ onClick: () => {
emit("click-item", history);
},
};
diff --git a/frontend/src/components/InputWithTemplate/InputWithTemplate.vue b/frontend/src/components/InputWithTemplate/InputWithTemplate.vue
index f6d80d06c5..f5408b2bc3 100644
--- a/frontend/src/components/InputWithTemplate/InputWithTemplate.vue
+++ b/frontend/src/components/InputWithTemplate/InputWithTemplate.vue
@@ -141,7 +141,7 @@ const onWindowResize = () => {
}
};
-const onInputDataDeleteEnter = (e: KeyboardEvent) => {
+const onInputDataDeleteEnter = () => {
if (!state.inputData && state.templateInputs.length > 0) {
const last = state.templateInputs.slice(-1)[0];
if (last.type === InputType.Template) {
@@ -150,7 +150,7 @@ const onInputDataDeleteEnter = (e: KeyboardEvent) => {
}
};
-const onInputDataDeleteLeave = (e: KeyboardEvent) => {
+const onInputDataDeleteLeave = () => {
if (!state.inputData && state.templateInputs.length > 0) {
const last = state.templateInputs.slice(-1)[0];
if (last && last.type === InputType.String) {
diff --git a/frontend/src/components/InstanceForm/specs.ts b/frontend/src/components/InstanceForm/specs.ts
index 8b4ac964e0..fd27ae1e36 100644
--- a/frontend/src/components/InstanceForm/specs.ts
+++ b/frontend/src/components/InstanceForm/specs.ts
@@ -24,7 +24,7 @@ export const useInstanceSpecs = (
const showSSH = computed((): boolean => {
return instanceV1HasSSH(basicInfo.value.engine);
});
- const isEngineBeta = (engine: Engine): boolean => {
+ const isEngineBeta = (_engine: Engine): boolean => {
return false;
// return [].includes(engine);
};
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/TaskName.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/TaskName.vue
index 401089be07..7717f2e1b0 100644
--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/TaskName.vue
+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/TaskName.vue
@@ -63,7 +63,7 @@ const link = computed(() => {
};
});
-const toTop = (e: Event) => {
+const toTop = () => {
const taskElem = document.querySelector(
`[data-task-id="${extractTaskUID(props.task.name)}"]`
);
diff --git a/frontend/src/components/IssueV1/components/Sidebar/GhostSection/common.ts b/frontend/src/components/IssueV1/components/Sidebar/GhostSection/common.ts
index 4a4f1320fd..f35dc47716 100644
--- a/frontend/src/components/IssueV1/components/Sidebar/GhostSection/common.ts
+++ b/frontend/src/components/IssueV1/components/Sidebar/GhostSection/common.ts
@@ -126,7 +126,7 @@ export const provideIssueGhostContext = () => {
(step) => step.specs
);
const sqlMap: Record<string, string> = {};
- flattenSpecs.forEach((spec, i) => {
+ flattenSpecs.forEach((spec) => {
const target = spec.changeDatabaseConfig!.target;
const sheetName = sheetNameForSpec(spec);
const sheet = getLocalSheetByName(sheetName);
diff --git a/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorView.vue b/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorView.vue
index 5302ec8a96..8a2c1a650f 100644
--- a/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorView.vue
+++ b/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorView.vue
@@ -582,7 +582,7 @@ const handleUpdateStatementAndOverwrite = async (
) => {
try {
await showOverwriteConfirmDialog();
- } catch (error) {
+ } catch {
return;
}
diff --git a/frontend/src/components/IssueV1/components/StatementSection/EditorView/useTempEditState.ts b/frontend/src/components/IssueV1/components/StatementSection/EditorView/useTempEditState.ts
index 4ae225c82c..2f1ac59497 100644
--- a/frontend/src/components/IssueV1/components/StatementSection/EditorView/useTempEditState.ts
+++ b/frontend/src/components/IssueV1/components/StatementSection/EditorView/useTempEditState.ts
@@ -92,7 +92,9 @@ export const useTempEditState = (state: EditState) => {
} else {
// If we are creating an issue, we don't need the temp editing state
// feature since all tasks are still in editing mode.
- stopWatching && stopWatching();
+ if (stopWatching) {
+ stopWatching();
+ }
}
},
{ immediate: true }
diff --git a/frontend/src/components/IssueV1/logic/action/issue.ts b/frontend/src/components/IssueV1/logic/action/issue.ts
index 03d4e51de4..6f052e4dd2 100644
--- a/frontend/src/components/IssueV1/logic/action/issue.ts
+++ b/frontend/src/components/IssueV1/logic/action/issue.ts
@@ -43,7 +43,7 @@ export const PossibleIssueStatusActionMap: Record<
export const getApplicableIssueStatusActionList = (
issue: ComposedIssue,
- reviewStatus?: Issue_Approver_Status
+ _reviewStatus?: Issue_Approver_Status
): IssueStatusAction[] => {
const list = PossibleIssueStatusActionMap[issue.status];
return list.filter((action) => {
diff --git a/frontend/src/components/IssueV1/logic/rollout.ts b/frontend/src/components/IssueV1/logic/rollout.ts
index 1a0ac84aa5..604ae9b87d 100644
--- a/frontend/src/components/IssueV1/logic/rollout.ts
+++ b/frontend/src/components/IssueV1/logic/rollout.ts
@@ -40,12 +40,6 @@ export const allowUserToEditStatementForTask = (
const { getPlanCheckRunsForTask } = issueContext;
const denyReasons: string[] = [];
- if (isTaskV1TriggeredByVCS(issue, task)) {
- // If an issue is triggered by VCS, its creator will be 1 (SYSTEM_BOT_ID)
- // We should "Allow" current user to edit the statement (via VCS).
- return [];
- }
-
if (
issue.type !== Issue_Type.DATABASE_CHANGE &&
issue.type !== Issue_Type.DATABASE_DATA_EXPORT
@@ -113,13 +107,6 @@ export const isTaskFinished = (task: Task): boolean => {
return [Task_Status.DONE, Task_Status.SKIPPED].includes(task.status);
};
-export const isTaskV1TriggeredByVCS = (
- issue: ComposedIssue,
- task: Task
-): boolean => {
- return false; // TODO
-};
-
export const semanticTaskType = (type: Task_Type) => {
switch (type) {
case Task_Type.DATABASE_CREATE:
diff --git a/frontend/src/components/MonacoEditor/composables/useOverrideSuggestIcons.ts b/frontend/src/components/MonacoEditor/composables/useOverrideSuggestIcons.ts
index 41037bdd3b..a7447e9066 100644
--- a/frontend/src/components/MonacoEditor/composables/useOverrideSuggestIcons.ts
+++ b/frontend/src/components/MonacoEditor/composables/useOverrideSuggestIcons.ts
@@ -97,8 +97,8 @@ const createColoredCSS = (icon: ColoredIconOverride) => {
};
export const useOverrideSuggestIcons = (
- monaco: MonacoModule,
- editor: monaco.editor.IStandaloneCodeEditor
+ _monaco: MonacoModule,
+ _editor: monaco.editor.IStandaloneCodeEditor
) => {
const style = [
...MonochromeIconOverrides.map(createMonochromeCSS),
diff --git a/frontend/src/components/MonacoEditor/lsp-client.ts b/frontend/src/components/MonacoEditor/lsp-client.ts
index 4e657501b9..0ab91bad45 100644
--- a/frontend/src/components/MonacoEditor/lsp-client.ts
+++ b/frontend/src/components/MonacoEditor/lsp-client.ts
@@ -167,42 +167,40 @@ export const createLanguageClient = (
export const createWebSocketAndStartClient = (): {
languageClient: Promise<MonacoLanguageClient>;
} => {
- const languageClient = new Promise<MonacoLanguageClient>(
- (resolve, reject) => {
- const languageClient = createLanguageClient({
- async get() {
- const ws = await connectWebSocket();
- const socket = toSocket(ws);
- const reader = new WebSocketMessageReader(socket);
- const writer = new WebSocketMessageWriter(socket);
- return { reader, writer };
- },
- });
- languageClient.onDidChangeState((e) => {
- if (e.newState === State.Running) {
- const { lastCommand } = conn;
- if (lastCommand) {
- // When LSP Client is reconnected, the LSP context (e.g. setMetadata)
- // will be cleared.
- // So we need to catch the last command, and re-send it to recover
- // the context
- executeCommand(
- languageClient,
- lastCommand.command,
- lastCommand.arguments
- );
- }
+ const languageClient = new Promise<MonacoLanguageClient>((resolve) => {
+ const languageClient = createLanguageClient({
+ async get() {
+ const ws = await connectWebSocket();
+ const socket = toSocket(ws);
+ const reader = new WebSocketMessageReader(socket);
+ const writer = new WebSocketMessageWriter(socket);
+ return { reader, writer };
+ },
+ });
+ languageClient.onDidChangeState((e) => {
+ if (e.newState === State.Running) {
+ const { lastCommand } = conn;
+ if (lastCommand) {
+ // When LSP Client is reconnected, the LSP context (e.g. setMetadata)
+ // will be cleared.
+ // So we need to catch the last command, and re-send it to recover
+ // the context
+ executeCommand(
+ languageClient,
+ lastCommand.command,
+ lastCommand.arguments
+ );
}
- });
+ }
+ });
- languageClient.start().catch((err) => {
- // LSP Client startup failed.
- errorNotification(err);
- });
+ languageClient.start().catch((err) => {
+ // LSP Client startup failed.
+ errorNotification(err);
+ });
- resolve(languageClient);
- }
- );
+ resolve(languageClient);
+ });
return {
languageClient,
diff --git a/frontend/src/components/MonacoEditor/text-model.ts b/frontend/src/components/MonacoEditor/text-model.ts
index ff2ca6dfb2..0329b6925c 100644
--- a/frontend/src/components/MonacoEditor/text-model.ts
+++ b/frontend/src/components/MonacoEditor/text-model.ts
@@ -43,7 +43,7 @@ export const useMonacoTextModel = (
const m = markRaw(createTextModel(filename, unref(content), language));
if (sync && isRef(content)) {
- m.onDidChangeContent((e) => {
+ m.onDidChangeContent(() => {
const c = m.getValue();
if (c !== content.value) {
// Write-back edited content to content ref
diff --git a/frontend/src/components/Plan/components/StatementSection/EditorView/EditorView.vue b/frontend/src/components/Plan/components/StatementSection/EditorView/EditorView.vue
index eac8157b9a..1c05b8599d 100644
--- a/frontend/src/components/Plan/components/StatementSection/EditorView/EditorView.vue
+++ b/frontend/src/components/Plan/components/StatementSection/EditorView/EditorView.vue
@@ -468,7 +468,7 @@ const handleUpdateStatementAndOverwrite = async (
) => {
try {
await showOverwriteConfirmDialog();
- } catch (error) {
+ } catch {
return;
}
diff --git a/frontend/src/components/Plan/components/StatementSection/EditorView/useTempEditState.ts b/frontend/src/components/Plan/components/StatementSection/EditorView/useTempEditState.ts
index 4a8b64e5db..4821fad4a5 100644
--- a/frontend/src/components/Plan/components/StatementSection/EditorView/useTempEditState.ts
+++ b/frontend/src/components/Plan/components/StatementSection/EditorView/useTempEditState.ts
@@ -89,7 +89,9 @@ export const useTempEditState = (state: EditState) => {
} else {
// If we are creating an plan, we don't need the temp editing state
// feature since all specs are still in editing mode.
- stopWatching && stopWatching();
+ if (stopWatching) {
+ stopWatching();
+ }
}
},
{ immediate: true }
diff --git a/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue b/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue
index 6fdc9996ac..28890a7b1b 100644
--- a/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue
+++ b/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue
@@ -114,7 +114,7 @@ const save = () => {
projectPatch.key = state.key;
updateMask.push("key");
}
- projectV1Store.updateProject(projectPatch, updateMask).then((updated) => {
+ projectV1Store.updateProject(projectPatch, updateMask).then(() => {
pushNotification({
module: "bytebase",
style: "SUCCESS",
diff --git a/frontend/src/components/ProvideDashboardContext.vue b/frontend/src/components/ProvideDashboardContext.vue
index 280f056ec3..6582fc3b89 100644
--- a/frontend/src/components/ProvideDashboardContext.vue
+++ b/frontend/src/components/ProvideDashboardContext.vue
@@ -112,6 +112,8 @@ onMounted(async () => {
});
onUnmounted(() => {
- unregisterBeforeEachHook && unregisterBeforeEachHook();
+ if (unregisterBeforeEachHook) {
+ unregisterBeforeEachHook();
+ }
});
</script>
diff --git a/frontend/src/components/SQLReview/components/SQLReviewPolicyDataTable.vue b/frontend/src/components/SQLReview/components/SQLReviewPolicyDataTable.vue
index 2492caaaf7..a8e51145e9 100644
--- a/frontend/src/components/SQLReview/components/SQLReviewPolicyDataTable.vue
+++ b/frontend/src/components/SQLReview/components/SQLReviewPolicyDataTable.vue
@@ -161,7 +161,7 @@ const highlight = (content: string) => {
const rowProps = (review: SQLReviewPolicy) => {
return {
style: props.customClick ? "cursor: pointer;" : "",
- onClick: (e: MouseEvent) => {
+ onClick: () => {
if (props.customClick) {
emit("row-click", review);
return;
diff --git a/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue b/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue
index f82b80a1e0..1d4dc0ddbf 100644
--- a/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue
+++ b/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue
@@ -56,7 +56,7 @@ const engineWithOrderRank = computed(() => {
});
const sortedData = computed((): [Engine, Map<string, RuleTemplateV2>][] => {
- return [...props.ruleMapByEngine.entries()].sort(([e1, d1], [e2, d2]) => {
+ return [...props.ruleMapByEngine.entries()].sort(([e1], [e2]) => {
return (
(engineWithOrderRank.value.get(e1) ?? 0) -
(engineWithOrderRank.value.get(e2) ?? 0)
diff --git a/frontend/src/components/SQLReview/components/SQLRuleTable.vue b/frontend/src/components/SQLReview/components/SQLRuleTable.vue
index dd71d86e4f..5dbce57101 100644
--- a/frontend/src/components/SQLReview/components/SQLRuleTable.vue
+++ b/frontend/src/components/SQLReview/components/SQLRuleTable.vue
@@ -185,7 +185,7 @@ const columns = computed(() => {
const columns: (DataTableColumn<RuleTemplateV2> & { hide?: boolean })[] = [
{
type: "selection",
- cellProps: (rule: RuleTemplateV2) => {
+ cellProps: () => {
return {
onClick: (e: MouseEvent) => {
e.stopPropagation();
@@ -224,7 +224,7 @@ const columns = computed(() => {
</div>
);
},
- cellProps: (rule: RuleTemplateV2) => {
+ cellProps: () => {
return {
onClick: (e: MouseEvent) => {
e.stopPropagation();
@@ -305,7 +305,7 @@ const columns = computed(() => {
const rowProps = (rule: RuleTemplateV2) => {
return {
style: props.supportSelect ? "cursor: pointer;" : "",
- onClick: (e: MouseEvent) => {
+ onClick: () => {
if (props.supportSelect) {
toggleRule(rule);
return;
diff --git a/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue
index 21fe1b74c9..9c11389567 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue
@@ -322,8 +322,7 @@ const tryEditTable = async (schema: SchemaMetadata, table: TableMetadata) => {
const tryEditColumn = async (
schema: SchemaMetadata,
table: TableMetadata,
- column: ColumnMetadata,
- target: "name" | "type"
+ column: ColumnMetadata
) => {
if (schema && table && column) {
await tryEditTable(schema, table);
diff --git a/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue
index 72e9407e3c..5ec89f8a04 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue
@@ -154,7 +154,7 @@ const allowEditPartition = (partition: TablePartitionMetadata) => {
return status === "created";
};
-const classesForRow = (item: FlattenTablePartitionMetadata, index: number) => {
+const classesForRow = (item: FlattenTablePartitionMetadata) => {
return statusForPartition(item.partition);
};
diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue
index 4a1b9de7a4..ee96bf165a 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue
@@ -734,7 +734,7 @@ const onSemanticTypeRemove = async (column: ColumnMetadata) => {
});
};
-const classesForRow = (column: ColumnMetadata, index: number) => {
+const classesForRow = (column: ColumnMetadata) => {
return props.getColumnItemComputedClassList(column);
};
diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue b/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue
index 6f04c5cbe6..fcb3233208 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue
@@ -194,7 +194,7 @@ const statusForTable = (table: TableMetadata) => {
return getTableStatus(props.db, metadataForTable(table));
};
-const classesForRow = (table: TableMetadata, index: number) => {
+const classesForRow = (table: TableMetadata) => {
return statusForTable(table);
};
diff --git a/frontend/src/components/SchemaTemplate/ClassificationTree.vue b/frontend/src/components/SchemaTemplate/ClassificationTree.vue
index 0c3f3cf765..3e3ee4faf0 100644
--- a/frontend/src/components/SchemaTemplate/ClassificationTree.vue
+++ b/frontend/src/components/SchemaTemplate/ClassificationTree.vue
@@ -77,7 +77,7 @@ const state = reactive<LocalState>({
const nodeProps = ({ option }: { option: TreeOption }) => {
return {
- onClick(e: MouseEvent) {
+ onClick() {
if (!option.isLeaf || !option.key) {
return;
}
diff --git a/frontend/src/components/v2/Container/Drawer.vue b/frontend/src/components/v2/Container/Drawer.vue
index 79450399d3..a6132c6496 100644
--- a/frontend/src/components/v2/Container/Drawer.vue
+++ b/frontend/src/components/v2/Container/Drawer.vue
@@ -45,7 +45,7 @@ const onUpdateShow = (show: boolean) => {
const { id, upmost, events } = useOverlayStack(toRef(props, "show"));
-useEmitteryEventListener(events, "esc", (e) => {
+useEmitteryEventListener(events, "esc", () => {
if (upmost.value && props.closeOnEsc) {
emit("update:show", false);
emit("close");
diff --git a/frontend/src/components/v2/Select/EnvironmentSelect.vue b/frontend/src/components/v2/Select/EnvironmentSelect.vue
index b87d11e1d7..8c1f4068bd 100644
--- a/frontend/src/components/v2/Select/EnvironmentSelect.vue
+++ b/frontend/src/components/v2/Select/EnvironmentSelect.vue
@@ -44,7 +44,7 @@ const props = withDefaults(
showProductionIcon: true,
multiple: false,
filter: () => true,
- renderSuffix: (environment: string) => "",
+ renderSuffix: () => "",
}
);
diff --git a/frontend/src/components/v2/Select/ProjectSelect.vue b/frontend/src/components/v2/Select/ProjectSelect.vue
index 8c0ba198b1..45d8fd0bdb 100644
--- a/frontend/src/components/v2/Select/ProjectSelect.vue
+++ b/frontend/src/components/v2/Select/ProjectSelect.vue
@@ -69,7 +69,7 @@ const props = withDefaults(
includeArchived: false,
multiple: false,
filter: () => true,
- renderSuffix: (project: string) => "",
+ renderSuffix: () => "",
}
);
diff --git a/frontend/src/grpcweb/middlewares/simulateLatencyMiddleware.ts b/frontend/src/grpcweb/middlewares/simulateLatencyMiddleware.ts
index e58d304e9d..716c4e63b9 100644
--- a/frontend/src/grpcweb/middlewares/simulateLatencyMiddleware.ts
+++ b/frontend/src/grpcweb/middlewares/simulateLatencyMiddleware.ts
@@ -1,9 +1,8 @@
import { useLocalStorage } from "@vueuse/core";
import type { ClientMiddleware } from "nice-grpc-web";
-export type SimulateLatencyOptions = {
- // empty
-};
+// eslint-disable-next-line @typescript-eslint/no-empty-object-type
+export type SimulateLatencyOptions = {};
const simulateLatency = (minMS: number, maxMS: number, tags: string[] = []) => {
if (maxMS < minMS) return;
diff --git a/frontend/src/plugins/ai/components/ChatView/Markdown/utils.ts b/frontend/src/plugins/ai/components/ChatView/Markdown/utils.ts
index bff7b7e8f3..73f51eede8 100644
--- a/frontend/src/plugins/ai/components/ChatView/Markdown/utils.ts
+++ b/frontend/src/plugins/ai/components/ChatView/Markdown/utils.ts
@@ -138,8 +138,7 @@ function emphasisToVNode(
}
function footnoteDefinitionToVNode(
- node: RootContentMap["footnoteDefinition"],
- state?: State
+ node: RootContentMap["footnoteDefinition"]
): VNode | string {
// footnoteDefinition的children只有一个child并且为text,这里强行转一下
const text = node.children[0] as unknown as Text;
@@ -186,10 +185,7 @@ function footnoteDefinitionToVNode(
// ]);
}
-function footnoteReferenceToVNode(
- node: RootContentMap["footnoteReference"],
- state?: State
-): VNode | string {
+function footnoteReferenceToVNode(): VNode | string {
return "";
// const clobberPrefix = "user-content-";
diff --git a/frontend/src/plugins/ai/logic/useDynamicSuggestions.ts b/frontend/src/plugins/ai/logic/useDynamicSuggestions.ts
index 709a3f3377..b2c85da643 100644
--- a/frontend/src/plugins/ai/logic/useDynamicSuggestions.ts
+++ b/frontend/src/plugins/ai/logic/useDynamicSuggestions.ts
@@ -80,7 +80,7 @@ export const useDynamicSuggestions = () => {
const text = head(data?.choices)?.message.content?.trim() ?? "";
const card = JSON.parse(text) as Record<string, string>;
return values(card ?? {});
- } catch (err) {
+ } catch {
return [];
}
};
diff --git a/frontend/src/plugins/ai/store/conversation.ts b/frontend/src/plugins/ai/store/conversation.ts
index 9f1c004ce9..d0d6edc6be 100644
--- a/frontend/src/plugins/ai/store/conversation.ts
+++ b/frontend/src/plugins/ai/store/conversation.ts
@@ -272,7 +272,7 @@ export const useConversationStore = defineStore("ai-conversation", () => {
try {
await Promise.all(ready);
await Promise.all([conversations.destroy(), messages.destroy()]);
- } catch (ex) {
+ } catch {
// nothing todo
}
};
diff --git a/frontend/src/plugins/cel/logic/resolve.ts b/frontend/src/plugins/cel/logic/resolve.ts
index c4cded4f21..d28e216669 100644
--- a/frontend/src/plugins/cel/logic/resolve.ts
+++ b/frontend/src/plugins/cel/logic/resolve.ts
@@ -94,7 +94,7 @@ export const resolveCELExpr = (expr: CELExpr): SimpleExpr => {
return resolveCollectionExpr(expr, negative);
}
throw new Error(`unsupported expr "${JSON.stringify(expr)}"`);
- } catch (error) {
+ } catch {
// Any error occurs, we treat it as a raw string.
return resolveRawStringExpr(expr);
}
diff --git a/frontend/src/plugins/sql-lsp/client/useLanguageClient.ts b/frontend/src/plugins/sql-lsp/client/useLanguageClient.ts
index bf1f5ee8a6..a08db1b2e1 100644
--- a/frontend/src/plugins/sql-lsp/client/useLanguageClient.ts
+++ b/frontend/src/plugins/sql-lsp/client/useLanguageClient.ts
@@ -128,7 +128,9 @@ const stop = () => {
state.client.then((client) => {
state.pendingCommands.clear();
- client.isRunning() && client.stop();
+ if (client.isRunning()) {
+ client.stop();
+ }
});
};
diff --git a/frontend/src/plugins/sql-lsp/server/complete/candidates/keywords/index.ts b/frontend/src/plugins/sql-lsp/server/complete/candidates/keywords/index.ts
index 1b36ea152a..529eb018d6 100644
--- a/frontend/src/plugins/sql-lsp/server/complete/candidates/keywords/index.ts
+++ b/frontend/src/plugins/sql-lsp/server/complete/candidates/keywords/index.ts
@@ -20,7 +20,7 @@ export const keywordGroupsOfDialect = async (dialect: SQLDialect) => {
`./dialects/${dialect.toLowerCase()}.ts`
);
Object.assign(dialectOnly, additional);
- } catch (ex) {
+ } catch {
// nothing
}
return {
diff --git a/frontend/src/plugins/sql-lsp/server/complete/utils/parser-helper.ts b/frontend/src/plugins/sql-lsp/server/complete/utils/parser-helper.ts
index 0e90853096..225ec3e33a 100644
--- a/frontend/src/plugins/sql-lsp/server/complete/utils/parser-helper.ts
+++ b/frontend/src/plugins/sql-lsp/server/complete/utils/parser-helper.ts
@@ -30,7 +30,7 @@ export const getFromClauses = (sql: string) => {
break;
}
});
- } catch (ex) {
+ } catch {
// No valid from clauses found. Give up.
}
return { subQueries, incompleteSubQueries, fromTables };
diff --git a/frontend/src/store/modules/slowQuery.ts b/frontend/src/store/modules/slowQuery.ts
index 9d717647d8..fbe9dfea7b 100644
--- a/frontend/src/store/modules/slowQuery.ts
+++ b/frontend/src/store/modules/slowQuery.ts
@@ -17,7 +17,7 @@ export const useSlowQueryStore = defineStore("slow-query", () => {
response.slowQueryLogs
);
return composedLogList;
- } catch (ex) {
+ } catch {
return [];
}
};
diff --git a/frontend/src/store/modules/sqlEditor/tab.ts b/frontend/src/store/modules/sqlEditor/tab.ts
index 9a84a5032e..62faa8ec0d 100644
--- a/frontend/src/store/modules/sqlEditor/tab.ts
+++ b/frontend/src/store/modules/sqlEditor/tab.ts
@@ -71,7 +71,7 @@ export const useSQLEditorTabStore = defineStore("sqlEditorTab", () => {
undefined
);
if (!stored) {
- undefined;
+ return undefined;
}
const tab = reactive<SQLEditorTab>({
...defaultSQLEditorTab(),
diff --git a/frontend/src/store/modules/sqlEditor/webTerminal.ts b/frontend/src/store/modules/sqlEditor/webTerminal.ts
index 375c0129b9..61b8a44c31 100644
--- a/frontend/src/store/modules/sqlEditor/webTerminal.ts
+++ b/frontend/src/store/modules/sqlEditor/webTerminal.ts
@@ -61,7 +61,7 @@ const createQueryState = (tab: SQLEditorTab): WebTerminalQueryState => {
};
const createInitialQueryItemByTab = (
- tab: SQLEditorTab
+ _tab: SQLEditorTab
): WebTerminalQueryItemV1 => {
return createQueryItemV1("");
};
@@ -124,7 +124,7 @@ const createStreamingQueryController = (tab: SQLEditorTab) => {
const response$ = new Observable<AdminExecuteResponse>((subscriber) => {
let requestSubscription: Subscription;
- ws.addEventListener("open", (event) => {
+ ws.addEventListener("open", () => {
console.debug("ws open");
if (initialRequest) {
send(initialRequest);
diff --git a/frontend/src/store/modules/v1/setting.ts b/frontend/src/store/modules/v1/setting.ts
index 22d65becb4..48a1a4cbcd 100644
--- a/frontend/src/store/modules/v1/setting.ts
+++ b/frontend/src/store/modules/v1/setting.ts
@@ -33,15 +33,13 @@ export const useSettingV1Store = defineStore("setting_v1", {
);
return setting?.value?.stringValue;
},
- classification(
- state
- ): DataClassificationSetting_DataClassificationConfig[] {
+ classification(): DataClassificationSetting_DataClassificationConfig[] {
const setting = this.settingMapByName.get(
`${settingNamePrefix}bb.workspace.data-classification`
);
return setting?.value?.dataClassificationSettingValue?.configs ?? [];
},
- passwordRestriction(state): PasswordRestrictionSetting {
+ passwordRestriction(): PasswordRestrictionSetting {
const setting = this.settingMapByName.get(
`${settingNamePrefix}bb.workspace.password-restriction`
);
diff --git a/frontend/src/types/sqlReview.ts b/frontend/src/types/sqlReview.ts
index 29ec28085b..241c4fac01 100644
--- a/frontend/src/types/sqlReview.ts
+++ b/frontend/src/types/sqlReview.ts
@@ -767,8 +767,8 @@ export const getRuleLocalization = (
};
export const ruleIsAvailableInSubscription = (
- ruleType: string,
- subscriptionPlan: PlanType
+ _ruleType: string,
+ _subscriptionPlan: PlanType
): boolean => {
return true;
};
diff --git a/frontend/src/utils/dom.ts b/frontend/src/utils/dom.ts
index 1b93907440..ffae482a10 100644
--- a/frontend/src/utils/dom.ts
+++ b/frontend/src/utils/dom.ts
@@ -1,9 +1,4 @@
-import {
- onBeforeUnmount,
- unref,
- watch,
- type Ref,
-} from "vue";
+import { onBeforeUnmount, unref, watch, type Ref } from "vue";
export const isDescendantOf = (
node: Element | null | undefined,
@@ -86,6 +81,8 @@ export const usePreventBackAndForward = (
);
onBeforeUnmount(() => {
- unregister && unregister();
+ if (unregister) {
+ unregister();
+ }
});
};
diff --git a/frontend/src/utils/util.ts b/frontend/src/utils/util.ts
index 129d318eec..5f1b822454 100644
--- a/frontend/src/utils/util.ts
+++ b/frontend/src/utils/util.ts
@@ -96,7 +96,7 @@ export function isUrl(str: string): boolean {
try {
url = new URL(str);
- } catch (_) {
+ } catch {
return false;
}
@@ -106,20 +106,20 @@ export function isUrl(str: string): boolean {
// Performs inline swap, also handles negative index (counting from the end)
// arraySwap([1, 2, 3, 4], 1, 2) => [1, 3, 2, 4]
// arraySwap([1, 2, 3, 4], -1, -2) => [1, 2, 4, 3]
-export function arraySwap(arr: any[], old_index: number, new_index: number) {
- while (old_index < 0) {
- old_index += arr.length;
+export function arraySwap(arr: any[], oldIndex: number, newIndex: number) {
+ while (oldIndex < 0) {
+ oldIndex += arr.length;
}
- while (new_index < 0) {
- new_index += arr.length;
+ while (newIndex < 0) {
+ newIndex += arr.length;
}
- if (new_index >= arr.length) {
- let k = new_index - arr.length + 1;
+ if (newIndex >= arr.length) {
+ let k = newIndex - arr.length + 1;
while (k--) {
arr.push(undefined);
}
}
- arr.splice(new_index, 0, arr.splice(old_index, 1)[0]);
+ arr.splice(newIndex, 0, arr.splice(oldIndex, 1)[0]);
}
export function sizeToFit(
diff --git a/frontend/src/utils/v1/changeHistory.ts b/frontend/src/utils/v1/changeHistory.ts
index 1d7365e156..df5f8bd56e 100644
--- a/frontend/src/utils/v1/changeHistory.ts
+++ b/frontend/src/utils/v1/changeHistory.ts
@@ -41,11 +41,7 @@ export const isValidChangeHistoryName = (name: string | undefined) => {
return uid && uid !== String(EMPTY_ID) && uid !== String(UNKNOWN_ID);
};
-export const changeHistoryLinkRaw = (
- parent: string,
- uid: string,
- version: string
-) => {
+export const changeHistoryLinkRaw = (parent: string, uid: string) => {
const { database } = extractDatabaseResourceName(parent);
const composedDatabase = useDatabaseV1Store().getDatabaseByName(database);
const path = [databaseV1Url(composedDatabase), "change-histories", uid].join(
@@ -55,8 +51,8 @@ export const changeHistoryLinkRaw = (
};
export const changeHistoryLink = (changeHistory: ChangeHistory): string => {
- const { name, version } = changeHistory;
- return changeHistoryLinkRaw(name, extractChangeHistoryUID(name), version);
+ const { name } = changeHistory;
+ return changeHistoryLinkRaw(name, extractChangeHistoryUID(name));
};
export const getAffectedTablesOfChangeHistory = (
diff --git a/frontend/src/utils/v1/changelist.ts b/frontend/src/utils/v1/changelist.ts
index d0266ab455..afcf0087e2 100644
--- a/frontend/src/utils/v1/changelist.ts
+++ b/frontend/src/utils/v1/changelist.ts
@@ -30,9 +30,12 @@ export const getChangelistChangeSourceType = (
export const generateSQLForChangeToDatabase = async (
change: Change,
- database: ComposedDatabase
+ _database: ComposedDatabase
) => {
- const sheet = await useSheetV1Store().getOrFetchSheetByName(change.sheet, "FULL");
+ const sheet = await useSheetV1Store().getOrFetchSheetByName(
+ change.sheet,
+ "FULL"
+ );
if (!sheet) {
return "";
}
diff --git a/frontend/src/utils/v1/instance.ts b/frontend/src/utils/v1/instance.ts
index 880120b5ca..9cb72353c8 100644
--- a/frontend/src/utils/v1/instance.ts
+++ b/frontend/src/utils/v1/instance.ts
@@ -138,7 +138,7 @@ export const instanceV1HasAlterSchema = (
};
export const instanceV1HasReadonlyMode = (
- instanceOrEngine: Instance | InstanceResource | Engine
+ _instanceOrEngine: Instance | InstanceResource | Engine
): boolean => {
// For MongoDB and Redis, we rely on users setting up read-only data source for queries.
return true;
diff --git a/frontend/src/views/branch/BranchMerge.vue b/frontend/src/views/branch/BranchMerge.vue
index f3eeb4d08d..acabcb1193 100644
--- a/frontend/src/views/branch/BranchMerge.vue
+++ b/frontend/src/views/branch/BranchMerge.vue
@@ -50,11 +50,7 @@ const handleUpdateHeadBranchName = (branchName: string | null) => {
});
};
-const handleMerged = (
- mergedBranch: Branch,
- headBranchName: string,
- headBranch: Branch | undefined
-) => {
+const handleMerged = (mergedBranch: Branch) => {
router.replace({
name: PROJECT_V1_ROUTE_BRANCH_DETAIL,
params: {
diff --git a/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue b/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue
index 345a9fdcee..5b3f6ced1f 100644
--- a/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/AsidePanel.vue
@@ -96,7 +96,7 @@ const allowCreateProject = computed(() => {
return hasWorkspacePermissionV2("bb.projects.create");
});
-watch([project, projectContextReady], ([project, ready]) => {
+watch([project, projectContextReady], ([, ready]) => {
if (!ready) {
treeStore.state = "LOADING";
} else {
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/SchemaPane.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/SchemaPane.vue
index cff08c0bfe..d0a139ec7e 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/SchemaPane.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/SchemaPane.vue
@@ -412,7 +412,7 @@ watch(
}
);
-useEventListener(treeContainerElRef, "keydown", (e) => {
+useEventListener(treeContainerElRef, "keydown", () => {
searchBoxRef.value?.inputRef?.focus();
});
</script>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/actions.tsx b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/actions.tsx
index 3d401c83d0..64692ae632 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/actions.tsx
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/actions.tsx
@@ -69,7 +69,7 @@ const VIEW_SCHEMA_ACTION_ENABLED_ENGINES = [
const confirmOverrideStatement = async (
$d: ReturnType<typeof useDialog>,
- statement: string
+ _statement: string
): Promise<"CANCEL" | "OVERRIDE" | "COPY"> => {
const { currentTab } = useSQLEditorTabStore();
if (!currentTab) {
@@ -782,7 +782,7 @@ const formatCode = async (code: string, engine: Engine) => {
return result.data;
}
return code; // fallback;
- } catch (err) {
+ } catch {
return code; // fallback
}
};
diff --git a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/GroupingBar/FactorTags.vue b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/GroupingBar/FactorTags.vue
index a7979f442a..77e1235bb4 100644
--- a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/GroupingBar/FactorTags.vue
+++ b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/GroupingBar/FactorTags.vue
@@ -47,7 +47,7 @@ const treeStore = useSQLEditorTreeStore();
const { events } = useSQLEditorContext();
const { factorList } = storeToRefs(treeStore);
-const toggleDisabled = (factor: StatefulFactor, index: number) => {
+const toggleDisabled = (factor: StatefulFactor, _index: number) => {
factor.disabled = !factor.disabled;
treeStore.buildTree();
events.emit("tree-ready");
diff --git a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/SearchBox/index.vue b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/SearchBox/index.vue
index 185fea11ef..cccd29df3b 100644
--- a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/SearchBox/index.vue
+++ b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/SearchBox/index.vue
@@ -141,7 +141,7 @@ const handleDatabaseSelect = (databaseName: string) => {
tryConnectToCoreSQLEditorTab(coreTab);
};
-const handleEscapeKey = (e: KeyboardEvent) => {
+const handleEscapeKey = (_e: KeyboardEvent) => {
if (isIMECompositing.value) return;
autoCompleteRef.value?.blur();
};
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/useTableResize.ts b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/useTableResize.ts
index 5179e85b6a..09e4b5396b 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/useTableResize.ts
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/useTableResize.ts
@@ -81,7 +81,7 @@ const useTableResize = (options: TableResizeOptions) => {
// Able to estimate multiple columns in a time.
const autoAdjustColumnWidth = (indexList: number[]): Promise<number[]> => {
return new Promise((resolve) => {
- const cellListOfEachColumn = indexList.map((index, i) => {
+ const cellListOfEachColumn = indexList.map((index) => {
const pseudo = `:nth-child(${index + 1})`;
// Find all cells in this column
const cellList = Array.from(
diff --git a/frontend/src/views/sql-editor/EditorCommon/useTableResize.ts b/frontend/src/views/sql-editor/EditorCommon/useTableResize.ts
index 955cb60b58..7bb57665e9 100644
--- a/frontend/src/views/sql-editor/EditorCommon/useTableResize.ts
+++ b/frontend/src/views/sql-editor/EditorCommon/useTableResize.ts
@@ -72,7 +72,7 @@ const useTableResize = (options: TableResizeOptions) => {
// Able to estimate multiple columns in a time.
const autoAdjustColumnWidth = (indexList: number[]): Promise<number[]> => {
return new Promise((resolve) => {
- const cellListOfEachColumn = indexList.map((index, i) => {
+ const cellListOfEachColumn = indexList.map((index) => {
const pseudo = `:nth-child(${index + 1})`;
// Find all cells in this column
const cellList = Array.from(
diff --git a/frontend/src/views/sql-editor/Setting/context.ts b/frontend/src/views/sql-editor/Setting/context.ts
index 6f85afc7a2..437af6202d 100644
--- a/frontend/src/views/sql-editor/Setting/context.ts
+++ b/frontend/src/views/sql-editor/Setting/context.ts
@@ -3,13 +3,11 @@ import { inject, provide } from "vue";
export const KEY = Symbol("bb.sql-editor.settings");
-export type SettingsEvents = Emittery<{
- // empty by now
-}>;
+// eslint-disable-next-line @typescript-eslint/no-empty-object-type
+export type SettingsEvents = Emittery<{}>;
-export const provideSettingsContext = (params: {
- // empty by now
-}) => {
+// eslint-disable-next-line @typescript-eslint/no-empty-object-type
+export const provideSettingsContext = (params: {}) => {
const events = new Emittery() as SettingsEvents;
const context = {