@adamhl8/configs 0.10.0 → 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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/latest/schema.json",
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,57 +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
- "noSecrets": "on",
48
49
  "noShadow": "on",
49
- "noTsIgnore": "on",
50
- "noUnassignedVariables": "on",
51
- "noUselessBackrefInRegex": "on",
52
- "noUselessEscapeInString": "on",
53
50
  "noUselessUndefined": "on",
54
- "useAdjacentGetterSetter": "on",
55
- "useConsistentObjectDefinition": "on",
56
- "useConsistentResponse": "on",
57
51
  "useExhaustiveSwitchCases": "on",
58
- "useGoogleFontPreconnect": "on",
59
- "useIndexOf": "on",
60
- "useIterableCallbackReturn": "on",
61
- "useJsonImportAttribute": "on",
62
- "useNumericSeparators": "on",
63
- "useObjectSpread": "on",
64
- "useParseIntRadix": "on",
65
- "useReadonlyClassProperties": "on",
66
- "useSingleJsDocAsterisk": "on",
67
- "useSortedClasses": "on",
68
- "useSymbolDescription": "on",
69
- "useUnifiedTypeSignature": "on",
70
- "useUniqueElementIds": "on"
52
+ "useSortedClasses": "on"
71
53
  },
72
54
  "performance": {
73
55
  "noBarrelFile": "on",
74
56
  "noDelete": "on",
75
57
  "noReExportAll": "on",
76
- "useTopLevelRegex": "on"
58
+ "useTopLevelRegex": "on",
59
+ "useGoogleFontPreconnect": "on",
60
+ "noAwaitInLoops": "on"
77
61
  },
78
62
  "style": {
79
63
  "useImportType": {
@@ -124,7 +108,14 @@
124
108
  "useSingleVarDeclarator": "on",
125
109
  "useThrowNewError": "on",
126
110
  "useThrowOnlyError": "on",
127
- "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"
128
119
  },
129
120
  "suspicious": {
130
121
  "noDuplicateTestHooks": "on",
@@ -136,7 +127,17 @@
136
127
  "useAwait": "on",
137
128
  "useErrorMessage": "on",
138
129
  "useGuardForIn": "on",
139
- "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"
140
141
  }
141
142
  }
142
143
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamhl8/configs",
3
- "version": "0.10.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.1.1",
44
- "@types/bun": "^1.2.18",
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.8.3"
47
+ "typescript": "^5.9.2"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"