|
2 | 2 |
|
3 | 3 | exports[`validation should fail for defaultIgnoresNotBoolean 1`] = `
|
4 | 4 | "Commitlint configuration in defaultIgnoresNotBoolean.js is invalid:
|
5 |
| - - Property \\"defaultIgnores\\" has the wrong type - should be boolean. |
| 5 | + - Property \\"defaultIgnores\\" has the wrong type - must be boolean. |
6 | 6 | "
|
7 | 7 | `;
|
8 | 8 |
|
9 | 9 | exports[`validation should fail for extendsAsObject 1`] = `
|
10 | 10 | "Commitlint configuration in extendsAsObject.js is invalid:
|
11 |
| - - Property \\"extends\\" has the wrong type - should be array. |
12 |
| - - Property \\"extends\\" has the wrong type - should be string. |
13 |
| - - \\"extends\\" should match exactly one schema in oneOf. Value: {\\"test\\":1}. |
| 11 | + - Property \\"extends\\" has the wrong type - must be array. |
| 12 | + - Property \\"extends\\" has the wrong type - must be string. |
| 13 | + - \\"/extends\\" must match exactly one schema in oneOf. Value: {\\"test\\":1}. |
14 | 14 | "
|
15 | 15 | `;
|
16 | 16 |
|
17 | 17 | exports[`validation should fail for extendsWithFunction 1`] = `
|
18 | 18 | "Commitlint configuration in extendsWithFunction.js is invalid:
|
19 |
| - - Property \\"extends[0]\\" has the wrong type - should be string. |
20 |
| - - Property \\"extends\\" has the wrong type - should be string. |
21 |
| - - \\"extends\\" should match exactly one schema in oneOf. Value: [null]. |
| 19 | + - Property \\"extends/0\\" has the wrong type - must be string. |
| 20 | + - Property \\"extends\\" has the wrong type - must be string. |
| 21 | + - \\"/extends\\" must match exactly one schema in oneOf. Value: [null]. |
22 | 22 | "
|
23 | 23 | `;
|
24 | 24 |
|
25 | 25 | exports[`validation should fail for formatterAsObject 1`] = `
|
26 | 26 | "Commitlint configuration in formatterAsObject.js is invalid:
|
27 |
| - - Property \\"formatter\\" has the wrong type - should be string. |
| 27 | + - Property \\"formatter\\" has the wrong type - must be string. |
28 | 28 | "
|
29 | 29 | `;
|
30 | 30 |
|
31 | 31 | exports[`validation should fail for helpUrlAsArray 1`] = `
|
32 | 32 | "Commitlint configuration in helpUrlAsArray.js is invalid:
|
33 |
| - - Property \\"helpUrl\\" has the wrong type - should be string. |
| 33 | + - Property \\"helpUrl\\" has the wrong type - must be string. |
34 | 34 | "
|
35 | 35 | `;
|
36 | 36 |
|
37 | 37 | exports[`validation should fail for helpUrlNotString 1`] = `
|
38 | 38 | "Commitlint configuration in helpUrlNotString.js is invalid:
|
39 |
| - - Property \\"helpUrl\\" has the wrong type - should be string. |
| 39 | + - Property \\"helpUrl\\" has the wrong type - must be string. |
40 | 40 | "
|
41 | 41 | `;
|
42 | 42 |
|
43 | 43 | exports[`validation should fail for ignoresFunction 1`] = `
|
44 | 44 | "Commitlint configuration in ignoresFunction.js is invalid:
|
45 |
| - - Property \\"ignores\\" has the wrong type - should be array. |
| 45 | + - Property \\"ignores\\" has the wrong type - must be array. |
46 | 46 | "
|
47 | 47 | `;
|
48 | 48 |
|
49 | 49 | exports[`validation should fail for ignoresNotFunction 1`] = `
|
50 | 50 | "Commitlint configuration in ignoresNotFunction.js is invalid:
|
51 |
| - - \\"ignores[0]\\" should be a function. Value: 1. |
| 51 | + - \\"/ignores/0\\" should be a function. Value: 1. |
52 | 52 | "
|
53 | 53 | `;
|
54 | 54 |
|
55 | 55 | exports[`validation should fail for parserPreset 1`] = `
|
56 | 56 | "Commitlint configuration in parserPreset.js is invalid:
|
57 |
| - - Property \\"parserPreset\\" has the wrong type - should be string. |
58 |
| - - Property \\"parserPreset\\" has the wrong type - should be object. |
59 |
| - - \\"parserPreset\\" should be a function. Value: []. |
60 |
| - - \\"parserPreset\\" should match exactly one schema in oneOf. Value: []. |
| 57 | + - Property \\"parserPreset\\" has the wrong type - must be string. |
| 58 | + - Property \\"parserPreset\\" has the wrong type - must be object. |
| 59 | + - \\"/parserPreset\\" should be a function. Value: []. |
| 60 | + - \\"/parserPreset\\" must match exactly one schema in oneOf. Value: []. |
61 | 61 | "
|
62 | 62 | `;
|
63 | 63 |
|
64 | 64 | exports[`validation should fail for pluginsNotArray 1`] = `
|
65 | 65 | "Commitlint configuration in pluginsNotArray.js is invalid:
|
66 |
| - - Property \\"plugins\\" has the wrong type - should be array. |
| 66 | + - Property \\"plugins\\" has the wrong type - must be array. |
67 | 67 | "
|
68 | 68 | `;
|
69 | 69 |
|
70 | 70 | exports[`validation should fail for rules1 1`] = `
|
71 | 71 | "Commitlint configuration in rules1.js is invalid:
|
72 |
| - - \\"rules['a'][0]\\" should be equal to one of the allowed values. Value: 3. |
73 |
| - - \\"rules['a']\\" should be a function. Value: [3]. |
74 |
| - - \\"rules['a']\\" should match exactly one schema in oneOf. Value: [3]. |
| 72 | + - \\"/rules/a/0\\" must be equal to one of the allowed values. Value: 3. |
| 73 | + - \\"/rules/a\\" should be a function. Value: [3]. |
| 74 | + - \\"/rules/a\\" must match exactly one schema in oneOf. Value: [3]. |
75 | 75 | "
|
76 | 76 | `;
|
77 | 77 |
|
78 | 78 | exports[`validation should fail for rules2 1`] = `
|
79 | 79 | "Commitlint configuration in rules2.js is invalid:
|
80 |
| - - \\"rules['b']\\" should NOT have more than 3 items. Value: [1,\\"test\\",2,2]. |
81 |
| - - \\"rules['b']\\" should be a function. Value: [1,\\"test\\",2,2]. |
82 |
| - - \\"rules['b']\\" should match exactly one schema in oneOf. Value: [1,\\"test\\",2,2]. |
| 80 | + - \\"/rules/b\\" must NOT have more than 3 items. Value: [1,\\"test\\",2,2]. |
| 81 | + - \\"/rules/b\\" should be a function. Value: [1,\\"test\\",2,2]. |
| 82 | + - \\"/rules/b\\" must match exactly one schema in oneOf. Value: [1,\\"test\\",2,2]. |
83 | 83 | "
|
84 | 84 | `;
|
85 | 85 |
|
86 | 86 | exports[`validation should fail for rules3 1`] = `
|
87 | 87 | "Commitlint configuration in rules3.js is invalid:
|
88 |
| - - \\"rules['c']\\" should NOT have fewer than 1 items. Value: []. |
89 |
| - - \\"rules['c']\\" should be a function. Value: []. |
90 |
| - - \\"rules['c']\\" should match exactly one schema in oneOf. Value: []. |
| 88 | + - \\"/rules/c\\" must NOT have fewer than 1 items. Value: []. |
| 89 | + - \\"/rules/c\\" should be a function. Value: []. |
| 90 | + - \\"/rules/c\\" must match exactly one schema in oneOf. Value: []. |
91 | 91 | "
|
92 | 92 | `;
|
93 | 93 |
|
94 | 94 | exports[`validation should fail for rules4 1`] = `
|
95 | 95 | "Commitlint configuration in rules4.js is invalid:
|
96 |
| - - Property \\"rules['d'][0]\\" has the wrong type - should be number. |
97 |
| - - \\"rules['d'][0]\\" should be equal to one of the allowed values. Value: []. |
98 |
| - - \\"rules['d']\\" should be a function. Value: [[],[],[]]. |
99 |
| - - \\"rules['d']\\" should match exactly one schema in oneOf. Value: [[],[],[]]. |
| 96 | + - Property \\"rules/d/0\\" has the wrong type - must be number. |
| 97 | + - \\"/rules/d/0\\" must be equal to one of the allowed values. Value: []. |
| 98 | + - \\"/rules/d\\" should be a function. Value: [[],[],[]]. |
| 99 | + - \\"/rules/d\\" must match exactly one schema in oneOf. Value: [[],[],[]]. |
100 | 100 | "
|
101 | 101 | `;
|
102 | 102 |
|
103 | 103 | exports[`validation should fail for rules5 1`] = `
|
104 | 104 | "Commitlint configuration in rules5.js is invalid:
|
105 |
| - - Property \\"rules['e']\\" has the wrong type - should be array. |
106 |
| - - \\"rules['e']\\" should be a function. Value: {}. |
107 |
| - - \\"rules['e']\\" should match exactly one schema in oneOf. Value: {}. |
| 105 | + - Property \\"rules/e\\" has the wrong type - must be array. |
| 106 | + - \\"/rules/e\\" should be a function. Value: {}. |
| 107 | + - \\"/rules/e\\" must match exactly one schema in oneOf. Value: {}. |
108 | 108 | "
|
109 | 109 | `;
|
110 | 110 |
|
111 | 111 | exports[`validation should fail for rulesAsArray 1`] = `
|
112 | 112 | "Commitlint configuration in rulesAsArray.js is invalid:
|
113 |
| - - Property \\"rules\\" has the wrong type - should be object. |
| 113 | + - Property \\"rules\\" has the wrong type - must be object. |
114 | 114 | "
|
115 | 115 | `;
|
116 | 116 |
|
117 | 117 | exports[`validation should fail for whenConfigIsNotObject 1`] = `
|
118 | 118 | "Commitlint configuration in whenConfigIsNotObject.js is invalid:
|
119 |
| - - Config has the wrong type - should be object. |
| 119 | + - Config has the wrong type - must be object. |
120 | 120 | "
|
121 | 121 | `;
|
122 | 122 |
|
123 | 123 | exports[`validation should fail for whenConfigIsNotObject2 1`] = `
|
124 | 124 | "Commitlint configuration in whenConfigIsNotObject2.js is invalid:
|
125 |
| - - Config has the wrong type - should be object. |
| 125 | + - Config has the wrong type - must be object. |
126 | 126 | "
|
127 | 127 | `;
|
128 | 128 |
|
129 | 129 | exports[`validation should fail for withPluginsAsObject 1`] = `
|
130 | 130 | "Commitlint configuration in withPluginsAsObject.js is invalid:
|
131 |
| - - Property \\"plugins[0]\\" has the wrong type - should be string. |
132 |
| - - \\"plugins[0]\\" should have required property '.rules'. Value: {}. |
133 |
| - - \\"plugins[0]\\" should match some schema in anyOf. Value: {}. |
| 131 | + - Property \\"plugins/0\\" has the wrong type - must be string. |
| 132 | + - \\"/plugins/0\\" must have required property 'rules'. Value: {}. |
| 133 | + - \\"/plugins/0\\" must match a schema in anyOf. Value: {}. |
134 | 134 | "
|
135 | 135 | `;
|
0 commit comments