Skip to content

Commit c4ce2fd

Browse files
chore: remove commitizen
1 parent b2f0985 commit c4ce2fd

File tree

15 files changed

+66
-877
lines changed

15 files changed

+66
-877
lines changed

.commitlintrc.cjs

Lines changed: 0 additions & 8 deletions
This file was deleted.

.czrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"/lib/",
2121
"/node_modules/",
2222
"/tests-compiled/",
23-
"/cz-adapter/**/*.js",
2423
"/pnpm-lock.yaml"
2524
],
2625
"rules": {
@@ -43,27 +42,6 @@
4342
"jsdoc/require-jsdoc": "off"
4443
}
4544
},
46-
{
47-
"files": ["./cz-adapter/**/*"],
48-
"extends": ["@rebeccastevens/eslint-config/script"],
49-
"rules": {
50-
"@typescript-eslint/no-unsafe-argument": "off",
51-
"@typescript-eslint/no-unsafe-assignment": "off",
52-
"@typescript-eslint/no-unsafe-call": "off",
53-
"@typescript-eslint/no-unsafe-member-access": "off",
54-
"@typescript-eslint/no-unsafe-return": "off",
55-
"import/no-extraneous-dependencies": [
56-
"error",
57-
{
58-
"devDependencies": true,
59-
"peerDependencies": true
60-
}
61-
],
62-
"functional/immutable-data": "off",
63-
"jsdoc/require-jsdoc": "off",
64-
"unicorn/prefer-module": "off"
65-
}
66-
},
6745
{
6846
"files": ["**/*.test.ts"],
6947
"plugins": ["vitest"],

.github/renovate.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@
5555
"allowedVersions": "<5",
5656
"matchPackageNames": ["escape-string-regexp"]
5757
},
58-
{
59-
"allowedVersions": "<5",
60-
"matchPackageNames": ["chalk"]
61-
},
6258
{
6359
"allowedVersions": "<9",
6460
"matchPackageNames": ["eslint"]

.github/workflows/semantic-pr.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: "Semantic PR"
22

3+
permissions:
4+
pull-requests: write
5+
36
on:
47
pull_request_target:
58
types:
@@ -15,3 +18,46 @@ jobs:
1518
- uses: amannn/action-semantic-pull-request@v5.4.0
1619
env:
1720
GITHUB_TOKEN: ${{ github.token }}
21+
with:
22+
types: |
23+
feat
24+
fix
25+
perf
26+
refactor
27+
style
28+
docs
29+
test
30+
build
31+
ci
32+
chore
33+
part
34+
scopes: |
35+
functional-parameters
36+
immutable-data
37+
no-classes
38+
no-conditional-statements
39+
no-expression-statements
40+
no-let
41+
no-loop-statements
42+
no-mixed-types
43+
no-promise-reject
44+
no-return-void
45+
no-this-expressions
46+
no-throw-statements
47+
no-try-statements
48+
prefer-immutable-types
49+
prefer-property-signatures
50+
prefer-readonly-types
51+
prefer-tacit
52+
readonly-type
53+
type-declaration-immutability
54+
requireScope: false
55+
subjectPattern: ^(?![A-Z]).+$ # Don't start with an uppercase character.
56+
subjectPatternError: |
57+
The subject "{subject}" should not start with an uppercase character.
58+
ignoreLabels: |
59+
bot
60+
ignore-semantic-pull-request
61+
headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?!?: (.*)$'
62+
headerPatternCorrespondence: type, scope, subject
63+
wip: true

.husky/commit-msg

Lines changed: 0 additions & 1 deletion
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ To learn about ESLint plugin development see the [relevant section](https://esli
1212

1313
In order to know which AST nodes are created for a snippet of TypeScript code you can use [AST explorer](https://astexplorer.net/) with options JavaScript and @typescript-eslint/parser.
1414

15-
### Commit Messages
16-
17-
> tl;dr: use `npx cz` instead of `git commit`.
18-
19-
Commit messages must follow [Conventional Commit messages guidelines](https://www.conventionalcommits.org/en/v1.0.0/). You can use `npx cz` instead of `git commit` to run an interactive prompt to generate the commit message. We've customize the prompt specifically for this project. For more information see [commitizen](https://github.com/commitizen/cz-cli#readme).
20-
2115
### How to publish
2216

2317
Publishing is handled by [semantic release](https://github.com/semantic-release/semantic-release#readme) - there shouldn't be any need to publish manually.

0 commit comments

Comments
 (0)