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

This commit is contained in:
Shohei Ueda authored and GitHub committed 2021-02-23 01:55:16 +09:00
1 parent 77ce5ecb49
commit 0ed12e5298
5 files changed
+2 -1015

No files matched your search

-6
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
-2
View File
@@ -1,2 +0,0 @@
npm ci
git remote prune origin
-1
View File
@@ -1 +0,0 @@
npx lint-staged
-994
View File
File diff suppressed because it is too large. Load diff
+2 -12
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",