ci: Remove husky and lint-staged (#572)

This commit is contained in:
Shohei Ueda 2021-02-23 01:55:16 +09:00 committed by GitHub
parent 77ce5ecb49
commit 0ed12e5298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 1015 deletions

View File

@ -78,12 +78,6 @@ jobs:
- name: Run ncc
run: npm run build
- name: Remove lint-staged husky
if: github.ref == 'refs/heads/main'
run: |
npm uninstall lint-staged husky
git checkout package-lock.json package.json
- name: Setup mdBook
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-mdbook@v1.1.14

View File

@ -1,2 +0,0 @@
npm ci
git remote prune origin

View File

@ -1 +0,0 @@
npx lint-staged

994
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -16,16 +16,8 @@
"tsc": "tsc",
"format": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"release": "standard-version"
},
"lint-staged": {
"{src,__tests__}/**/*.ts": [
"prettier --check",
"eslint"
],
"README.md": [
"npx doctoc@2.0.0 --github"
]
"release": "standard-version",
"toc": "npx doctoc@2.0.0 --github README.md"
},
"repository": {
"type": "git",
@ -65,11 +57,9 @@
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.8",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"js-yaml": "^4.0.0",
"lint-staged": "^10.5.3",
"prettier": "2.2.1",
"standard-version": "^9.1.0",
"ts-jest": "^26.5.0",