Skip to content

Commit 1eba51f

Browse files
committed
fix typo, disable no-unused-vars eslint rule
1 parent 4704f9a commit 1eba51f

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
"build.clean": "tsx ./scripts/build-clean.ts",
198198
"build.cli": "tsx --require ./scripts/runBefore.ts scripts/index.ts --cli --dev",
199199
"build.cli.prod": "tsx --require ./scripts/runBefore.ts scripts/index.ts --cli",
200-
"build.core": "tsxs --require ./scripts/runBefore.ts scripts/index.ts --tsc --build --qwikcity --api --platform-binding",
200+
"build.core": "tsx --require ./scripts/runBefore.ts scripts/index.ts --tsc --build --qwikcity --api --platform-binding",
201201
"build.eslint": "tsx --require ./scripts/runBefore.ts scripts/index.ts --eslint",
202202
"build.full": "tsx --require ./scripts/runBefore.ts scripts/index.ts --tsc --tsc-docs --build --supabaseauthhelpers --api --eslint --qwikcity --qwikworker --qwiklabs --qwikreact --qwikauth --cli --platform-binding --wasm",
203203
"build.local": "tsx --require ./scripts/runBefore.ts scripts/index.ts --tsc --tsc-docs --build --supabaseauthhelpers --api --eslint --qwikcity --qwikworker --qwiklabs --qwikreact --qwikauth --cli --platform-binding-wasm-copy",

Diff for: packages/insights/eslint.config.mjs

+1-12
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,8 @@ export default tseslint.config(
9090
'@typescript-eslint/no-unused-expressions': 'off',
9191
'@typescript-eslint/no-empty-object-type': 'off',
9292
'@typescript-eslint/no-unsafe-function-type': 'off',
93+
'@typescript-eslint/no-unused-vars': 'off',
9394
curly: 'error',
94-
'@typescript-eslint/no-unused-vars': [
95-
'error',
96-
{
97-
args: 'all',
98-
argsIgnorePattern: '^_',
99-
caughtErrors: 'all',
100-
caughtErrorsIgnorePattern: '^_',
101-
destructuredArrayIgnorePattern: '^_',
102-
varsIgnorePattern: '^_',
103-
ignoreRestSiblings: true,
104-
},
105-
],
10695
},
10796
}
10897
);

Diff for: packages/insights/src/db/sql-user.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const dbAddUserToApplication = async (email: string, publicApiKey: string
110110
.insert(userApplicationMap)
111111
.values({ userId: user.userId, applicationId: app?.applicationId })
112112
.execute();
113-
} catch (_e) {
113+
} catch (e) {
114114
console.warn('User already exists', email, publicApiKey);
115115
}
116116
};

Diff for: packages/qwik-labs/eslint.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default tseslint.config(
7676
'prefer-spread': 'off',
7777
'no-case-declarations': 'off',
7878
'no-console': 'off',
79-
'@typescript-eslint/no-unused-vars': ['error'],
79+
'@typescript-eslint/no-unused-vars': 'off',
8080
'@typescript-eslint/no-empty-object-type': 'off',
8181
'@typescript-eslint/no-unsafe-function-type': 'off',
8282
'@typescript-eslint/no-unused-expressions': 'off',

0 commit comments

Comments
 (0)