@adamhl8/configs 0.10.1 → 0.11.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/dist/biome.base.jsonc +36 -34
- package/package.json +4 -4
package/dist/biome.base.jsonc
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
|
|
3
3
|
"root": false,
|
|
4
4
|
// https://github.com/biomejs/biome/issues/6676
|
|
5
5
|
// Extending this config from the root config of this project causes an error because the plugin files do not exist in 'node_modules'. i.e. the whole 'node_modules/@adamhl8/configs' directory does not exist
|
|
@@ -23,56 +23,41 @@
|
|
|
23
23
|
"noForEach": "on",
|
|
24
24
|
"noUselessStringConcat": "on",
|
|
25
25
|
"useSimplifiedLogicExpression": "on",
|
|
26
|
-
"useWhile": "on"
|
|
26
|
+
"useWhile": "on",
|
|
27
|
+
"noImplicitCoercions": "on",
|
|
28
|
+
"useIndexOf": "on"
|
|
27
29
|
},
|
|
28
30
|
"correctness": {
|
|
29
31
|
"noRenderReturnValue": "on",
|
|
30
32
|
"useExhaustiveDependencies": "on",
|
|
31
33
|
"useHookAtTopLevel": "on",
|
|
32
34
|
"useImportExtensions": "on",
|
|
33
|
-
"useJsxKeyInIterable": "on"
|
|
35
|
+
"useJsxKeyInIterable": "on",
|
|
36
|
+
"noGlobalDirnameFilename": "on",
|
|
37
|
+
"noNestedComponentDefinitions": "on",
|
|
38
|
+
"noProcessGlobal": "on",
|
|
39
|
+
"noReactPropAssignments": "on",
|
|
40
|
+
"useJsonImportAttributes": "on",
|
|
41
|
+
"useParseIntRadix": "on",
|
|
42
|
+
"useSingleJsDocAsterisk": "on",
|
|
43
|
+
"useUniqueElementIds": "on"
|
|
34
44
|
},
|
|
35
45
|
"nursery": {
|
|
36
|
-
"noAwaitInLoop": "on",
|
|
37
|
-
"noConstantBinaryExpression": "on",
|
|
38
46
|
"noFloatingPromises": "on",
|
|
39
|
-
"noGlobalDirnameFilename": "on",
|
|
40
|
-
"noImplicitCoercion": "on",
|
|
41
47
|
"noImportCycles": "on",
|
|
42
48
|
"noMisusedPromises": "on",
|
|
43
|
-
"noNestedComponentDefinitions": "on",
|
|
44
|
-
"noNoninteractiveElementInteractions": "on",
|
|
45
|
-
"noProcessGlobal": "on",
|
|
46
|
-
"noReactPropAssign": "on",
|
|
47
49
|
"noShadow": "on",
|
|
48
|
-
"noTsIgnore": "on",
|
|
49
|
-
"noUnassignedVariables": "on",
|
|
50
|
-
"noUselessBackrefInRegex": "on",
|
|
51
|
-
"noUselessEscapeInString": "on",
|
|
52
50
|
"noUselessUndefined": "on",
|
|
53
|
-
"useAdjacentGetterSetter": "on",
|
|
54
|
-
"useConsistentObjectDefinition": "on",
|
|
55
|
-
"useConsistentResponse": "on",
|
|
56
51
|
"useExhaustiveSwitchCases": "on",
|
|
57
|
-
"
|
|
58
|
-
"useIndexOf": "on",
|
|
59
|
-
"useIterableCallbackReturn": "on",
|
|
60
|
-
"useJsonImportAttribute": "on",
|
|
61
|
-
"useNumericSeparators": "on",
|
|
62
|
-
"useObjectSpread": "on",
|
|
63
|
-
"useParseIntRadix": "on",
|
|
64
|
-
"useReadonlyClassProperties": "on",
|
|
65
|
-
"useSingleJsDocAsterisk": "on",
|
|
66
|
-
"useSortedClasses": "on",
|
|
67
|
-
"useSymbolDescription": "on",
|
|
68
|
-
"useUnifiedTypeSignature": "on",
|
|
69
|
-
"useUniqueElementIds": "on"
|
|
52
|
+
"useSortedClasses": "on"
|
|
70
53
|
},
|
|
71
54
|
"performance": {
|
|
72
55
|
"noBarrelFile": "on",
|
|
73
56
|
"noDelete": "on",
|
|
74
57
|
"noReExportAll": "on",
|
|
75
|
-
"useTopLevelRegex": "on"
|
|
58
|
+
"useTopLevelRegex": "on",
|
|
59
|
+
"useGoogleFontPreconnect": "on",
|
|
60
|
+
"noAwaitInLoops": "on"
|
|
76
61
|
},
|
|
77
62
|
"style": {
|
|
78
63
|
"useImportType": {
|
|
@@ -123,7 +108,14 @@
|
|
|
123
108
|
"useSingleVarDeclarator": "on",
|
|
124
109
|
"useThrowNewError": "on",
|
|
125
110
|
"useThrowOnlyError": "on",
|
|
126
|
-
"useTrimStartEnd": "on"
|
|
111
|
+
"useTrimStartEnd": "on",
|
|
112
|
+
"useGroupedAccessorPairs": "on",
|
|
113
|
+
"useConsistentObjectDefinitions": "on",
|
|
114
|
+
"useNumericSeparators": "on",
|
|
115
|
+
"useObjectSpread": "on",
|
|
116
|
+
"useReadonlyClassProperties": "on",
|
|
117
|
+
"useSymbolDescription": "on",
|
|
118
|
+
"useUnifiedTypeSignatures": "on"
|
|
127
119
|
},
|
|
128
120
|
"suspicious": {
|
|
129
121
|
"noDuplicateTestHooks": "on",
|
|
@@ -135,7 +127,17 @@
|
|
|
135
127
|
"useAwait": "on",
|
|
136
128
|
"useErrorMessage": "on",
|
|
137
129
|
"useGuardForIn": "on",
|
|
138
|
-
"useNumberToFixedDigitsArgument": "on"
|
|
130
|
+
"useNumberToFixedDigitsArgument": "on",
|
|
131
|
+
"noConstantBinaryExpressions": "on",
|
|
132
|
+
"noTsIgnore": "on",
|
|
133
|
+
"noUnassignedVariables": "on",
|
|
134
|
+
"noUselessEscapeInString": "on",
|
|
135
|
+
"useStaticResponseMethods": "on",
|
|
136
|
+
"useIterableCallbackReturn": "on",
|
|
137
|
+
"noUselessRegexBackrefs": "on"
|
|
138
|
+
},
|
|
139
|
+
"a11y": {
|
|
140
|
+
"noNoninteractiveElementInteractions": "on"
|
|
139
141
|
}
|
|
140
142
|
}
|
|
141
143
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adamhl8/configs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"prettier-plugin-toml": "^2.0.6"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@biomejs/biome": "^2.
|
|
44
|
-
"@types/bun": "^1.2.
|
|
43
|
+
"@biomejs/biome": "^2.2.0",
|
|
44
|
+
"@types/bun": "^1.2.20",
|
|
45
45
|
"prettier": "^3.6.2",
|
|
46
46
|
"tsc-alias": "^1.8.16",
|
|
47
|
-
"typescript": "^5.
|
|
47
|
+
"typescript": "^5.9.2"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|