kvalita 1.14.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/configs/biome.json +25 -0
- package/package.json +3 -3
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
|
}
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepare": "lefthook install"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@biomejs/biome": "^2.
|
|
27
|
+
"@biomejs/biome": "^2.5.0",
|
|
28
28
|
"@commitlint/cli": "^20.0.0 || ^21.0.0",
|
|
29
29
|
"@commitlint/config-conventional": "^20.0.0 || ^21.0.0",
|
|
30
30
|
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typescript": "^6.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@biomejs/biome": "^2.
|
|
36
|
+
"@biomejs/biome": "^2.5.0",
|
|
37
37
|
"@commitlint/cli": "^21.0.2",
|
|
38
38
|
"@commitlint/config-conventional": "^21.0.2",
|
|
39
39
|
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"semantic-release": "^25.0.5",
|
|
42
42
|
"typescript": "^6.0.3"
|
|
43
43
|
},
|
|
44
|
-
"version": "1.
|
|
44
|
+
"version": "1.15.0"
|
|
45
45
|
}
|