-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update lint-staged config * chore: use czg instead of cz + cz-git re #738 * chore: use cat instead of vim editor to write commits re #738 * chore: use secrets.GITHUB_TOKEN instead of secrets.GH_TOKEN re #738 * style: add a space at the end of the pre-commit file
- Loading branch information
1 parent
82bc47f
commit f8deb64
Showing
6 changed files
with
43 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"**/*.{js,ts}": ["prettier --write", "eslint --fix"] | ||
"**/*.{js,ts,jsx,tsx,md,json,sol}": "prettier --write", | ||
"**/*.{js,ts,jsx,tsx}": "eslint" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
"clean:cli-templates": "ts-node scripts/clean-cli-templates.ts", | ||
"remove:stable-version-field": "ts-node scripts/remove-stable-version-field.ts && yarn format:write", | ||
"precommit": "lint-staged", | ||
"postinstall": "husky install" | ||
"postinstall": "husky && git config --local core.editor cat" | ||
}, | ||
"keywords": [ | ||
"ethereum", | ||
|
@@ -58,8 +58,7 @@ | |
"@typescript-eslint/eslint-plugin": "^7.0.2", | ||
"@typescript-eslint/parser": "^7.0.2", | ||
"changelogithub": "0.12.7", | ||
"commitizen": "^4.3.0", | ||
"cz-git": "^1.9.0", | ||
"czg": "^1.9.1", | ||
"dotenv": "^16.0.2", | ||
"eslint": "^8.56.0", | ||
"eslint-config-airbnb": "^19.0.4", | ||
|
@@ -83,11 +82,6 @@ | |
"typedoc": "^0.25.8", | ||
"typescript": "^5.3.3" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-git" | ||
} | ||
}, | ||
"resolutions": { | ||
"[email protected]": "patch:changelogithub@npm:0.12.7#.yarn/patches/changelogithub-npm-0.12.7-72f348805d.patch" | ||
} | ||
|
Oops, something went wrong.