kvalita 1.14.0 → 1.15.1

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.
Files changed (2) hide show
  1. package/configs/biome.json +24 -0
  2. package/package.json +3 -3
@@ -34,11 +34,16 @@
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",
40
43
  "noImplicitBoolean": "error",
41
44
  "noInferrableTypes": "error",
45
+ "noMultiAssign": "error",
46
+ "noMultilineString": "error",
42
47
  "noNestedTernary": "error",
43
48
  "noParameterAssign": "error",
44
49
  "noSubstr": "error",
@@ -48,6 +53,8 @@
48
53
  "useBlockStatements": "error",
49
54
  "useCollapsedElseIf": "error",
50
55
  "useConsistentBuiltinInstantiation": "error",
56
+ "useConsistentEnumValueType": "error",
57
+ "useConsistentMethodSignatures": "error",
51
58
  "useConsistentTypeDefinitions": {
52
59
  "level": "error",
53
60
  "options": {
@@ -61,13 +68,16 @@
61
68
  }
62
69
  },
63
70
  "useDefaultParameterLast": "error",
71
+ "useErrorCause": "error",
64
72
  "useForOf": "error",
65
73
  "useFragmentSyntax": "error",
74
+ "useGlobalThis": "error",
66
75
  "useNumberNamespace": "error",
67
76
  "useObjectSpread": "error",
68
77
  "useSelfClosingElements": "error",
69
78
  "useShorthandAssign": "error",
70
79
  "useSingleVarDeclarator": "error",
80
+ "useSpreadOverApply": "error",
71
81
  "useThrowNewError": "error",
72
82
  "useThrowOnlyError": "error",
73
83
  "useTrimStartEnd": "error"
@@ -75,24 +85,38 @@
75
85
  "complexity": {
76
86
  "noExcessiveNestedTestSuites": "error",
77
87
  "noForEach": "error",
88
+ "noRedundantDefaultExport": "error",
78
89
  "noUselessCatchBinding": "error",
90
+ "noUselessReturn": "error",
79
91
  "noUselessStringConcat": "error",
80
92
  "noUselessUndefined": "error",
93
+ "useArrayFind": "error",
81
94
  "useArrowFunction": "error"
82
95
  },
83
96
  "correctness": {
84
97
  "noReactPropAssignments": "error",
98
+ "noUnusedInstantiation": "error",
85
99
  "useJsonImportAttributes": "error"
86
100
  },
87
101
  "suspicious": {
102
+ "noDuplicatedSpreadProps": "error",
88
103
  "noEmptySource": "error",
104
+ "noForIn": "error",
105
+ "noParametersOnlyUsedInRecursion": "error",
106
+ "noProto": "error",
107
+ "noReturnAssign": "error",
89
108
  "noVar": "error",
109
+ "useArraySortCompare": "error",
90
110
  "useAwait": "error",
91
111
  "useErrorMessage": "error"
92
112
  },
93
113
  "performance": {
94
114
  "noDelete": "error",
115
+ "noSyncScripts": "error",
95
116
  "useTopLevelRegex": "error"
117
+ },
118
+ "security": {
119
+ "noScriptUrl": "error"
96
120
  }
97
121
  }
98
122
  }
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "prepare": "lefthook install"
25
25
  },
26
26
  "peerDependencies": {
27
- "@biomejs/biome": "^2.2.7",
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.4.16",
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.14.0"
44
+ "version": "1.15.1"
45
45
  }