From 23c9ad23fa03e2a89929b0014416303ca82f3dfb Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Fri, 6 Mar 2020 14:54:55 -0700 Subject: [PATCH] Remove commitizen and husky for now --- .huskyrc.js | 6 ------ commitlint.config.js | 1 - lint-staged.config.js | 3 --- package.json | 6 ------ 4 files changed, 16 deletions(-) delete mode 100644 .huskyrc.js delete mode 100644 commitlint.config.js delete mode 100644 lint-staged.config.js diff --git a/.huskyrc.js b/.huskyrc.js deleted file mode 100644 index a92ecf3..0000000 --- a/.huskyrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - hooks: { - 'pre-commit': 'lint-staged && yarn test:ci', - // 'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS', - }, -} diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index 4fedde6..0000000 --- a/commitlint.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = { extends: ['@commitlint/config-conventional'] } diff --git a/lint-staged.config.js b/lint-staged.config.js deleted file mode 100644 index 1b857c8..0000000 --- a/lint-staged.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - '*.{md,js,ts,jsx,tsx}': ['prettier --write --no-editorconfig', 'git add'], -} diff --git a/package.json b/package.json index 52ac570..df4fcb2 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ ], "main": "index.js", "scripts": { - "commit": "git add . && git-cz", "test": "is-ci \"test:ci\" \"test:dev\"", "test:dev": "jest --watch", "test:ci": "yarn test:jest", @@ -47,18 +46,14 @@ "@babel/preset-env": "^7.7.1", "@babel/preset-react": "^7.7.0", "@babel/runtime": "^7.7.2", - "@commitlint/cli": "^8.2.0", - "@commitlint/config-conventional": "^8.2.0", "@svgr/rollup": "^4.3.3", "@testing-library/dom": "^6.10.1", "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "babel-eslint": "9.x", "babel-jest": "^24.9.0", - "commitizen": "^4.0.3", "core-js": "3.4.1", "cross-env": "^6.0.3", - "dtslint": "^0.9.8", "eslint": "6.6.0", "eslint-config-prettier": "^6.7.0", "eslint-config-react-app": "^5.0.2", @@ -73,7 +68,6 @@ "eslint-plugin-react": "7.16.0", "eslint-plugin-react-hooks": "2.3.0", "eslint-plugin-standard": "^4.0.1", - "husky": "^3.1.0", "is-ci-cli": "^2.0.0", "jest": "^24.9.0", "jest-cli": "^24.9.0",