Skip to content

Commit 6e779f7

Browse files
authored
chore: remove is-ci (#1126)
1 parent c945daf commit 6e779f7

File tree

4 files changed

+1
-19
lines changed

4 files changed

+1
-19
lines changed

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
# Skip commit-msg hook on CI
2-
[ -n "$CI" ] && exit 0
3-
41
commitlint --edit $1

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
# Skip pre-commit hook on CI
2-
[ -n "$CI" ] && exit 0
3-
41
lint-staged

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"format:check": "pnpm run prettier-base --check",
4444
"lint": "eslint --max-warnings 0 .",
4545
"lint:fix": "pnpm run lint --fix",
46-
"prepare": "is-ci || husky",
46+
"prepare": "husky || true",
4747
"prettier-base": "prettier . --ignore-unknown --cache --log-level warn",
4848
"rule-doc-generator": "eslint-doc-generator",
4949
"semantic-release": "semantic-release",
@@ -80,7 +80,6 @@
8080
"eslint-remote-tester-repositories": "^1.0.1",
8181
"globals": "^16.3.0",
8282
"husky": "^9.1.7",
83-
"is-ci": "^3.0.1",
8483
"jest": "^29.7.0",
8584
"lint-staged": "^15.2.10",
8685
"prettier": "3.6.2",

pnpm-lock.yaml

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)