commitlint-plugin-function-rules 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -58,7 +58,7 @@ module.exports = {
58
58
 
59
59
  ## Contributing
60
60
 
61
- Please [create an issue](https://github.com/vidavidorra/commitlint-plugin-function-rules/issues/new/choose) if you have a bug report or feature proposal, or [create a discussion](https://github.com/vidavidorra/commitlint-plugin-function-rules/discussions) if you have a question. If you like this project, please consider giving it a star ⭐ and/or become a [sponsor](https://github.com/sponsors/jdbruijn) to support my work.
61
+ Please [create an issue](https://github.com/vidavidorra/commitlint-plugin-function-rules/issues/new/choose) if you have a bug report or feature proposal, or [create a discussion](https://github.com/vidavidorra/commitlint-plugin-function-rules/discussions) if you have a question. If you like this project, please consider giving it a star ⭐
62
62
 
63
63
  Refer to the [contributing guide](https://github.com/vidavidorra/.github/blob/main/CONTRIBUTING.md) detailed information about other contributions, like pull requests.
64
64
 
@@ -74,7 +74,7 @@ Please refer to the [Security Policy on GitHub](https://github.com/vidavidorra/c
74
74
 
75
75
  This project is licensed under the [GPLv3 license](https://www.gnu.org/licenses/gpl.html).
76
76
 
77
- Copyright © 2020-2023 Jeroen de Bruijn
77
+ Copyright © 2020-2024 Jeroen de Bruijn
78
78
 
79
79
  <details><summary>License notice</summary>
80
80
  <p>
package/dist/index.cjs CHANGED
@@ -29,6 +29,7 @@ var rules = {
29
29
  "function-rules/header-full-stop": functionRule,
30
30
  "function-rules/header-max-length": functionRule,
31
31
  "function-rules/header-min-length": functionRule,
32
+ "function-rules/header-trim": functionRule,
32
33
  "function-rules/references-empty": functionRule,
33
34
  "function-rules/scope-case": functionRule,
34
35
  "function-rules/scope-empty": functionRule,
package/dist/rules.js CHANGED
@@ -16,6 +16,7 @@ const rules = {
16
16
  'function-rules/header-full-stop': functionRule,
17
17
  'function-rules/header-max-length': functionRule,
18
18
  'function-rules/header-min-length': functionRule,
19
+ 'function-rules/header-trim': functionRule,
19
20
  'function-rules/references-empty': functionRule,
20
21
  'function-rules/scope-case': functionRule,
21
22
  'function-rules/scope-empty': functionRule,
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "commitlint-plugin-function-rules",
3
- "version": "3.0.0",
4
- "description": "commitlint plugin to define rules as functions.",
3
+ "version": "3.1.0",
4
+ "description": "commitlint plugin to use functions as rule value",
5
5
  "keywords": [
6
6
  "commitlint",
7
7
  "commitlintplugin",
8
+ "function",
8
9
  "plugin",
9
10
  "rules"
10
11
  ],
@@ -192,8 +193,8 @@
192
193
  },
193
194
  "devDependencies": {
194
195
  "@ava/typescript": "4.1.0",
195
- "@commitlint/cli": "18.2.0",
196
- "@commitlint/config-conventional": "18.1.0",
196
+ "@commitlint/cli": "18.6.0",
197
+ "@commitlint/config-conventional": "18.6.0",
197
198
  "@commitlint/lint-10.x": "npm:@commitlint/lint@10.0.0",
198
199
  "@commitlint/lint-11.x": "npm:@commitlint/lint@11.0.0",
199
200
  "@commitlint/lint-12.x": "npm:@commitlint/lint@12.1.4",
@@ -202,7 +203,7 @@
202
203
  "@commitlint/lint-15.x": "npm:@commitlint/lint@15.0.0",
203
204
  "@commitlint/lint-16.x": "npm:@commitlint/lint@16.2.4",
204
205
  "@commitlint/lint-17.x": "npm:@commitlint/lint@17.8.1",
205
- "@commitlint/lint-18.x": "npm:@commitlint/lint@18.1.0",
206
+ "@commitlint/lint-18.x": "npm:@commitlint/lint@18.6.0",
206
207
  "@commitlint/lint-9.x": "npm:@commitlint/lint@9.1.2",
207
208
  "@commitlint/load-10.x": "npm:@commitlint/load@10.0.0",
208
209
  "@commitlint/load-11.x": "npm:@commitlint/load@11.0.0",
@@ -212,24 +213,24 @@
212
213
  "@commitlint/load-15.x": "npm:@commitlint/load@15.0.0",
213
214
  "@commitlint/load-16.x": "npm:@commitlint/load@16.3.0",
214
215
  "@commitlint/load-17.x": "npm:@commitlint/load@17.8.1",
215
- "@commitlint/load-18.x": "npm:@commitlint/load@18.2.0",
216
+ "@commitlint/load-18.x": "npm:@commitlint/load@18.6.0",
216
217
  "@commitlint/load-9.x": "npm:@commitlint/load@9.1.2",
217
- "@commitlint/rules": "18.1.0",
218
- "@commitlint/types": "18.1.0",
218
+ "@commitlint/rules": "18.6.0",
219
+ "@commitlint/types": "18.6.0",
219
220
  "@semantic-release/changelog": "6.0.3",
220
221
  "@semantic-release/exec": "6.0.3",
221
222
  "@semantic-release/git": "10.0.1",
222
- "@types/sinon": "17.0.0",
223
- "ava": "5.3.1",
224
- "c8": "8.0.1",
225
- "esbuild": "0.19.5",
223
+ "@types/sinon": "17.0.3",
224
+ "ava": "6.1.1",
225
+ "c8": "9.1.0",
226
+ "esbuild": "0.20.0",
226
227
  "husky": "8.0.3",
227
- "lint-staged": "15.0.2",
228
- "prettier": "3.0.3",
229
- "semantic-release": "22.0.7",
228
+ "lint-staged": "15.2.2",
229
+ "prettier": "3.2.5",
230
+ "semantic-release": "23.0.2",
230
231
  "sinon": "17.0.1",
231
- "typescript": "5.2.2",
232
- "xo": "0.56.0"
232
+ "typescript": "5.3.3",
233
+ "xo": "0.57.0"
233
234
  },
234
235
  "peerDependencies": {
235
236
  "@commitlint/lint": ">=9.1.2 <19"