Skip to content

Commit

Permalink
remove strict check for local commit & just show warning
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Sep 1, 2022
1 parent 7165ee4 commit faf7b1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
yarn lint-staged --verbose
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@
"lint-staged": {
"packages/react-app/src/**/*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"eslint --max-warnings=0 --ignore-path packages/react-app/.eslintignore"
"eslint --fix"
]
}
}
2 changes: 1 addition & 1 deletion packages/react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"prestart": "node ./scripts/create_contracts.js",
"start": "react-scripts start",
"test": "react-scripts test",
"lint": "eslint ./src/**/*.{js,jsx} --ignore-path ./.eslintignore --max-warnings=0 && eslint ./src/*.{js,jsx} --ignore-path ./.eslintignore --max-warnings=0",
"lint": "eslint ./src/**/*.{js,jsx} --ignore-path ./.eslintignore --max-warnings=0",
"ipfs": "node ./scripts/ipfs.js",
"surge": "cp build/index.html build/200.html && surge ./build",
"s3": "node ./scripts/s3.js",
Expand Down

0 comments on commit faf7b1f

Please sign in to comment.