diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-class.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-class.tsx index 5d5af6e8a7f7..036aebca3df0 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-class.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-class.tsx @@ -5,7 +5,6 @@ export const HelloWorld = component$(() => { class Stuff {} const stuff = new Stuff(); useTask$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(stuff); }); return
; diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-function-event.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-function-event.tsx index 1be3e26ab2d1..b332c0c1a5c0 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-function-event.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-function-event.tsx @@ -1,7 +1,6 @@ // Expect error: { "messageId": "invalidJsxDollar" } import { component$, useTask$ } from '@builder.io/qwik'; export const HelloWorld = component$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ const click = () => console.log(); return ; }); diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-function.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-function.tsx index 5571d9509d85..f7482c382366 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-function.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-function.tsx @@ -6,14 +6,12 @@ export const HelloWorld = component$(() => { return 'string'; } else { return () => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(); }; } } const a = getValue(); useTask$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(a); }); return
; diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-symbol.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-symbol.tsx index f4399b57c05c..f76a615123d3 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-symbol.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-capture-symbol.tsx @@ -4,7 +4,6 @@ import { component$, useTask$ } from '@builder.io/qwik'; export const HelloWorld = component$(() => { const a = Symbol(); useTask$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(a); }); return
; diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-mutable.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-mutable.tsx index ab19d294c470..fed858b5cbc1 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-mutable.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-mutable.tsx @@ -6,7 +6,6 @@ export const HelloWorld = component$(() => { const divRef = useSignal<{ offsetLeft: number }>(); const handleMouseDown = $((e: MouseEvent) => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log('working'); startX = e.pageX - divRef.value!.offsetLeft; }); diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-use-method-factory.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-use-method-factory.tsx index d81fbeceb123..c601d096a3bb 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-use-method-factory.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-use-method-factory.tsx @@ -7,7 +7,6 @@ export const HelloWorld = component$(() => { }; const useMethod = getMethod(); useTask$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(useMethod); }); return
; diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-use-method-inline.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-use-method-inline.tsx index 38f7a7015b1b..73a91234561d 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-use-method-inline.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/invalid-use-method-inline.tsx @@ -3,11 +3,9 @@ import { component$, useTask$ } from '@builder.io/qwik'; export const HelloWorld = component$(() => { function useMethod() { - /* eslint no-console: [, { allow: ["log"] }] */ console.log('stuff'); } useTask$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(useMethod); }); return
; diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-capture-jsxoutput.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-capture-jsxoutput.tsx index 6fa20dbd74b2..fd583b93271a 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-capture-jsxoutput.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-capture-jsxoutput.tsx @@ -9,7 +9,6 @@ export default component$(() => { state.foo =
Foo
; useTask$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(state.foo); }); return <>; diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-constant.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-constant.tsx index d582d61e0fce..5821ea0d2d95 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-constant.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-constant.tsx @@ -7,7 +7,6 @@ export const HelloWorld = component$(() => { return (
{ - /* eslint no-console: [, { allow: ["log"] }] */ console.log(a); }} >
diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-no-serialize.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-no-serialize.tsx index 61f5d8f54836..5582a906f49e 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-no-serialize.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-no-serialize.tsx @@ -10,7 +10,6 @@ export function getFn(): NoSerialize<() => void> { export const HelloWorld = component$(() => { const state: Value = { value: 12, fn: getFn() }; useTask$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(state.value); }); return
; diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-use-method-factory.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-use-method-factory.tsx index 9e13c458bbd1..33fbe23080ce 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-use-method-factory.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-use-method-factory.tsx @@ -19,7 +19,6 @@ export const HelloWorld = component$(() => { }, }; useTask$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(useMethod, obj); }); return
; diff --git a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-use-task.tsx b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-use-task.tsx index ff7aa58e94de..c93d94833546 100644 --- a/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-use-task.tsx +++ b/packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-use-task.tsx @@ -6,7 +6,6 @@ export const HelloWorld = component$(() => { }; const useMethod = getMethod(); useTask$(() => { - /* eslint no-console: [, { allow: ["log"] }] */ console.log(useMethod); }); return
; diff --git a/packages/insights/package.json b/packages/insights/package.json index 550335716839..166413547078 100644 --- a/packages/insights/package.json +++ b/packages/insights/package.json @@ -51,8 +51,8 @@ "build.types": "tsc --incremental --noEmit", "db.local": "turso dev --db-file ./tmp/local.db", "db.migrate": "node scripts/db.migrate.cjs", - "db.migrate.up": "./node_modules/.bin/drizzle-kit up", "db.migrate.generate": "./node_modules/.bin/drizzle-kit generate", + "db.migrate.up": "./node_modules/.bin/drizzle-kit up", "db.studio": "./node_modules/.bin/drizzle-kit studio --verbose", "deploy": "netlify deploy --build", "dev": "vite --mode ssr",