@solvro/config 2.0.4 → 2.0.6

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.
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/commitlint/index.ts
21
+ var commitlint_exports = {};
22
+ __export(commitlint_exports, {
23
+ default: () => commitlint_default
24
+ });
25
+ module.exports = __toCommonJS(commitlint_exports);
26
+ var config = {
27
+ extends: ["@commitlint/config-conventional"],
28
+ helpUrl: "https://docs.solvro.pl/github#nazewnictwo-commit%C3%B3w",
29
+ rules: {
30
+ "type-enum": [
31
+ 2,
32
+ "always",
33
+ [
34
+ // A new feature
35
+ "feat",
36
+ //A bug fix
37
+ "fix",
38
+ // A code change that neither fixes a bug nor adds a feature
39
+ "refactor",
40
+ // Boring changes
41
+ "chore",
42
+ // Documentation-only changes
43
+ "docs",
44
+ // Changes to CI workflows
45
+ "ci",
46
+ // Adding missing tests or correcting existing tests
47
+ "test",
48
+ "build",
49
+ "release"
50
+ ]
51
+ ],
52
+ // @ts-expect-error ???
53
+ "body-max-length": [0, "always"],
54
+ // @ts-expect-error ???
55
+ "body-max-line-length": [0, "always"],
56
+ // @ts-expect-error ???
57
+ "footer-max-length": [0, "always"],
58
+ // @ts-expect-error ???
59
+ "footer-max-line-length": [0, "always"]
60
+ }
61
+ };
62
+ var commitlint_default = config;
63
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/commitlint/index.ts"],"sourcesContent":["import type { UserConfig } from \"@commitlint/types\";\n\nconst config: UserConfig = {\n extends: [\"@commitlint/config-conventional\"],\n helpUrl: \"https://docs.solvro.pl/github#nazewnictwo-commit%C3%B3w\",\n rules: {\n \"type-enum\": [\n 2,\n \"always\",\n [\n // A new feature\n \"feat\",\n //A bug fix\n \"fix\",\n // A code change that neither fixes a bug nor adds a feature\n \"refactor\",\n // Boring changes\n \"chore\",\n // Documentation-only changes\n \"docs\",\n // Changes to CI workflows\n \"ci\",\n // Adding missing tests or correcting existing tests\n \"test\",\n \"build\",\n \"release\",\n ],\n ],\n\n // @ts-expect-error ???\n \"body-max-length\": [0, \"always\"],\n // @ts-expect-error ???\n \"body-max-line-length\": [0, \"always\"],\n // @ts-expect-error ???\n \"footer-max-length\": [0, \"always\"],\n // @ts-expect-error ???\n \"footer-max-line-length\": [0, \"always\"],\n },\n};\n\n// eslint-disable-next-line import/no-default-export\nexport default config;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,IAAM,SAAqB;AAAA,EACzB,SAAS,CAAC,iCAAiC;AAAA,EAC3C,SAAS;AAAA,EACT,OAAO;AAAA,IACL,aAAa;AAAA,MACX;AAAA,MACA;AAAA,MACA;AAAA;AAAA,QAEE;AAAA;AAAA,QAEA;AAAA;AAAA,QAEA;AAAA;AAAA,QAEA;AAAA;AAAA,QAEA;AAAA;AAAA,QAEA;AAAA;AAAA,QAEA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA;AAAA,IAGA,mBAAmB,CAAC,GAAG,QAAQ;AAAA;AAAA,IAE/B,wBAAwB,CAAC,GAAG,QAAQ;AAAA;AAAA,IAEpC,qBAAqB,CAAC,GAAG,QAAQ;AAAA;AAAA,IAEjC,0BAA0B,CAAC,GAAG,QAAQ;AAAA,EACxC;AACF;AAGA,IAAO,qBAAQ;","names":[]}
@@ -0,0 +1,5 @@
1
+ import { UserConfig } from '@commitlint/types';
2
+
3
+ declare const config: UserConfig;
4
+
5
+ export { config as default };