Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: simplify git hooks#445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JamesHenry merged 1 commit intomasterfromcleanup-hooks
Apr 20, 2019
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions.huskyrc
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
{
"hooks": {
"pre-commit": [
"yarn test && lint-staged"
],
"pre-commit": "yarn pre-commit",
"pre-push": "yarn pre-push",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
2 changes: 1 addition & 1 deletionazure-pipelines.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -24,7 +24,7 @@ jobs:
displayName: 'Typecheck all packages'

- script: |
yarncheck-format
yarn format-check
displayName: 'Check code formatting'

- script: |
Expand Down
16 changes: 9 additions & 7 deletionspackage.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,19 +17,21 @@
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
},
"scripts": {
"postinstall": "lerna bootstrap && yarn build && lerna link",
"test": "lerna run test --parallel",
"build": "lerna run build",
"clean": "lerna clean && lerna run clean",
"typecheck": "lerna run typecheck",
"lint": "eslint . --ext .js,.ts",
"lint-fix": "eslint . --ext .js,.ts --fix",
"cz": "git-cz",
"check-format": "prettier --list-different \"./**/*.{ts,js,json,md}\"",
"generate-contributors": "yarn ts-node ./tools/generate-contributors.ts && yarn all-contributors generate",
"format": "prettier --write \"./**/*.{ts,js,json,md}\"",
"format-check": "prettier --list-different \"./**/*.{ts,js,json,md}\"",
"integration-tests": "docker-compose -f tests/integration/docker-compose.yml up",
"kill-integration-test-containers": "docker-compose -f tests/integration/docker-compose.yml down -v --rmi local",
"generate-contributors": "yarn ts-node ./tools/generate-contributors.ts && yarn all-contributors generate"
"lint": "eslint . --ext .js,.ts",
"lint-fix": "eslint . --ext .js,.ts --fix",
"pre-commit": "yarn lint-staged",
"pre-push": "yarn lint && yarn typecheck && yarn format-check",
"postinstall": "lerna bootstrap && yarn build && lerna link",
"test": "lerna run test --parallel",
"typecheck": "lerna run typecheck"
},
"config": {
"commitizen": {
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp