Skip to content

Commit 8e23e6a

Browse files
remove commitlint
1 parent d3b308e commit 8e23e6a

File tree

4 files changed

+17
-337
lines changed

4 files changed

+17
-337
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,6 @@ yarn test
5454
To edit the Objective-C files, open `example/ios/SourcepointCmpExample.xcworkspace` in XCode and find the source files at `Pods > Development Pods > react-native-sourcepoint-cmp`.
5555

5656
To edit the Kotlin files, open `example/android` in Android studio and find the source files at `reactnativesourcepointcmp` under `Android`.
57-
### Commit message convention
58-
59-
We follow the [conventional commits specification](https://www.conventionalcommits.org/en) for our commit messages:
60-
61-
- `fix`: bug fixes, e.g. fix crash due to deprecated method.
62-
- `feat`: new features, e.g. add new method to the module.
63-
- `refactor`: code refactor, e.g. migrate from class components to hooks.
64-
- `docs`: changes into documentation, e.g. add usage example for the module..
65-
- `test`: adding or updating tests, e.g. add integration tests using detox.
66-
- `chore`: tooling changes, e.g. change CI config.
67-
68-
Our pre-commit hooks verify that your commit message matches this format when committing.
6957

7058
### Linting and tests
7159

lefthook.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,3 @@ pre-commit:
99
files: git diff --name-only @{push}
1010
glob: "*.{js,ts, jsx, tsx}"
1111
run: npx tsc --noEmit
12-
commit-msg:
13-
parallel: true
14-
commands:
15-
commitlint:
16-
run: npx commitlint --edit

package.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,11 @@
4848
"devDependencies": {
4949
"@arkweid/lefthook": "^0.7.7",
5050
"@babel/eslint-parser": "^7.18.2",
51-
"@commitlint/config-conventional": "^17.0.2",
5251
"@react-native-community/eslint-config": "^3.0.2",
5352
"@release-it/conventional-changelog": "^5.0.0",
5453
"@types/jest": "^28.1.2",
5554
"@types/react": "~17.0.21",
5655
"@types/react-native": "0.68.0",
57-
"commitlint": "^17.0.2",
5856
"eslint": "^8.4.1",
5957
"eslint-config-prettier": "^8.5.0",
6058
"eslint-plugin-prettier": "^4.0.0",
@@ -81,15 +79,10 @@
8179
"<rootDir>/lib/"
8280
]
8381
},
84-
"commitlint": {
85-
"extends": [
86-
"@commitlint/config-conventional"
87-
]
88-
},
8982
"release-it": {
9083
"git": {
91-
"commitMessage": "chore: release ${version}",
92-
"tagName": "v${version}"
84+
"commitMessage": "release ${version}",
85+
"tagName": "${version}"
9386
},
9487
"npm": {
9588
"publish": true

0 commit comments

Comments
 (0)