Skip to content

Commit

Permalink
add tolerance for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
alelliott committed Jun 11, 2024
1 parent 606a4cf commit 80c3949
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80c3949

Please sign in to comment.