@versini/dev-dependencies-common 5.0.7 → 5.1.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.
- package/biome.json +20 -16
- package/package.json +3 -3
package/biome.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
},
|
|
2
|
+
"root": false,
|
|
3
|
+
"$schema": "https://biomejs.dev/schemas/2.0.0/schema.json",
|
|
4
|
+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
|
6
5
|
"vcs": {
|
|
7
6
|
"enabled": true,
|
|
8
7
|
"clientKind": "git",
|
|
@@ -21,16 +20,16 @@
|
|
|
21
20
|
"enabled": true,
|
|
22
21
|
"rules": {
|
|
23
22
|
"recommended": false,
|
|
24
|
-
"a11y": {
|
|
23
|
+
"a11y": {},
|
|
25
24
|
"complexity": {
|
|
26
25
|
"noBannedTypes": "error",
|
|
27
26
|
"noExtraBooleanCast": "error",
|
|
28
|
-
"noMultipleSpacesInRegularExpressionLiterals": "error",
|
|
29
27
|
"noUselessCatch": "error",
|
|
30
28
|
"noUselessFragments": "error",
|
|
31
29
|
"noUselessThisAlias": "error",
|
|
32
30
|
"noUselessTypeConstraint": "error",
|
|
33
|
-
"
|
|
31
|
+
"noAdjacentSpacesInRegex": "error",
|
|
32
|
+
"noArguments": "error"
|
|
34
33
|
},
|
|
35
34
|
"correctness": {
|
|
36
35
|
"noChildrenProp": "error",
|
|
@@ -42,7 +41,6 @@
|
|
|
42
41
|
"noInnerDeclarations": "error",
|
|
43
42
|
"noInvalidConstructorSuper": "error",
|
|
44
43
|
"noInvalidUseBeforeDeclaration": "error",
|
|
45
|
-
"noNewSymbol": "error",
|
|
46
44
|
"noNonoctalDecimalEscape": "error",
|
|
47
45
|
"noPrecisionLoss": "error",
|
|
48
46
|
"noSelfAssign": "error",
|
|
@@ -53,6 +51,7 @@
|
|
|
53
51
|
"noUnreachableSuper": "error",
|
|
54
52
|
"noUnsafeFinally": "error",
|
|
55
53
|
"noUnsafeOptionalChaining": "error",
|
|
54
|
+
"noUnusedImports": "warn",
|
|
56
55
|
"noUnusedLabels": "error",
|
|
57
56
|
"noUnusedVariables": "error",
|
|
58
57
|
"useExhaustiveDependencies": "warn",
|
|
@@ -60,15 +59,16 @@
|
|
|
60
59
|
"useIsNan": "error",
|
|
61
60
|
"useJsxKeyInIterable": "error",
|
|
62
61
|
"useValidForDirection": "error",
|
|
63
|
-
"useYield": "error"
|
|
62
|
+
"useYield": "error",
|
|
63
|
+
"noInvalidBuiltinInstantiation": "error",
|
|
64
|
+
"useValidTypeof": "error"
|
|
64
65
|
},
|
|
65
66
|
"security": {
|
|
66
67
|
"noDangerouslySetInnerHtml": "error",
|
|
67
|
-
"noGlobalEval": "error"
|
|
68
|
+
"noGlobalEval": "error",
|
|
69
|
+
"noBlankTarget": "error"
|
|
68
70
|
},
|
|
69
71
|
"style": {
|
|
70
|
-
"noArguments": "error",
|
|
71
|
-
"noVar": "error",
|
|
72
72
|
"useAsConstAssertion": "error",
|
|
73
73
|
"useBlockStatements": "error",
|
|
74
74
|
"useConst": "error"
|
|
@@ -80,7 +80,6 @@
|
|
|
80
80
|
"noClassAssign": "error",
|
|
81
81
|
"noCommentText": "error",
|
|
82
82
|
"noCompareNegZero": "error",
|
|
83
|
-
"noConsoleLog": "warn",
|
|
84
83
|
"noControlCharactersInRegex": "error",
|
|
85
84
|
"noDebugger": "error",
|
|
86
85
|
"noDoubleEquals": "error",
|
|
@@ -105,10 +104,15 @@
|
|
|
105
104
|
"noUnsafeDeclarationMerging": "error",
|
|
106
105
|
"noUnsafeNegation": "error",
|
|
107
106
|
"useGetterReturn": "error",
|
|
108
|
-
"
|
|
107
|
+
"noWith": "error",
|
|
108
|
+
"noVar": "error",
|
|
109
|
+
"noConsole": {
|
|
110
|
+
"level": "warn",
|
|
111
|
+
"options": { "allow": ["info", "error", "warn"] }
|
|
112
|
+
}
|
|
109
113
|
}
|
|
110
114
|
},
|
|
111
|
-
"
|
|
115
|
+
"includes": ["**", "!**/dist", "!**/.eslintrc.cjs"]
|
|
112
116
|
},
|
|
113
117
|
"javascript": {
|
|
114
118
|
"globals": ["React"],
|
|
@@ -126,7 +130,7 @@
|
|
|
126
130
|
},
|
|
127
131
|
"overrides": [
|
|
128
132
|
{
|
|
129
|
-
"
|
|
133
|
+
"includes": ["**/*.test.ts", "**/*.test.tsx"],
|
|
130
134
|
"linter": {
|
|
131
135
|
"rules": {
|
|
132
136
|
"correctness": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/dev-dependencies-common",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"./biome": "./biome.json"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@biomejs/biome": "
|
|
22
|
+
"@biomejs/biome": "2.0.0",
|
|
23
23
|
"chokidar": "4.0.3",
|
|
24
24
|
"culori": "4.0.1",
|
|
25
25
|
"dotenv": "16.5.0",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"jsdom": "26.1.0",
|
|
30
30
|
"typescript": "5.8.3"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "2917fd7e563c32878fb1582dd783d96a820efa24"
|
|
33
33
|
}
|