kvalita 1.11.0 → 1.12.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 +64 -2
- package/package.json +7 -7
package/configs/biome.json
CHANGED
|
@@ -19,19 +19,81 @@
|
|
|
19
19
|
"quoteStyle": "single"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
+
"assist": {
|
|
23
|
+
"actions": {
|
|
24
|
+
"source": {
|
|
25
|
+
"useSortedAttributes": "on",
|
|
26
|
+
"useSortedProperties": "on"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
22
30
|
"linter": {
|
|
23
31
|
"rules": {
|
|
24
32
|
"style": {
|
|
25
|
-
"
|
|
33
|
+
"noCommonJs": "error",
|
|
34
|
+
"noDoneCallback": "error",
|
|
35
|
+
"noImplicitBoolean": "error",
|
|
36
|
+
"noInferrableTypes": "error",
|
|
37
|
+
"noNestedTernary": "error",
|
|
38
|
+
"noParameterAssign": "error",
|
|
39
|
+
"noSubstr": "error",
|
|
40
|
+
"noUnusedTemplateLiteral": "error",
|
|
41
|
+
"noUselessElse": "error",
|
|
42
|
+
"noYodaExpression": "error",
|
|
43
|
+
"useBlockStatements": "error",
|
|
44
|
+
"useCollapsedElseIf": "error",
|
|
45
|
+
"useConsistentBuiltinInstantiation": "error",
|
|
46
|
+
"useConsistentTypeDefinitions": {
|
|
47
|
+
"level": "error",
|
|
48
|
+
"options": {
|
|
49
|
+
"style": "type"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
26
52
|
"useConsistentArrayType": {
|
|
27
53
|
"level": "error",
|
|
28
54
|
"options": {
|
|
29
55
|
"syntax": "generic"
|
|
30
56
|
}
|
|
31
|
-
}
|
|
57
|
+
},
|
|
58
|
+
"useDefaultParameterLast": "error",
|
|
59
|
+
"useForOf": "error",
|
|
60
|
+
"useFragmentSyntax": "error",
|
|
61
|
+
"useNumberNamespace": "error",
|
|
62
|
+
"useObjectSpread": "error",
|
|
63
|
+
"useSelfClosingElements": "error",
|
|
64
|
+
"useShorthandAssign": "error",
|
|
65
|
+
"useSingleVarDeclarator": "error",
|
|
66
|
+
"useExplicitLengthCheck": "error",
|
|
67
|
+
"useThrowNewError": "error",
|
|
68
|
+
"useThrowOnlyError": "error",
|
|
69
|
+
"useTrimStartEnd": "error"
|
|
32
70
|
},
|
|
33
71
|
"complexity": {
|
|
72
|
+
"noExcessiveNestedTestSuites": "error",
|
|
73
|
+
"noForEach": "error",
|
|
74
|
+
"noUselessCatchBinding": "error",
|
|
75
|
+
"noUselessStringConcat": "error",
|
|
76
|
+
"noUselessUndefined": "error",
|
|
34
77
|
"useArrowFunction": "error"
|
|
78
|
+
},
|
|
79
|
+
"correctness": {
|
|
80
|
+
"noReactPropAssignments": "error",
|
|
81
|
+
"useJsonImportAttributes": "error"
|
|
82
|
+
},
|
|
83
|
+
"suspicious": {
|
|
84
|
+
"noConsole": "warn",
|
|
85
|
+
"noEmptySource": "error",
|
|
86
|
+
"noVar": "error",
|
|
87
|
+
"useAwait": "error",
|
|
88
|
+
"useErrorMessage": "error"
|
|
89
|
+
},
|
|
90
|
+
"performance": {
|
|
91
|
+
"noAwaitInLoops": "warn",
|
|
92
|
+
"noDelete": "error",
|
|
93
|
+
"useTopLevelRegex": "error"
|
|
94
|
+
},
|
|
95
|
+
"security": {
|
|
96
|
+
"noSecrets": "error"
|
|
35
97
|
}
|
|
36
98
|
}
|
|
37
99
|
}
|
package/package.json
CHANGED
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"prepare": "lefthook install"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@biomejs/biome": ">=2.4.
|
|
27
|
+
"@biomejs/biome": ">=2.4.9",
|
|
28
28
|
"@commitlint/cli": ">=20.5.0",
|
|
29
29
|
"@commitlint/config-conventional": ">=20.5.0",
|
|
30
|
-
"conventional-changelog-conventionalcommits": ">=9.3.
|
|
30
|
+
"conventional-changelog-conventionalcommits": ">=9.3.1",
|
|
31
31
|
"lefthook": ">=2.1.4",
|
|
32
32
|
"semantic-release": ">=25.0.3",
|
|
33
|
-
"typescript": ">=
|
|
33
|
+
"typescript": ">=6.0.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@biomejs/biome": "^2.4.
|
|
36
|
+
"@biomejs/biome": "^2.4.9",
|
|
37
37
|
"@commitlint/cli": "^20.5.0",
|
|
38
38
|
"@commitlint/config-conventional": "^20.5.0",
|
|
39
|
-
"conventional-changelog-conventionalcommits": "^9.3.
|
|
39
|
+
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
40
40
|
"lefthook": "^2.1.4",
|
|
41
41
|
"semantic-release": "^25.0.3",
|
|
42
|
-
"typescript": "^
|
|
42
|
+
"typescript": "^6.0.2"
|
|
43
43
|
},
|
|
44
|
-
"version": "1.
|
|
44
|
+
"version": "1.12.0"
|
|
45
45
|
}
|