Skip to content

Commit

Permalink
chore: remove commitizen (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroschmitz authored Oct 13, 2022
1 parent afb032d commit 429ef09
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 232 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
- 📏 ESLint — To find and fix problems in your code
- 💖 Prettier — Code Formatter for consistent style
- 🐶 Husky — For running scripts before committing
- 📄 Commitizen — To define a standard way of committing rules
- 🚓 Commitlint — To make sure your commit messages follow the convention
- 🖌 Renovate — To keep your dependencies up to date
- 🚫 lint-staged — Run ESLint and Prettier against staged Git files
Expand Down Expand Up @@ -84,7 +83,6 @@ Open `http://localhost:8000` with your browser to see the result.
- `pnpm type-check` — Validate code using TypeScript compiler.
- `pnpm lint` — Runs ESLint for all files in the `src` directory.
- `pnpm format` — Runs Prettier for all files in the `src` directory.
- `pnpm commit` — Run commitizen. Alternative to `git commit`.
- `pnpm test` — Run tests.

### Path Mapping
Expand Down
10 changes: 1 addition & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"lint": "eslint --ignore-path .gitignore \"src/**/*.+(ts|js|tsx)\"",
"format": "prettier --ignore-path .gitignore \"src/**/*.+(ts|js|tsx)\" --write",
"postinstall": "husky install",
"test": "jest",
"commit": "cz"
"test": "jest"
},
"lint-staged": {
"./src/**/*.{ts,js,jsx,tsx}": [
Expand Down Expand Up @@ -53,8 +52,6 @@
"@typescript-eslint/parser": "5.39.0",
"babel-jest": "29.1.2",
"babel-preset-gatsby": "2.24.0",
"commitizen": "4.2.5",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.25.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard": "17.0.0",
Expand All @@ -75,10 +72,5 @@
"prettier": "2.7.1",
"ts-jest": "29.0.3",
"typescript": "4.8.4"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}
Loading

0 comments on commit 429ef09

Please sign in to comment.