From 80c39499b639be6fdb034f21f08bb88ff5e9ce26 Mon Sep 17 00:00:00 2001 From: alelliott Date: Tue, 11 Jun 2024 16:00:07 -0400 Subject: [PATCH] add tolerance for linting --- package.json | 4 ++-- vite.config.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 01712f6..d3eb2fa 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "build": "dotenv -e .env.production yarn vite-build", "analyze": "dotenv -e .env.analyze yarn vite-build", "lint": "yarn lint:styles && yarn lint:scripts", - "lint:styles": "stylelint \"src/**/*.{vue,scss,css}\" --max-warnings=0", - "lint:scripts": "eslint \"{src,config}/**/*.{vue,js,ts}\" --cache --fix --max-warnings=0", + "lint:styles": "stylelint \"src/**/*.{vue,scss,css}\" --max-warnings=20", + "lint:scripts": "eslint \"{src,config}/**/*.{vue,js,ts}\" --cache --fix --max-warnings=20", "preview": "vite preview", "rsc": "node scripts/release-sanity-check.mjs", "generate-ether-types": "typechain --target=ethers-v5 'src/abi/**/*.json' --out-dir src/types/contracts" diff --git a/vite.config.ts b/vite.config.ts index 7490224..cab493e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -63,7 +63,7 @@ export default defineConfig(({ mode }) => { typescript: true, eslint: { lintCommand: - 'eslint "{src,config}/**/*.{vue,js,ts}" --cache --max-warnings=0', + 'eslint "{src,config}/**/*.{vue,js,ts}" --cache --max-warnings=20', }, }), ...(isAnalyze