kvalita 1.13.0 → 1.15.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
|
@@ -50,7 +50,7 @@ Use the `--extends` flag in your CI workflow:
|
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
This configuration includes:
|
|
53
|
-
- Branches: `main`, `
|
|
53
|
+
- Branches: `main`, `rc` (prerelease), `beta` (prerelease), `alpha` (prerelease), `next` (prerelease, deprecated)
|
|
54
54
|
- `conventionalcommits` preset with `feat!:` syntax for breaking changes
|
|
55
55
|
- [npm provenance](https://docs.npmjs.com/generating-provenance-statements) (requires `id-token: write` permission)
|
|
56
56
|
|
package/configs/biome.json
CHANGED
|
@@ -34,11 +34,17 @@
|
|
|
34
34
|
},
|
|
35
35
|
"linter": {
|
|
36
36
|
"rules": {
|
|
37
|
+
"a11y": {
|
|
38
|
+
"noAmbiguousAnchorText": "error"
|
|
39
|
+
},
|
|
37
40
|
"style": {
|
|
38
41
|
"noCommonJs": "error",
|
|
39
42
|
"noDoneCallback": "error",
|
|
43
|
+
"noExcessiveClassesPerFile": "error",
|
|
40
44
|
"noImplicitBoolean": "error",
|
|
41
45
|
"noInferrableTypes": "error",
|
|
46
|
+
"noMultiAssign": "error",
|
|
47
|
+
"noMultilineString": "error",
|
|
42
48
|
"noNestedTernary": "error",
|
|
43
49
|
"noParameterAssign": "error",
|
|
44
50
|
"noSubstr": "error",
|
|
@@ -48,6 +54,8 @@
|
|
|
48
54
|
"useBlockStatements": "error",
|
|
49
55
|
"useCollapsedElseIf": "error",
|
|
50
56
|
"useConsistentBuiltinInstantiation": "error",
|
|
57
|
+
"useConsistentEnumValueType": "error",
|
|
58
|
+
"useConsistentMethodSignatures": "error",
|
|
51
59
|
"useConsistentTypeDefinitions": {
|
|
52
60
|
"level": "error",
|
|
53
61
|
"options": {
|
|
@@ -61,13 +69,16 @@
|
|
|
61
69
|
}
|
|
62
70
|
},
|
|
63
71
|
"useDefaultParameterLast": "error",
|
|
72
|
+
"useErrorCause": "error",
|
|
64
73
|
"useForOf": "error",
|
|
65
74
|
"useFragmentSyntax": "error",
|
|
75
|
+
"useGlobalThis": "error",
|
|
66
76
|
"useNumberNamespace": "error",
|
|
67
77
|
"useObjectSpread": "error",
|
|
68
78
|
"useSelfClosingElements": "error",
|
|
69
79
|
"useShorthandAssign": "error",
|
|
70
80
|
"useSingleVarDeclarator": "error",
|
|
81
|
+
"useSpreadOverApply": "error",
|
|
71
82
|
"useThrowNewError": "error",
|
|
72
83
|
"useThrowOnlyError": "error",
|
|
73
84
|
"useTrimStartEnd": "error"
|
|
@@ -75,24 +86,38 @@
|
|
|
75
86
|
"complexity": {
|
|
76
87
|
"noExcessiveNestedTestSuites": "error",
|
|
77
88
|
"noForEach": "error",
|
|
89
|
+
"noRedundantDefaultExport": "error",
|
|
78
90
|
"noUselessCatchBinding": "error",
|
|
91
|
+
"noUselessReturn": "error",
|
|
79
92
|
"noUselessStringConcat": "error",
|
|
80
93
|
"noUselessUndefined": "error",
|
|
94
|
+
"useArrayFind": "error",
|
|
81
95
|
"useArrowFunction": "error"
|
|
82
96
|
},
|
|
83
97
|
"correctness": {
|
|
84
98
|
"noReactPropAssignments": "error",
|
|
99
|
+
"noUnusedInstantiation": "error",
|
|
85
100
|
"useJsonImportAttributes": "error"
|
|
86
101
|
},
|
|
87
102
|
"suspicious": {
|
|
103
|
+
"noDuplicatedSpreadProps": "error",
|
|
88
104
|
"noEmptySource": "error",
|
|
105
|
+
"noForIn": "error",
|
|
106
|
+
"noParametersOnlyUsedInRecursion": "error",
|
|
107
|
+
"noProto": "error",
|
|
108
|
+
"noReturnAssign": "error",
|
|
89
109
|
"noVar": "error",
|
|
110
|
+
"useArraySortCompare": "error",
|
|
90
111
|
"useAwait": "error",
|
|
91
112
|
"useErrorMessage": "error"
|
|
92
113
|
},
|
|
93
114
|
"performance": {
|
|
94
115
|
"noDelete": "error",
|
|
116
|
+
"noSyncScripts": "error",
|
|
95
117
|
"useTopLevelRegex": "error"
|
|
118
|
+
},
|
|
119
|
+
"security": {
|
|
120
|
+
"noScriptUrl": "error"
|
|
96
121
|
}
|
|
97
122
|
}
|
|
98
123
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/semantic-release.json",
|
|
3
3
|
"branches": [
|
|
4
4
|
"main",
|
|
5
|
+
{ "name": "rc", "channel": "rc", "prerelease": "rc" },
|
|
5
6
|
{ "name": "beta", "channel": "beta", "prerelease": "beta" },
|
|
6
7
|
{ "name": "alpha", "channel": "alpha", "prerelease": "alpha" },
|
|
7
8
|
{ "name": "next", "channel": "next", "prerelease": "next" }
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/semantic-release.json",
|
|
3
3
|
"branches": [
|
|
4
4
|
"main",
|
|
5
|
+
{ "name": "rc", "channel": "rc", "prerelease": "rc" },
|
|
5
6
|
{ "name": "beta", "channel": "beta", "prerelease": "beta" },
|
|
6
7
|
{ "name": "alpha", "channel": "alpha", "prerelease": "alpha" },
|
|
7
8
|
{ "name": "next", "channel": "next", "prerelease": "next" }
|
package/package.json
CHANGED
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"prepare": "lefthook install"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@biomejs/biome": "^2.
|
|
28
|
-
"@commitlint/cli": "^20.0.0",
|
|
29
|
-
"@commitlint/config-conventional": "^20.0.0",
|
|
27
|
+
"@biomejs/biome": "^2.5.0",
|
|
28
|
+
"@commitlint/cli": "^20.0.0 || ^21.0.0",
|
|
29
|
+
"@commitlint/config-conventional": "^20.0.0 || ^21.0.0",
|
|
30
30
|
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
31
31
|
"lefthook": "^2.0.0",
|
|
32
32
|
"semantic-release": "^25.0.0",
|
|
33
33
|
"typescript": "^6.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@biomejs/biome": "^2.
|
|
37
|
-
"@commitlint/cli": "^
|
|
38
|
-
"@commitlint/config-conventional": "^
|
|
36
|
+
"@biomejs/biome": "^2.5.0",
|
|
37
|
+
"@commitlint/cli": "^21.0.2",
|
|
38
|
+
"@commitlint/config-conventional": "^21.0.2",
|
|
39
39
|
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
40
|
-
"lefthook": "^2.1.
|
|
41
|
-
"semantic-release": "^25.0.
|
|
40
|
+
"lefthook": "^2.1.9",
|
|
41
|
+
"semantic-release": "^25.0.5",
|
|
42
42
|
"typescript": "^6.0.3"
|
|
43
43
|
},
|
|
44
|
-
"version": "1.
|
|
44
|
+
"version": "1.15.0"
|
|
45
45
|
}
|