Skip to content

Commit

Permalink
Update lint script to not tolerate warnings during linter runs
Browse files Browse the repository at this point in the history
  • Loading branch information
ce0la committed Jun 25, 2024
1 parent f0872a9 commit f761e8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"cleanup": "yarn workspaces foreach run cleanup && yarn exec rm -rf node_modules storybook-static && rm -rf .cache/eslintcache",
"common:lint": "yarn eslint-cmd \"packages/common/**/*.{js,ts,tsx}\"",
"core:lint": "yarn eslint-cmd \"packages/core/**/*.{js,ts,tsx}\"",
"eslint-cmd": "eslint --cache --cache-location .cache/eslintcache --cache-strategy metadata --ignore-path ./.eslintignore",
"eslint-cmd": "eslint --cache --cache-location .cache/eslintcache --cache-strategy metadata --ignore-path ./.eslintignore --max-warnings=0",
"extension:lint": "yarn eslint-cmd \"apps/browser-extension-wallet/**/*.{js,ts,tsx}\"",
"format-check": "yarn workspaces foreach -ptv run format-check",
"postinstall": "husky install & ts-patch install -s",
Expand All @@ -48,7 +48,7 @@
},
"lint-staged": {
"*(apps/**/*.{js,ts,tsx}|packages/!(ui|translation)/**/*.{js,ts,tsx}|stories/**/*.{js,ts,tsx})": [
"eslint --cache --cache-location .cache/eslintcache --cache-strategy metadata --fix --ignore-path ./.eslintignore",
"eslint --cache --cache-location .cache/eslintcache --cache-strategy metadata --fix --ignore-path ./.eslintignore --max-warnings=0",
"prettier --write"
],
"*(packages/ui/**/*.{js,ts,tsx})": [
Expand Down

0 comments on commit f761e8d

Please sign in to comment.