From a37c2bf67d536e4b741c933c3d30ac1fbe582206 Mon Sep 17 00:00:00 2001 From: Epoxide Date: Wed, 6 Nov 2024 16:57:26 +0100 Subject: [PATCH] chore: override no console and prettier on manual lint --- packages/astro/package.json | 2 +- packages/next/package.json | 2 +- packages/nuxt/package.json | 2 +- packages/solid-start/package.json | 2 +- packages/sveltekit/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/astro/package.json b/packages/astro/package.json index 8e1fb8b..1150afd 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -20,7 +20,7 @@ "preview": "astro preview", "astro": "astro", "check": "astro check", - "lint": "eslint .", + "lint": "eslint . --rule 'no-console: error' --rule 'prettier/prettier: error'", "test": "playwright test" }, "devDependencies": { diff --git a/packages/next/package.json b/packages/next/package.json index 8023572..06e418f 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -6,7 +6,7 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "eslint .", + "lint": "eslint . --rule 'no-console: error' --rule 'prettier/prettier: error'", "test": "playwright test", "update-snapshots": "playwright test --update-snapshots" }, diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 27cb233..942f8b9 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "nuxt build", "dev": "nuxt dev", - "lint": "eslint .", + "lint": "eslint . --rule 'no-console: error' --rule 'prettier/prettier: error'", "generate": "nuxt generate", "preview": "nuxt preview", "postinstall": "nuxt prepare", diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json index 308faf7..7420c22 100644 --- a/packages/solid-start/package.json +++ b/packages/solid-start/package.json @@ -18,7 +18,7 @@ "build": "vinxi build", "start": "vinxi start", "version": "vinxi version", - "lint": "eslint .", + "lint": "eslint . --rule 'no-console: error' --rule 'prettier/prettier: error'", "test": "playwright test" }, "devDependencies": { diff --git a/packages/sveltekit/package.json b/packages/sveltekit/package.json index 05894cc..cc0b7be 100644 --- a/packages/sveltekit/package.json +++ b/packages/sveltekit/package.json @@ -19,7 +19,7 @@ "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "eslint .", + "lint": "eslint . --rule 'no-console: error' --rule 'prettier/prettier: error'", "test": "playwright test" }, "devDependencies": {