@tilli-pro/biome 0.8.0 → 0.9.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.
Files changed (2) hide show
  1. package/config.json +38 -26
  2. package/package.json +1 -1
package/config.json CHANGED
@@ -39,10 +39,10 @@
39
39
  "noUselessTypeConstraint": "error",
40
40
  "noImportantStyles": "warn",
41
41
  "noUselessRename": "error",
42
- "useArrowFunction": "warn",
42
+ "useArrowFunction": "info",
43
43
  "useRegexLiterals": "warn",
44
- "useWhile": "error",
45
- "noEmptyTypeParameters": "error",
44
+ "useWhile": "warn",
45
+ "noEmptyTypeParameters": "warn",
46
46
  "noThisInStatic": "error",
47
47
  "noStaticOnlyClass": "error",
48
48
  "noUselessThisAlias": "warn",
@@ -56,13 +56,13 @@
56
56
  "useHookAtTopLevel": "warn",
57
57
  "useParseIntRadix": "warn",
58
58
  "noUnusedImports": "warn",
59
- "noUnusedLabels": "error",
60
- "noUnusedPrivateClassMembers": "error",
61
- "noUnusedVariables": "error",
59
+ "noUnusedLabels": "warn",
60
+ "noUnusedPrivateClassMembers": "warn",
61
+ "noUnusedVariables": "warn",
62
62
  "noConstAssign": "error",
63
- "noConstantCondition": "error",
63
+ "noConstantCondition": "warn",
64
64
  "noEmptyCharacterClassInRegex": "error",
65
- "noEmptyPattern": "error",
65
+ "noEmptyPattern": "warn",
66
66
  "noGlobalObjectCalls": "error",
67
67
  "noInvalidBuiltinInstantiation": "error",
68
68
  "noInvalidConstructorSuper": "error",
@@ -72,12 +72,12 @@
72
72
  "noSetterReturn": "error",
73
73
  "noSwitchDeclarations": "error",
74
74
  "noUndeclaredVariables": {
75
- "level": "error",
75
+ "level": "warn",
76
76
  "options": {
77
- "checkTypes": true
77
+ "checkTypes": false
78
78
  }
79
79
  },
80
- "noUnreachable": "error",
80
+ "noUnreachable": "warn",
81
81
  "noUnreachableSuper": "error",
82
82
  "noUnsafeFinally": "error",
83
83
  "noUnsafeOptionalChaining": "error",
@@ -92,7 +92,7 @@
92
92
  "noInvalidUseBeforeDeclaration": "error",
93
93
  "noVoidTypeReturn": "error",
94
94
  "useImageSize": "warn",
95
- "noChildrenProp": "error"
95
+ "noChildrenProp": "warn"
96
96
  },
97
97
  "style": {
98
98
  "noImplicitBoolean": "warn",
@@ -114,33 +114,34 @@
114
114
  "useDeprecatedReason": "error",
115
115
  "useExportType": "warn",
116
116
  "useFragmentSyntax": "error",
117
- "useImportType": "error",
117
+ "useImportType": "warn",
118
118
  "useNodejsImportProtocol": "error",
119
119
  "useShorthandAssign": "warn",
120
120
  "useTemplate": "error",
121
121
  "useThrowNewError": "warn",
122
122
  "useObjectSpread": "error",
123
123
  "useGroupedAccessorPairs": "error",
124
- "useNamingConvention": "warn",
124
+ "useNamingConvention": "off",
125
125
  "useReadonlyClassProperties": "warn",
126
- "noDefaultExport": "warn",
126
+ "noDefaultExport": "info",
127
127
  "noDoneCallback": "warn",
128
128
  "noNonNullAssertion": "warn",
129
129
  "useThrowOnlyError": "warn",
130
130
  "noSubstr": "warn",
131
131
  "useDefaultSwitchClause": "warn",
132
- "useReactFunctionComponents": "warn"
132
+ "useReactFunctionComponents": "warn",
133
+ "useFilenamingConvention": "off"
133
134
  },
134
135
  "suspicious": {
135
136
  "noArrayIndexKey": "warn",
136
137
  "noAsyncPromiseExecutor": "error",
137
- "noCatchAssign": "error",
138
+ "noCatchAssign": "warn",
138
139
  "noClassAssign": "error",
139
140
  "noCommentText": "error",
140
141
  "noCompareNegZero": "error",
141
142
  "noConstantBinaryExpressions": "warn",
142
143
  "noControlCharactersInRegex": "error",
143
- "noDoubleEquals": "error",
144
+ "noDoubleEquals": "warn",
144
145
  "noDebugger": "error",
145
146
  "noDuplicateCase": "error",
146
147
  "noDuplicateClassMembers": "error",
@@ -177,24 +178,29 @@
177
178
  },
178
179
  "a11y": {
179
180
  "recommended": true,
180
- "noRedundantAlt": "error",
181
+ "noRedundantAlt": "warn",
181
182
  "noStaticElementInteractions": "error",
182
- "useAltText": "error",
183
+ "useAltText": "warn",
183
184
  "useValidAnchor": "warn",
184
- "useValidLang": "error"
185
+ "useValidLang": "warn",
186
+ "useFocusableInteractive": "off",
187
+ "useSemanticElements": "off",
188
+ "noRedundantRoles": "off",
189
+ "noDistractingElements": "error"
185
190
  },
186
191
  "performance": {
187
192
  "noAwaitInLoops": "warn",
188
193
  "useTopLevelRegex": "info",
189
194
  "noAccumulatingSpread": "warn",
190
- "noDelete": "warn"
195
+ "noDelete": "info",
196
+ "noImgElement": "info"
191
197
  },
192
198
  "security": {
193
- "noBlankTarget": "error",
199
+ "noBlankTarget": "warn",
194
200
  "noDangerouslySetInnerHtmlWithChildren": "error",
195
201
  "noGlobalEval": "error",
196
202
  "noDangerouslySetInnerHtml": "warn",
197
- "noSecrets": "warn"
203
+ "noSecrets": "off"
198
204
  },
199
205
  "nursery": {
200
206
  "noFloatingPromises": "warn",
@@ -204,7 +210,7 @@
204
210
  "noImportCycles": "error",
205
211
  "noDeprecatedImports": "warn",
206
212
  "noNextAsyncClientComponent": "error",
207
- "noShadow": "warn",
213
+ "noShadow": "info",
208
214
  "noMisusedPromises": "warn",
209
215
  "noUnnecessaryConditions": "warn",
210
216
  "noUnresolvedImports": "off",
@@ -341,8 +347,14 @@
341
347
  "includes": [
342
348
  "src/app/**/page.tsx",
343
349
  "src/app/**/layout.tsx",
350
+ "src/app/**/error.tsx",
351
+ "src/app/**/loading.tsx",
352
+ "src/app/**/template.tsx",
353
+ "src/app/**/not-found.tsx",
344
354
  "next.config.*ts",
345
- "next.config.*js"
355
+ "next.config.*js",
356
+ "*.config.*ts",
357
+ "*.config.*js"
346
358
  ],
347
359
  "linter": {
348
360
  "rules": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilli-pro/biome",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "files": [
5
5
  "config.json"
6
6
  ],