@rainstormy/presets-biome 2.0.5 → 2.1.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/README.md CHANGED
@@ -67,13 +67,13 @@ yarn add --dev @biomejs/biome @rainstormy/presets-biome
67
67
  Create a [`biome.json`](https://biomejs.dev/reference/configuration)/
68
68
  `biome.jsonc` file
69
69
  and [extend](https://biomejs.dev/guides/configure-biome/#share-a-configuration-file)
70
- `@rainstormy/presets-biome/2.2` to enable the opinionated formatting and linting
70
+ `@rainstormy/presets-biome/2.3` to enable the opinionated formatting and linting
71
71
  configuration in general:
72
72
 
73
73
  ```json
74
74
  {
75
75
  "extends": [
76
- "@rainstormy/presets-biome/2.2"
76
+ "@rainstormy/presets-biome/2.3"
77
77
  ]
78
78
  }
79
79
  ```
@@ -83,9 +83,9 @@ override the presets as needed. For example:
83
83
 
84
84
  ```json
85
85
  {
86
- "$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
86
+ "$schema": "https://biomejs.dev/schemas/2.3.0/schema.json",
87
87
  "extends": [
88
- "@rainstormy/presets-biome/2.2"
88
+ "@rainstormy/presets-biome/2.3"
89
89
  ],
90
90
  "files": {
91
91
  "includes": [
@@ -142,14 +142,14 @@ override the presets as needed. For example:
142
142
  > in `extends`.
143
143
 
144
144
  ### [Next.js](https://nextjs.org)
145
- Add `@rainstormy/presets-biome/2.2/nextjs` to the `extends` array to support the
145
+ Add `@rainstormy/presets-biome/2.3/nextjs` to the `extends` array to support the
146
146
  app router and React components in Next.js apps:
147
147
 
148
148
  ```json
149
149
  {
150
150
  "extends": [
151
- "@rainstormy/presets-biome/2.2",
152
- "@rainstormy/presets-biome/2.2/nextjs"
151
+ "@rainstormy/presets-biome/2.3",
152
+ "@rainstormy/presets-biome/2.3/nextjs"
153
153
  ]
154
154
  }
155
155
  ```
@@ -161,14 +161,14 @@ Next.js app router to improve the overall maintainability and scalability of the
161
161
  project.
162
162
 
163
163
  ### [React Router](https://reactrouter.com)
164
- Add `@rainstormy/presets-biome/2.2/react-router` to the `extends` array to
164
+ Add `@rainstormy/presets-biome/2.3/react-router` to the `extends` array to
165
165
  support file routes and React components in React Router apps:
166
166
 
167
167
  ```json
168
168
  {
169
169
  "extends": [
170
- "@rainstormy/presets-biome/2.2",
171
- "@rainstormy/presets-biome/2.2/react-router"
170
+ "@rainstormy/presets-biome/2.3",
171
+ "@rainstormy/presets-biome/2.3/react-router"
172
172
  ]
173
173
  }
174
174
  ```
@@ -177,7 +177,7 @@ The `routes` directory and the `root.tsx` and `routes.ts` files must reside in
177
177
  the `src` directory.
178
178
 
179
179
  ### [Storybook](https://storybook.js.org)
180
- Add `@rainstormy/presets-biome/2.2/storybook` to the `extends` array to support
180
+ Add `@rainstormy/presets-biome/2.3/storybook` to the `extends` array to support
181
181
  the following kinds of files in Storybook (naming convention in parentheses):
182
182
 
183
183
  - Stories based on
@@ -189,8 +189,8 @@ the following kinds of files in Storybook (naming convention in parentheses):
189
189
  ```json
190
190
  {
191
191
  "extends": [
192
- "@rainstormy/presets-biome/2.2",
193
- "@rainstormy/presets-biome/2.2/storybook"
192
+ "@rainstormy/presets-biome/2.3",
193
+ "@rainstormy/presets-biome/2.3/storybook"
194
194
  ]
195
195
  }
196
196
  ```
@@ -216,7 +216,7 @@ Stories must remain simple in terms of cognitive complexity, limiting the use of
216
216
  conditional logic.
217
217
 
218
218
  ### [Vitest](https://vitest.dev)
219
- Add `@rainstormy/presets-biome/2.2/vitest` to the `extends` array to support the
219
+ Add `@rainstormy/presets-biome/2.3/vitest` to the `extends` array to support the
220
220
  following kinds of files in Vitest (naming convention in parentheses):
221
221
 
222
222
  - Unit test suites (`*.tests.{ts,tsx}`)
@@ -226,8 +226,8 @@ following kinds of files in Vitest (naming convention in parentheses):
226
226
  ```json
227
227
  {
228
228
  "extends": [
229
- "@rainstormy/presets-biome/2.2",
230
- "@rainstormy/presets-biome/2.2/vitest"
229
+ "@rainstormy/presets-biome/2.3",
230
+ "@rainstormy/presets-biome/2.3/vitest"
231
231
  ]
232
232
  }
233
233
  ```
@@ -236,6 +236,10 @@ To reduce the likelihood of buggy tests, test files must remain simple in terms
236
236
  of cognitive complexity, limiting the use of conditional logic.
237
237
 
238
238
  ### Eject from the preset
239
- Copy the relevant parts of
240
- the [preset source files](https://github.com/rainstormy/presets-biome/tree/main/src/2.2)
241
- and insert them directly into the `biome.json` file. Make adjustments as needed.
239
+ Copy the relevant parts of the distributed JSON files (see links below) and
240
+ insert them directly into your `biome.json` file. Uninstall the
241
+ `@rainstormy/presets-biome` package and remove it from the `extends` array. Make
242
+ adjustments to the rules as needed.
243
+
244
+ - [Biome 2.2.7](https://github.com/rainstormy/presets-biome/blob/main/dist/2.2)
245
+ - [Biome 2.3.0](https://github.com/rainstormy/presets-biome/blob/main/dist/2.3)
@@ -1 +1 @@
1
- {"css":{"formatter":{"enabled":true},"linter":{"enabled":true}},"grit":{"formatter":{"enabled":true}},"html":{"formatter":{"enabled":true}},"javascript":{"formatter":{"semicolons":"asNeeded"}},"assist":{"actions":{"source":{"organizeImports":{"level":"on","options":{"groups":[["**/*.mocks","**/*.mocks.*"],":URL:",[":BUN:",":NODE:",":PACKAGE_WITH_PROTOCOL:"],":PACKAGE:",":ALIAS:",":PATH:"]}}}}},"formatter":{"useEditorconfig":true},"linter":{"rules":{"a11y":{"noAccessKey":"warn","noAriaHiddenOnFocusable":"warn","noAriaUnsupportedElements":"warn","noAutofocus":"warn","noDistractingElements":"warn","noHeaderScope":"warn","noInteractiveElementToNoninteractiveRole":"warn","noLabelWithoutControl":"warn","noNoninteractiveElementInteractions":"warn","noNoninteractiveElementToInteractiveRole":"warn","noNoninteractiveTabindex":"warn","noPositiveTabindex":"warn","noRedundantAlt":"warn","noRedundantRoles":"warn","noStaticElementInteractions":"warn","noSvgWithoutTitle":"warn","useAltText":"warn","useAnchorContent":"warn","useAriaActivedescendantWithTabindex":"warn","useAriaPropsForRole":"warn","useAriaPropsSupportedByRole":"warn","useButtonType":"warn","useFocusableInteractive":"warn","useGenericFontNames":"warn","useHeadingContent":"warn","useHtmlLang":"warn","useIframeTitle":"warn","useKeyWithClickEvents":"warn","useKeyWithMouseEvents":"warn","useMediaCaption":"warn","useSemanticElements":"warn","useValidAnchor":"warn","useValidAriaProps":"warn","useValidAriaRole":"warn","useValidAriaValues":"warn","useValidAutocomplete":"warn","useValidLang":"warn"},"complexity":{"noAdjacentSpacesInRegex":"warn","noArguments":"warn","noBannedTypes":"warn","noCommaOperator":"warn","noEmptyTypeParameters":"warn","noExcessiveCognitiveComplexity":"warn","noExcessiveLinesPerFunction":"off","noExcessiveNestedTestSuites":"off","noExtraBooleanCast":"warn","noFlatMapIdentity":"warn","noForEach":"warn","noImplicitCoercions":"warn","noImportantStyles":"warn","noStaticOnlyClass":"warn","noThisInStatic":"warn","noUselessCatch":"warn","noUselessConstructor":"warn","noUselessContinue":"warn","noUselessEmptyExport":"warn","noUselessEscapeInRegex":"warn","noUselessFragments":"warn","noUselessLabel":"warn","noUselessLoneBlockStatements":"warn","noUselessRename":"warn","noUselessStringConcat":"warn","noUselessStringRaw":"warn","noUselessSwitchCase":"warn","noUselessTernary":"warn","noUselessThisAlias":"warn","noUselessTypeConstraint":"warn","noUselessUndefinedInitialization":"warn","noVoid":"warn","useArrowFunction":"warn","useDateNow":"warn","useFlatMap":"warn","useIndexOf":"warn","useLiteralKeys":"warn","useNumericLiterals":"warn","useOptionalChain":"warn","useRegexLiterals":"warn","useSimpleNumberKeys":"warn","useSimplifiedLogicExpression":"warn","useWhile":"warn"},"correctness":{"noChildrenProp":"warn","noConstAssign":"warn","noConstantCondition":"warn","noConstantMathMinMaxClamp":"warn","noConstructorReturn":"warn","noEmptyCharacterClassInRegex":"warn","noEmptyPattern":"warn","noGlobalDirnameFilename":"warn","noGlobalObjectCalls":"warn","noInnerDeclarations":"warn","noInvalidBuiltinInstantiation":"warn","noInvalidConstructorSuper":"warn","noInvalidDirectionInLinearGradient":"warn","noInvalidGridAreas":"warn","noInvalidPositionAtImportRule":"warn","noInvalidUseBeforeDeclaration":"warn","noMissingVarFunction":"warn","noNestedComponentDefinitions":"warn","noNodejsModules":"warn","noNonoctalDecimalEscape":"warn","noPrecisionLoss":"warn","noPrivateImports":"warn","noProcessGlobal":"warn","noReactPropAssignments":"warn","noRenderReturnValue":"warn","noRestrictedElements":"warn","noSelfAssign":"warn","noSetterReturn":"warn","noSolidDestructuredProps":"warn","noStringCaseMismatch":"warn","noSwitchDeclarations":"warn","noUndeclaredDependencies":{"level":"warn","options":{"devDependencies":false}},"noUndeclaredVariables":"warn","noUnknownFunction":"warn","noUnknownMediaFeatureName":"warn","noUnknownProperty":"warn","noUnknownPseudoClass":"warn","noUnknownPseudoElement":"warn","noUnknownTypeSelector":"warn","noUnknownUnit":"warn","noUnmatchableAnbSelector":"warn","noUnreachable":"warn","noUnreachableSuper":"warn","noUnsafeFinally":"warn","noUnsafeOptionalChaining":"warn","noUnusedFunctionParameters":"warn","noUnusedImports":{"level":"warn","fix":"safe","options":{}},"noUnusedLabels":"warn","noUnusedPrivateClassMembers":"warn","noUnusedVariables":"warn","noVoidElementsWithChildren":"warn","noVoidTypeReturn":"warn","useExhaustiveDependencies":"off","useGraphqlNamedOperations":"warn","useHookAtTopLevel":"off","useImportExtensions":"warn","useIsNan":"warn","useJsonImportAttributes":"warn","useJsxKeyInIterable":"warn","useParseIntRadix":"warn","useSingleJsDocAsterisk":"warn","useUniqueElementIds":"off","useValidForDirection":"warn","useValidTypeof":"warn","useYield":"warn"},"performance":{"noAccumulatingSpread":"warn","noAwaitInLoops":"warn","noBarrelFile":"warn","noDelete":"warn","noDynamicNamespaceImportAccess":"warn","noImgElement":"off","noNamespaceImport":"warn","noReExportAll":"warn","noUnwantedPolyfillio":"warn","useGoogleFontPreconnect":"warn","useSolidForComponent":"off","useTopLevelRegex":"warn"},"security":{"noBlankTarget":"warn","noDangerouslySetInnerHtml":"warn","noDangerouslySetInnerHtmlWithChildren":"warn","noGlobalEval":"warn"},"style":{"noCommonJs":"warn","noDefaultExport":"warn","noDescendingSpecificity":"warn","noDoneCallback":"warn","noEnum":"warn","noExportedImports":"warn","noHeadElement":"warn","noImplicitBoolean":"off","noInferrableTypes":"warn","noMagicNumbers":"off","noNamespace":"warn","noNegationElse":"warn","noNestedTernary":"off","noNonNullAssertion":"warn","noParameterAssign":"warn","noParameterProperties":"warn","noProcessEnv":"warn","noRestrictedGlobals":"warn","noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["/**/*","**/./**/*","**/../**/*"],"message":"Prefer path aliases over relative paths in import statements."},{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["#/**/*"],"message":"Prefer namespaced path aliases (e.g. '#lib/*' and '#utilities/*') over a global wildcard path alias like '#/*'."},{"group":["@/**/*","~*/**/*","$*/**/*","%*/**/*","+*/**/*"],"message":"Prefer '#' as the prefix of path aliases."},{"group":["**/*.decorators","**/*.decorators.*"],"message":"Do not import story decorators in production code."},{"group":["**/*.fixtures","**/*.fixtures.*"],"message":"Do not import test fixtures in production code."},{"group":["**/*.mocks","**/*.mocks.*"],"message":"Do not import module mocks in production code."},{"group":["**/*.stories","**/*.stories.*"],"message":"Do not import stories in production code."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import tests in production code."}]}},"noRestrictedTypes":"warn","noShoutyConstants":"warn","noSubstr":"warn","noUnusedTemplateLiteral":"warn","noUselessElse":"warn","noValueAtRule":"warn","noYodaExpression":"warn","useArrayLiterals":"warn","useAsConstAssertion":"warn","useAtIndex":"warn","useBlockStatements":"warn","useCollapsedElseIf":"warn","useCollapsedIf":"warn","useComponentExportOnlyModules":"warn","useConsistentArrayType":{"level":"warn","fix":"safe","options":{"syntax":"generic"}},"useConsistentBuiltinInstantiation":"warn","useConsistentCurlyBraces":"warn","useConsistentMemberAccessibility":"warn","useConsistentObjectDefinitions":{"level":"warn","options":{"syntax":"shorthand"}},"useConst":"warn","useDefaultParameterLast":"warn","useDefaultSwitchClause":"off","useDeprecatedReason":"warn","useEnumInitializers":"warn","useExplicitLengthCheck":"warn","useExponentiationOperator":"warn","useExportType":"warn","useExportsLast":"off","useFilenamingConvention":{"level":"warn","options":{"filenameCases":["PascalCase"]}},"useForOf":"warn","useFragmentSyntax":"warn","useGraphqlNamingConvention":"warn","useGroupedAccessorPairs":"warn","useImportType":"warn","useLiteralEnumMembers":"warn","useNamingConvention":{"level":"warn","options":{"conventions":[{"selector":{"kind":"objectLiteralMember","scope":"any"},"match":".*"}]}},"useNodeAssertStrict":"warn","useNodejsImportProtocol":"warn","useNumberNamespace":"warn","useNumericSeparators":"warn","useObjectSpread":"warn","useReadonlyClassProperties":"warn","useSelfClosingElements":"warn","useShorthandAssign":"warn","useShorthandFunctionType":"warn","useSingleVarDeclarator":"warn","useSymbolDescription":"warn","useTemplate":"warn","useThrowNewError":"warn","useThrowOnlyError":"warn","useTrimStartEnd":"warn","useUnifiedTypeSignatures":"warn"},"suspicious":{"noAlert":"warn","noApproximativeNumericConstant":"warn","noArrayIndexKey":"warn","noAssignInExpressions":"warn","noAsyncPromiseExecutor":"warn","noBiomeFirstException":"warn","noBitwiseOperators":"warn","noCatchAssign":"warn","noClassAssign":"warn","noCommentText":"warn","noCompareNegZero":"warn","noConfusingLabels":"warn","noConfusingVoidType":"warn","noConsole":"warn","noConstEnum":"warn","noConstantBinaryExpressions":"warn","noControlCharactersInRegex":"warn","noDebugger":"warn","noDocumentCookie":"warn","noDocumentImportInPage":"warn","noDoubleEquals":"warn","noDuplicateAtImportRules":"warn","noDuplicateCase":"warn","noDuplicateClassMembers":"warn","noDuplicateCustomProperties":"warn","noDuplicateElseIf":"warn","noDuplicateFields":"warn","noDuplicateFontNames":"warn","noDuplicateJsxProps":"warn","noDuplicateObjectKeys":"warn","noDuplicateParameters":"warn","noDuplicateProperties":"warn","noDuplicateSelectorsKeyframeBlock":"warn","noDuplicateTestHooks":"off","noEmptyBlock":"warn","noEmptyBlockStatements":"warn","noEmptyInterface":"warn","noEvolvingTypes":"warn","noExplicitAny":"warn","noExportsInTest":"off","noExtraNonNullAssertion":"warn","noFallthroughSwitchClause":"warn","noFocusedTests":"off","noFunctionAssign":"warn","noGlobalAssign":"warn","noGlobalIsFinite":"warn","noGlobalIsNan":"warn","noHeadImportInDocument":"warn","noImplicitAnyLet":"warn","noImportAssign":"warn","noImportantInKeyframe":"warn","noIrregularWhitespace":"warn","noLabelVar":"warn","noMisleadingCharacterClass":"warn","noMisleadingInstantiator":"warn","noMisplacedAssertion":"warn","noMisrefactoredShorthandAssign":"warn","noOctalEscape":"warn","noPrototypeBuiltins":"warn","noQuickfixBiome":"warn","noReactSpecificProps":"warn","noRedeclare":"warn","noRedundantUseStrict":"warn","noSelfCompare":"warn","noShadowRestrictedNames":"warn","noShorthandPropertyOverrides":"warn","noSkippedTests":"warn","noSparseArray":"warn","noSuspiciousSemicolonInJsx":"warn","noTemplateCurlyInString":"warn","noThenProperty":"warn","noTsIgnore":"warn","noUnassignedVariables":"warn","noUnknownAtRules":"warn","noUnsafeDeclarationMerging":"warn","noUnsafeNegation":"warn","noUselessEscapeInString":"warn","noUselessRegexBackrefs":"warn","noVar":"warn","noWith":"warn","useAdjacentOverloadSignatures":"warn","useAwait":"off","useBiomeIgnoreFolder":"warn","useDefaultSwitchClauseLast":"warn","useErrorMessage":"warn","useGetterReturn":"warn","useGoogleFontDisplay":"warn","useGuardForIn":"warn","useIsArray":"warn","useIterableCallbackReturn":"off","useNamespaceKeyword":"warn","useNumberToFixedDigitsArgument":"warn","useStaticResponseMethods":"warn","useStrictMode":"warn"},"nursery":{"noDeprecatedImports":"warn","noDuplicateDependencies":"warn","noFloatingPromises":"warn","noImportCycles":"warn","noJsxLiterals":"off","noMisusedPromises":"warn","noNextAsyncClientComponent":"off","noNonNullAssertedOptionalChain":"warn","noQwikUseVisibleTask":"off","noReactForwardRef":"off","noSecrets":"off","noShadow":"warn","noUnnecessaryConditions":"off","noUnresolvedImports":"off","noUnusedExpressions":"warn","noUselessCatchBinding":"warn","noUselessUndefined":"warn","noVueDataObjectDeclaration":"off","noVueDuplicateKeys":"off","noVueReservedKeys":"off","noVueReservedProps":"off","useAnchorHref":"warn","useConsistentArrowReturn":"warn","useConsistentTypeDefinitions":{"level":"warn","options":{"style":"type"}},"useDeprecatedDate":"warn","useExhaustiveSwitchCases":"warn","useExplicitType":"warn","useImageSize":"warn","useMaxParams":"warn","useQwikClasslist":"off","useQwikMethodUsage":"off","useQwikValidLexicalScope":"off","useReactFunctionComponents":"warn","useSortedClasses":{"level":"warn","fix":"safe","options":{"functions":["clsx","cn","cva","cx","tw","tw.*"]}},"useVueMultiWordComponentNames":"off"}}},"overrides":[{"includes":["src/**/*.d.ts"],"linter":{"rules":{"style":{"useNamingConvention":{"level":"warn","options":{"conventions":[{"selector":{"kind":"typeProperty","scope":"any"},"match":".*"}],"strictCase":false}}},"nursery":{"useConsistentTypeDefinitions":"off"}}}},{"includes":["*.config.{js,ts}"],"linter":{"rules":{"correctness":{"noNodejsModules":"off","noUndeclaredDependencies":{"level":"warn","options":{"devDependencies":true}}},"performance":{"useTopLevelRegex":"off"},"style":{"noDefaultExport":"off","useFilenamingConvention":{"level":"warn","options":{"filenameCases":["kebab-case"]}},"noProcessEnv":"off"}}}}]}
1
+ {"css":{"formatter":{"enabled":true},"linter":{"enabled":true}},"grit":{"formatter":{"enabled":true}},"html":{"formatter":{"enabled":true}},"javascript":{"formatter":{"semicolons":"asNeeded"}},"assist":{"actions":{"source":{"organizeImports":{"level":"on","options":{"groups":[["**/*.mocks","**/*.mocks.*"],":URL:",[":BUN:",":NODE:",":PACKAGE_WITH_PROTOCOL:"],":PACKAGE:",":ALIAS:",":PATH:"]}}}}},"formatter":{"useEditorconfig":true},"linter":{"rules":{"a11y":{"noAccessKey":"warn","noAriaHiddenOnFocusable":"warn","noAriaUnsupportedElements":"warn","noAutofocus":"warn","noDistractingElements":"warn","noHeaderScope":"warn","noInteractiveElementToNoninteractiveRole":"warn","noLabelWithoutControl":"warn","noNoninteractiveElementInteractions":"warn","noNoninteractiveElementToInteractiveRole":"warn","noNoninteractiveTabindex":"warn","noPositiveTabindex":"warn","noRedundantAlt":"warn","noRedundantRoles":"warn","noStaticElementInteractions":"warn","noSvgWithoutTitle":"warn","useAltText":"warn","useAnchorContent":"warn","useAriaActivedescendantWithTabindex":"warn","useAriaPropsForRole":"warn","useAriaPropsSupportedByRole":"warn","useButtonType":"warn","useFocusableInteractive":"warn","useGenericFontNames":"warn","useHeadingContent":"warn","useHtmlLang":"warn","useIframeTitle":"warn","useKeyWithClickEvents":"warn","useKeyWithMouseEvents":"warn","useMediaCaption":"warn","useSemanticElements":"warn","useValidAnchor":"warn","useValidAriaProps":"warn","useValidAriaRole":"warn","useValidAriaValues":"warn","useValidAutocomplete":"warn","useValidLang":"warn"},"complexity":{"noAdjacentSpacesInRegex":"warn","noArguments":"warn","noBannedTypes":"warn","noCommaOperator":"warn","noEmptyTypeParameters":"warn","noExcessiveCognitiveComplexity":"warn","noExcessiveLinesPerFunction":"off","noExcessiveNestedTestSuites":"off","noExtraBooleanCast":"warn","noFlatMapIdentity":"warn","noForEach":"warn","noImplicitCoercions":"warn","noImportantStyles":"warn","noStaticOnlyClass":"warn","noThisInStatic":"warn","noUselessCatch":"warn","noUselessConstructor":"warn","noUselessContinue":"warn","noUselessEmptyExport":"warn","noUselessEscapeInRegex":"warn","noUselessFragments":"warn","noUselessLabel":"warn","noUselessLoneBlockStatements":"warn","noUselessRename":"warn","noUselessStringConcat":"warn","noUselessStringRaw":"warn","noUselessSwitchCase":"warn","noUselessTernary":"warn","noUselessThisAlias":"warn","noUselessTypeConstraint":"warn","noUselessUndefinedInitialization":"warn","noVoid":"warn","useArrowFunction":"warn","useDateNow":"warn","useFlatMap":"warn","useIndexOf":"warn","useLiteralKeys":"warn","useNumericLiterals":"warn","useOptionalChain":"warn","useRegexLiterals":"warn","useSimpleNumberKeys":"warn","useSimplifiedLogicExpression":"warn","useWhile":"warn"},"correctness":{"noChildrenProp":"warn","noConstAssign":"warn","noConstantCondition":"warn","noConstantMathMinMaxClamp":"warn","noConstructorReturn":"warn","noEmptyCharacterClassInRegex":"warn","noEmptyPattern":"warn","noGlobalDirnameFilename":"warn","noGlobalObjectCalls":"warn","noInnerDeclarations":"warn","noInvalidBuiltinInstantiation":"warn","noInvalidConstructorSuper":"warn","noInvalidDirectionInLinearGradient":"warn","noInvalidGridAreas":"warn","noInvalidPositionAtImportRule":"warn","noInvalidUseBeforeDeclaration":"warn","noMissingVarFunction":"warn","noNestedComponentDefinitions":"warn","noNodejsModules":"warn","noNonoctalDecimalEscape":"warn","noPrecisionLoss":"warn","noPrivateImports":"warn","noProcessGlobal":"warn","noReactPropAssignments":"warn","noRenderReturnValue":"warn","noRestrictedElements":"warn","noSelfAssign":"warn","noSetterReturn":"warn","noSolidDestructuredProps":"warn","noStringCaseMismatch":"warn","noSwitchDeclarations":"warn","noUndeclaredDependencies":{"level":"warn","options":{"devDependencies":false}},"noUndeclaredVariables":"warn","noUnknownFunction":"warn","noUnknownMediaFeatureName":"warn","noUnknownProperty":"warn","noUnknownPseudoClass":"warn","noUnknownPseudoElement":"warn","noUnknownTypeSelector":"warn","noUnknownUnit":"warn","noUnmatchableAnbSelector":"warn","noUnreachable":"warn","noUnreachableSuper":"warn","noUnsafeFinally":"warn","noUnsafeOptionalChaining":"warn","noUnusedFunctionParameters":"warn","noUnusedImports":{"level":"warn","fix":"safe","options":{}},"noUnusedLabels":"warn","noUnusedPrivateClassMembers":"warn","noUnusedVariables":"warn","noVoidElementsWithChildren":"warn","noVoidTypeReturn":"warn","useExhaustiveDependencies":"off","useGraphqlNamedOperations":"warn","useHookAtTopLevel":"off","useImportExtensions":"warn","useIsNan":"warn","useJsonImportAttributes":"warn","useJsxKeyInIterable":"warn","useParseIntRadix":"warn","useSingleJsDocAsterisk":"warn","useUniqueElementIds":"off","useValidForDirection":"warn","useValidTypeof":"warn","useYield":"warn"},"performance":{"noAccumulatingSpread":"warn","noAwaitInLoops":"warn","noBarrelFile":"warn","noDelete":"warn","noDynamicNamespaceImportAccess":"warn","noImgElement":"off","noNamespaceImport":"warn","noReExportAll":"warn","noUnwantedPolyfillio":"warn","useGoogleFontPreconnect":"warn","useSolidForComponent":"off","useTopLevelRegex":"warn"},"security":{"noBlankTarget":"warn","noDangerouslySetInnerHtml":"warn","noDangerouslySetInnerHtmlWithChildren":"warn","noGlobalEval":"warn"},"style":{"noCommonJs":"warn","noDefaultExport":"warn","noDescendingSpecificity":"warn","noDoneCallback":"warn","noEnum":"warn","noExportedImports":"warn","noHeadElement":"warn","noImplicitBoolean":"off","noInferrableTypes":"warn","noMagicNumbers":"off","noNamespace":"warn","noNegationElse":"warn","noNestedTernary":"off","noNonNullAssertion":"warn","noParameterAssign":"warn","noParameterProperties":"warn","noProcessEnv":"warn","noRestrictedGlobals":"warn","noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["/**/*","**/./**/*","**/../**/*"],"message":"Prefer path aliases over relative paths in import statements."},{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["#/**/*"],"message":"Prefer namespaced path aliases (e.g. '#lib/*' and '#utilities/*') over a global wildcard path alias like '#/*'."},{"group":["@/**/*","~*/**/*","$*/**/*","%*/**/*","+*/**/*"],"message":"Prefer '#' as the prefix of path aliases."},{"group":["**/*.decorators","**/*.decorators.*"],"message":"Do not import story decorators in production code."},{"group":["**/*.fixtures","**/*.fixtures.*"],"message":"Do not import test fixtures in production code."},{"group":["**/*.mocks","**/*.mocks.*"],"message":"Do not import module mocks in production code."},{"group":["**/*.stories","**/*.stories.*"],"message":"Do not import stories in production code."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import tests in production code."}]}},"noRestrictedTypes":"warn","noShoutyConstants":"warn","noSubstr":"warn","noUnusedTemplateLiteral":"warn","noUselessElse":"warn","noValueAtRule":"warn","noYodaExpression":"warn","useArrayLiterals":"warn","useAsConstAssertion":"warn","useAtIndex":"warn","useBlockStatements":"warn","useCollapsedElseIf":"warn","useCollapsedIf":"warn","useComponentExportOnlyModules":"warn","useConsistentArrayType":{"level":"warn","fix":"safe","options":{"syntax":"generic"}},"useConsistentBuiltinInstantiation":"warn","useConsistentCurlyBraces":"warn","useConsistentMemberAccessibility":"warn","useConsistentObjectDefinitions":{"level":"warn","options":{"syntax":"shorthand"}},"useConst":"warn","useDefaultParameterLast":"warn","useDefaultSwitchClause":"off","useDeprecatedReason":"warn","useEnumInitializers":"warn","useExplicitLengthCheck":"warn","useExponentiationOperator":"warn","useExportType":"warn","useExportsLast":"off","useFilenamingConvention":{"level":"warn","options":{"filenameCases":["PascalCase"]}},"useForOf":"warn","useFragmentSyntax":"warn","useGraphqlNamingConvention":"warn","useGroupedAccessorPairs":"warn","useImportType":"warn","useLiteralEnumMembers":"warn","useNamingConvention":{"level":"warn","options":{"conventions":[{"selector":{"kind":"objectLiteralMember","scope":"any"},"match":".*"}]}},"useNodeAssertStrict":"warn","useNodejsImportProtocol":"warn","useNumberNamespace":"warn","useNumericSeparators":"warn","useObjectSpread":"warn","useReadonlyClassProperties":"warn","useSelfClosingElements":"warn","useShorthandAssign":"warn","useShorthandFunctionType":"warn","useSingleVarDeclarator":"warn","useSymbolDescription":"warn","useTemplate":"warn","useThrowNewError":"warn","useThrowOnlyError":"warn","useTrimStartEnd":"warn","useUnifiedTypeSignatures":"warn"},"suspicious":{"noAlert":"warn","noApproximativeNumericConstant":"warn","noArrayIndexKey":"warn","noAssignInExpressions":"warn","noAsyncPromiseExecutor":"warn","noBiomeFirstException":"warn","noBitwiseOperators":"warn","noCatchAssign":"warn","noClassAssign":"warn","noCommentText":"warn","noCompareNegZero":"warn","noConfusingLabels":"warn","noConfusingVoidType":"warn","noConsole":"warn","noConstEnum":"warn","noConstantBinaryExpressions":"warn","noControlCharactersInRegex":"warn","noDebugger":"warn","noDocumentCookie":"warn","noDocumentImportInPage":"warn","noDoubleEquals":"warn","noDuplicateAtImportRules":"warn","noDuplicateCase":"warn","noDuplicateClassMembers":"warn","noDuplicateCustomProperties":"warn","noDuplicateElseIf":"warn","noDuplicateFields":"warn","noDuplicateFontNames":"warn","noDuplicateJsxProps":"warn","noDuplicateObjectKeys":"warn","noDuplicateParameters":"warn","noDuplicateProperties":"warn","noDuplicateSelectorsKeyframeBlock":"warn","noDuplicateTestHooks":"off","noEmptyBlock":"warn","noEmptyBlockStatements":"warn","noEmptyInterface":"warn","noEvolvingTypes":"warn","noExplicitAny":"warn","noExportsInTest":"off","noExtraNonNullAssertion":"warn","noFallthroughSwitchClause":"warn","noFocusedTests":"off","noFunctionAssign":"warn","noGlobalAssign":"warn","noGlobalIsFinite":"warn","noGlobalIsNan":"warn","noHeadImportInDocument":"warn","noImplicitAnyLet":"warn","noImportAssign":"warn","noImportantInKeyframe":"warn","noIrregularWhitespace":"warn","noLabelVar":"warn","noMisleadingCharacterClass":"warn","noMisleadingInstantiator":"warn","noMisplacedAssertion":"warn","noMisrefactoredShorthandAssign":"warn","noOctalEscape":"warn","noPrototypeBuiltins":"warn","noQuickfixBiome":"warn","noReactSpecificProps":"warn","noRedeclare":"warn","noRedundantUseStrict":"warn","noSelfCompare":"warn","noShadowRestrictedNames":"warn","noShorthandPropertyOverrides":"warn","noSkippedTests":"warn","noSparseArray":"warn","noSuspiciousSemicolonInJsx":"warn","noTemplateCurlyInString":"warn","noThenProperty":"warn","noTsIgnore":"warn","noUnassignedVariables":"warn","noUnknownAtRules":"warn","noUnsafeDeclarationMerging":"warn","noUnsafeNegation":"warn","noUselessEscapeInString":"warn","noUselessRegexBackrefs":"warn","noVar":"warn","noWith":"warn","useAdjacentOverloadSignatures":"warn","useAwait":"off","useBiomeIgnoreFolder":"warn","useDefaultSwitchClauseLast":"warn","useErrorMessage":"warn","useGetterReturn":"warn","useGoogleFontDisplay":"warn","useGuardForIn":"warn","useIsArray":"warn","useIterableCallbackReturn":"off","useNamespaceKeyword":"warn","useNumberToFixedDigitsArgument":"warn","useStaticResponseMethods":"warn","useStrictMode":"warn"},"nursery":{"noDeprecatedImports":"warn","noDuplicateDependencies":"warn","noEmptySource":"warn","noFloatingPromises":"warn","noImportCycles":"warn","noJsxLiterals":"off","noMisusedPromises":"warn","noNextAsyncClientComponent":"off","noNonNullAssertedOptionalChain":"warn","noQwikUseVisibleTask":"off","noReactForwardRef":"off","noSecrets":"off","noShadow":"warn","noUnnecessaryConditions":"off","noUnresolvedImports":"off","noUnusedExpressions":"warn","noUselessCatchBinding":"warn","noUselessUndefined":"warn","noVueDataObjectDeclaration":"off","noVueDuplicateKeys":"off","noVueReservedKeys":"off","noVueReservedProps":"off","useAnchorHref":"warn","useConsistentArrowReturn":"warn","useConsistentTypeDefinitions":{"level":"warn","options":{"style":"type"}},"useDeprecatedDate":"warn","useExhaustiveSwitchCases":"warn","useExplicitType":"warn","useImageSize":"warn","useMaxParams":"warn","useQwikClasslist":"off","useQwikMethodUsage":"off","useQwikValidLexicalScope":"off","useReactFunctionComponents":"warn","useSortedClasses":{"level":"warn","fix":"safe","options":{"functions":["clsx","cn","cva","cx","tw","tw.*"]}},"useVueMultiWordComponentNames":"off"}}},"overrides":[{"includes":["src/**/*.d.ts"],"linter":{"rules":{"style":{"useNamingConvention":{"level":"warn","options":{"conventions":[{"selector":{"kind":"typeProperty","scope":"any"},"match":".*"}],"strictCase":false}}},"nursery":{"useConsistentTypeDefinitions":"off"}}}},{"includes":["*.config.{js,ts}"],"linter":{"rules":{"correctness":{"noNodejsModules":"off","noUndeclaredDependencies":{"level":"warn","options":{"devDependencies":true}}},"performance":{"useTopLevelRegex":"off"},"style":{"noDefaultExport":"off","useFilenamingConvention":{"level":"warn","options":{"filenameCases":["kebab-case"]}},"noProcessEnv":"off"}}}}]}
@@ -0,0 +1 @@
1
+ {"css":{"formatter":{"enabled":true},"linter":{"enabled":true}},"grit":{"formatter":{"enabled":true}},"html":{"formatter":{"enabled":true}},"javascript":{"formatter":{"semicolons":"asNeeded"}},"assist":{"actions":{"source":{"organizeImports":{"level":"on","options":{"groups":[["**/*.mocks","**/*.mocks.*"],":URL:",[":BUN:",":NODE:",":PACKAGE_WITH_PROTOCOL:"],":PACKAGE:",":ALIAS:",":PATH:"]}}}}},"formatter":{"useEditorconfig":true},"linter":{"rules":{"a11y":{"noAccessKey":"warn","noAriaHiddenOnFocusable":"warn","noAriaUnsupportedElements":"warn","noAutofocus":"warn","noDistractingElements":"warn","noHeaderScope":"warn","noInteractiveElementToNoninteractiveRole":"warn","noLabelWithoutControl":"warn","noNoninteractiveElementInteractions":"warn","noNoninteractiveElementToInteractiveRole":"warn","noNoninteractiveTabindex":"warn","noPositiveTabindex":"warn","noRedundantAlt":"warn","noRedundantRoles":"warn","noStaticElementInteractions":"warn","noSvgWithoutTitle":"warn","useAltText":"warn","useAnchorContent":"warn","useAriaActivedescendantWithTabindex":"warn","useAriaPropsForRole":"warn","useAriaPropsSupportedByRole":"warn","useButtonType":"warn","useFocusableInteractive":"warn","useGenericFontNames":"warn","useHeadingContent":"warn","useHtmlLang":"warn","useIframeTitle":"warn","useKeyWithClickEvents":"warn","useKeyWithMouseEvents":"warn","useMediaCaption":"warn","useSemanticElements":"warn","useValidAnchor":"warn","useValidAriaProps":"warn","useValidAriaRole":"warn","useValidAriaValues":"warn","useValidAutocomplete":"warn","useValidLang":"warn"},"complexity":{"noAdjacentSpacesInRegex":"warn","noArguments":"warn","noBannedTypes":"warn","noCommaOperator":"warn","noEmptyTypeParameters":"warn","noExcessiveCognitiveComplexity":"warn","noExcessiveLinesPerFunction":"off","noExcessiveNestedTestSuites":"off","noExtraBooleanCast":"warn","noFlatMapIdentity":"warn","noForEach":"warn","noImplicitCoercions":"warn","noImportantStyles":"warn","noStaticOnlyClass":"warn","noThisInStatic":"warn","noUselessCatch":"warn","noUselessConstructor":"warn","noUselessContinue":"warn","noUselessEmptyExport":"warn","noUselessEscapeInRegex":"warn","noUselessFragments":"warn","noUselessLabel":"warn","noUselessLoneBlockStatements":"warn","noUselessRename":"warn","noUselessStringConcat":"warn","noUselessStringRaw":"warn","noUselessSwitchCase":"warn","noUselessTernary":"warn","noUselessThisAlias":"warn","noUselessTypeConstraint":"warn","noUselessUndefinedInitialization":"warn","noVoid":"warn","useArrowFunction":"warn","useDateNow":"warn","useFlatMap":"warn","useIndexOf":"warn","useLiteralKeys":"warn","useNumericLiterals":"warn","useOptionalChain":"warn","useRegexLiterals":"warn","useSimpleNumberKeys":"warn","useSimplifiedLogicExpression":"warn","useWhile":"warn"},"correctness":{"noChildrenProp":"warn","noConstAssign":"warn","noConstantCondition":"warn","noConstantMathMinMaxClamp":"warn","noConstructorReturn":"warn","noEmptyCharacterClassInRegex":"warn","noEmptyPattern":"warn","noGlobalDirnameFilename":"warn","noGlobalObjectCalls":"warn","noInnerDeclarations":"warn","noInvalidBuiltinInstantiation":"warn","noInvalidConstructorSuper":"warn","noInvalidDirectionInLinearGradient":"warn","noInvalidGridAreas":"warn","noInvalidPositionAtImportRule":"warn","noInvalidUseBeforeDeclaration":"warn","noMissingVarFunction":"warn","noNestedComponentDefinitions":"warn","noNodejsModules":"warn","noNonoctalDecimalEscape":"warn","noPrecisionLoss":"warn","noPrivateImports":"warn","noProcessGlobal":"warn","noQwikUseVisibleTask":"off","noReactPropAssignments":"warn","noRenderReturnValue":"warn","noRestrictedElements":"warn","noSelfAssign":"warn","noSetterReturn":"warn","noSolidDestructuredProps":"warn","noStringCaseMismatch":"warn","noSwitchDeclarations":"warn","noUndeclaredDependencies":{"level":"warn","options":{"devDependencies":false}},"noUndeclaredVariables":"warn","noUnknownFunction":"warn","noUnknownMediaFeatureName":"warn","noUnknownProperty":"warn","noUnknownPseudoClass":"warn","noUnknownPseudoElement":"warn","noUnknownTypeSelector":"warn","noUnknownUnit":"warn","noUnmatchableAnbSelector":"warn","noUnreachable":"warn","noUnreachableSuper":"warn","noUnsafeFinally":"warn","noUnsafeOptionalChaining":"warn","noUnusedFunctionParameters":"warn","noUnusedImports":{"level":"warn","fix":"safe","options":{}},"noUnusedLabels":"warn","noUnusedPrivateClassMembers":"warn","noUnusedVariables":"warn","noVoidElementsWithChildren":"warn","noVoidTypeReturn":"warn","useExhaustiveDependencies":"off","useGraphqlNamedOperations":"warn","useHookAtTopLevel":"off","useImageSize":"warn","useImportExtensions":"warn","useIsNan":"warn","useJsonImportAttributes":"warn","useJsxKeyInIterable":"warn","useParseIntRadix":"warn","useQwikClasslist":"off","useSingleJsDocAsterisk":"warn","useUniqueElementIds":"off","useValidForDirection":"warn","useValidTypeof":"warn","useYield":"warn"},"performance":{"noAccumulatingSpread":"warn","noAwaitInLoops":"warn","noBarrelFile":"warn","noDelete":"warn","noDynamicNamespaceImportAccess":"warn","noImgElement":"off","noNamespaceImport":"warn","noReExportAll":"warn","noUnwantedPolyfillio":"warn","useGoogleFontPreconnect":"warn","useSolidForComponent":"off","useTopLevelRegex":"warn"},"security":{"noBlankTarget":"warn","noDangerouslySetInnerHtml":"warn","noDangerouslySetInnerHtmlWithChildren":"warn","noGlobalEval":"warn","noSecrets":"off"},"style":{"noCommonJs":"warn","noDefaultExport":"warn","noDescendingSpecificity":"warn","noDoneCallback":"warn","noEnum":"warn","noExportedImports":"warn","noHeadElement":"warn","noImplicitBoolean":"off","noInferrableTypes":"warn","noMagicNumbers":"off","noNamespace":"warn","noNegationElse":"warn","noNestedTernary":"off","noNonNullAssertion":"warn","noParameterAssign":"warn","noParameterProperties":"warn","noProcessEnv":"warn","noRestrictedGlobals":"warn","noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["/**/*","**/./**/*","**/../**/*"],"message":"Prefer path aliases over relative paths in import statements."},{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["#/**/*"],"message":"Prefer namespaced path aliases (e.g. '#lib/*' and '#utilities/*') over a global wildcard path alias like '#/*'."},{"group":["@/**/*","~*/**/*","$*/**/*","%*/**/*","+*/**/*"],"message":"Prefer '#' as the prefix of path aliases."},{"group":["**/*.decorators","**/*.decorators.*"],"message":"Do not import story decorators in production code."},{"group":["**/*.fixtures","**/*.fixtures.*"],"message":"Do not import test fixtures in production code."},{"group":["**/*.mocks","**/*.mocks.*"],"message":"Do not import module mocks in production code."},{"group":["**/*.stories","**/*.stories.*"],"message":"Do not import stories in production code."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import tests in production code."}]}},"noRestrictedTypes":"warn","noShoutyConstants":"warn","noSubstr":"warn","noUnusedTemplateLiteral":"warn","noUselessElse":"warn","noValueAtRule":"warn","noYodaExpression":"warn","useArrayLiterals":"warn","useAsConstAssertion":"warn","useAtIndex":"warn","useBlockStatements":"warn","useCollapsedElseIf":"warn","useCollapsedIf":"warn","useComponentExportOnlyModules":"warn","useConsistentArrayType":{"level":"warn","fix":"safe","options":{"syntax":"generic"}},"useConsistentBuiltinInstantiation":"warn","useConsistentCurlyBraces":"warn","useConsistentMemberAccessibility":"warn","useConsistentObjectDefinitions":{"level":"warn","options":{"syntax":"shorthand"}},"useConsistentTypeDefinitions":{"level":"warn","options":{"style":"type"}},"useConst":"warn","useDefaultParameterLast":"warn","useDefaultSwitchClause":"off","useDeprecatedReason":"warn","useEnumInitializers":"warn","useExplicitLengthCheck":"warn","useExponentiationOperator":"warn","useExportType":"warn","useExportsLast":"off","useFilenamingConvention":{"level":"warn","options":{"filenameCases":["PascalCase"]}},"useForOf":"warn","useFragmentSyntax":"warn","useGraphqlNamingConvention":"warn","useGroupedAccessorPairs":"warn","useImportType":"warn","useLiteralEnumMembers":"warn","useNamingConvention":{"level":"warn","options":{"conventions":[{"selector":{"kind":"objectLiteralMember","scope":"any"},"match":".*"}]}},"useNodeAssertStrict":"warn","useNodejsImportProtocol":"warn","useNumberNamespace":"warn","useNumericSeparators":"warn","useObjectSpread":"warn","useReactFunctionComponents":"off","useReadonlyClassProperties":"warn","useSelfClosingElements":"warn","useShorthandAssign":"warn","useShorthandFunctionType":"warn","useSingleVarDeclarator":"warn","useSymbolDescription":"warn","useTemplate":"warn","useThrowNewError":"warn","useThrowOnlyError":"warn","useTrimStartEnd":"warn","useUnifiedTypeSignatures":"warn"},"suspicious":{"noAlert":"warn","noApproximativeNumericConstant":"warn","noArrayIndexKey":"warn","noAssignInExpressions":"warn","noAsyncPromiseExecutor":"warn","noBiomeFirstException":"warn","noBitwiseOperators":"warn","noCatchAssign":"warn","noClassAssign":"warn","noCommentText":"warn","noCompareNegZero":"warn","noConfusingLabels":"warn","noConfusingVoidType":"warn","noConsole":"warn","noConstEnum":"warn","noConstantBinaryExpressions":"warn","noControlCharactersInRegex":"warn","noDebugger":"warn","noDocumentCookie":"warn","noDocumentImportInPage":"warn","noDoubleEquals":"warn","noDuplicateAtImportRules":"warn","noDuplicateCase":"warn","noDuplicateClassMembers":"warn","noDuplicateCustomProperties":"warn","noDuplicateElseIf":"warn","noDuplicateFields":"warn","noDuplicateFontNames":"warn","noDuplicateJsxProps":"warn","noDuplicateObjectKeys":"warn","noDuplicateParameters":"warn","noDuplicateProperties":"warn","noDuplicateSelectorsKeyframeBlock":"warn","noDuplicateTestHooks":"off","noEmptyBlock":"warn","noEmptyBlockStatements":"warn","noEmptyInterface":"warn","noEvolvingTypes":"warn","noExplicitAny":"warn","noExportsInTest":"off","noExtraNonNullAssertion":"warn","noFallthroughSwitchClause":"warn","noFocusedTests":"off","noFunctionAssign":"warn","noGlobalAssign":"warn","noGlobalIsFinite":"warn","noGlobalIsNan":"warn","noHeadImportInDocument":"warn","noImplicitAnyLet":"warn","noImportAssign":"warn","noImportantInKeyframe":"warn","noIrregularWhitespace":"warn","noLabelVar":"warn","noMisleadingCharacterClass":"warn","noMisleadingInstantiator":"warn","noMisplacedAssertion":"warn","noMisrefactoredShorthandAssign":"warn","noNonNullAssertedOptionalChain":"warn","noOctalEscape":"warn","noPrototypeBuiltins":"warn","noQuickfixBiome":"warn","noReactSpecificProps":"warn","noRedeclare":"warn","noRedundantUseStrict":"warn","noSelfCompare":"warn","noShadowRestrictedNames":"warn","noShorthandPropertyOverrides":"warn","noSkippedTests":"warn","noSparseArray":"warn","noSuspiciousSemicolonInJsx":"warn","noTemplateCurlyInString":"warn","noThenProperty":"warn","noTsIgnore":"warn","noUnassignedVariables":"warn","noUnknownAtRules":"warn","noUnsafeDeclarationMerging":"warn","noUnsafeNegation":"warn","noUselessEscapeInString":"warn","noUselessRegexBackrefs":"warn","noVar":"warn","noWith":"warn","useAdjacentOverloadSignatures":"warn","useAwait":"off","useBiomeIgnoreFolder":"warn","useDefaultSwitchClauseLast":"warn","useErrorMessage":"warn","useGetterReturn":"warn","useGoogleFontDisplay":"warn","useGuardForIn":"warn","useIsArray":"warn","useIterableCallbackReturn":"off","useNamespaceKeyword":"warn","useNumberToFixedDigitsArgument":"warn","useStaticResponseMethods":"warn","useStrictMode":"warn"},"nursery":{"noDeprecatedImports":"warn","noDuplicateDependencies":"warn","noEmptySource":"warn","noFloatingPromises":"warn","noImportCycles":"warn","noJsxLiterals":"off","noMisusedPromises":"warn","noNextAsyncClientComponent":"off","noReactForwardRef":"off","noShadow":"warn","noUnnecessaryConditions":"off","noUnresolvedImports":"off","noUnusedExpressions":"warn","noUselessCatchBinding":"warn","noUselessUndefined":"warn","noVueDataObjectDeclaration":"off","noVueDuplicateKeys":"off","noVueReservedKeys":"off","noVueReservedProps":"off","useConsistentArrowReturn":"warn","useDeprecatedDate":"warn","useExhaustiveSwitchCases":"warn","useExplicitType":"warn","useMaxParams":"warn","useQwikMethodUsage":"off","useQwikValidLexicalScope":"off","useSortedClasses":{"level":"warn","fix":"safe","options":{"functions":["clsx","cn","cva","cx","tw","tw.*"]}},"useVueDefineMacrosOrder":"off","useVueMultiWordComponentNames":"off"}}},"overrides":[{"includes":["src/**/*.d.ts"],"linter":{"rules":{"style":{"useConsistentTypeDefinitions":"off","useNamingConvention":{"level":"warn","options":{"conventions":[{"selector":{"kind":"typeProperty","scope":"any"},"match":".*"}],"strictCase":false}}}}}},{"includes":["*.config.{js,ts}"],"linter":{"rules":{"correctness":{"noNodejsModules":"off","noUndeclaredDependencies":{"level":"warn","options":{"devDependencies":true}}},"performance":{"useTopLevelRegex":"off"},"style":{"noDefaultExport":"off","useFilenamingConvention":{"level":"warn","options":{"filenameCases":["kebab-case"]}},"noProcessEnv":"off"}}}}]}
@@ -0,0 +1 @@
1
+ {"overrides":[{"includes":["src/**/*.{ts,tsx}"],"linter":{"rules":{"correctness":{"useExhaustiveDependencies":"warn","useHookAtTopLevel":"warn"},"performance":{"noImgElement":"off"},"style":{"useReactFunctionComponents":"warn"},"suspicious":{"noReactSpecificProps":"off"},"nursery":{"noNextAsyncClientComponent":"warn","noReactForwardRef":"warn"}}}},{"includes":["src/app/**/*.{ts,tsx}"],"linter":{"rules":{"style":{"useFilenamingConvention":{"level":"warn","options":{"match":"Non-route files are not allowed in the `app` directory"}}}}}},{"includes":["src/app/**/apple-icon.tsx","src/app/**/default.tsx","src/app/**/error.tsx","src/app/**/forbidden.tsx","src/app/**/global-error.tsx","src/app/**/icon.tsx","src/app/**/layout.tsx","src/app/**/loading.tsx","src/app/**/not-found.tsx","src/app/**/opengraph-image.tsx","src/app/**/page.tsx","src/app/**/sitemap.ts","src/app/**/template.tsx","src/app/**/twitter-image.tsx","src/app/**/unauthorized.tsx","src/app/manifest.ts","src/app/robots.ts"],"linter":{"rules":{"style":{"noDefaultExport":"off","useComponentExportOnlyModules":{"level":"warn","options":{"allowExportNames":["generateImageMetadata","generateMetadata","generateStaticParams","generateViewport","metadata","runtime","viewport"]}},"useFilenamingConvention":"off"}}}},{"includes":["src/app/**/route.ts","src/instrumentation.ts","src/instrumentation-{client,edge,node}.ts","src/mdx-components.tsx","src/middleware.ts","src/proxy.ts","next-env.d.ts"],"linter":{"rules":{"style":{"useFilenamingConvention":"off"}}}},{"includes":["src/mdx-components.tsx"],"linter":{"rules":{"style":{"useNamingConvention":{"level":"warn","options":{"strictCase":false}}}}}},{"includes":["src/app/**/route.ts"],"linter":{"rules":{"style":{"useNamingConvention":{"level":"warn","options":{"conventions":[{"selector":{"kind":"objectLiteralMember","scope":"any"},"match":".*"},{"selector":{"kind":"function","scope":"global"},"match":".*"}]}}}}}}]}
@@ -0,0 +1 @@
1
+ {"overrides":[{"includes":["src/**/*.{ts,tsx}"],"linter":{"rules":{"correctness":{"useExhaustiveDependencies":"warn","useHookAtTopLevel":"warn"},"style":{"useReactFunctionComponents":"warn"},"suspicious":{"noReactSpecificProps":"off"},"nursery":{"noReactForwardRef":"warn"}}}},{"includes":["src/routes/**.tsx","src/root.tsx"],"linter":{"rules":{"style":{"noDefaultExport":"off","useComponentExportOnlyModules":{"level":"warn","options":{"allowExportNames":["action","clientAction","clientLoader","default","ErrorBoundary","handle","headers","HydrateFallback","links","loader","meta","shouldRevalidate"]}},"useFilenamingConvention":"off"}}}},{"includes":["src/routes.ts"],"linter":{"rules":{"style":{"noDefaultExport":"off","useFilenamingConvention":"off"}}}}]}
@@ -0,0 +1 @@
1
+ {"overrides":[{"includes":["src/**/*.decorators.{ts,tsx}","src/**/*.fixtures.{ts,tsx}","src/**/*.stories.{ts,tsx}"],"linter":{"rules":{"correctness":{"noUndeclaredDependencies":{"level":"warn","options":{"devDependencies":true}}},"performance":{"useTopLevelRegex":"off"},"style":{"useNumericSeparators":"off"}}}},{"includes":["src/**/*.decorators.{ts,tsx}"],"linter":{"rules":{"style":{"noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["/**/*","**/./**/*","**/../**/*"],"message":"Prefer path aliases over relative paths in import statements."},{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["#/**/*"],"message":"Prefer namespaced path aliases (e.g. '#lib/*' and '#utilities/*') over a global wildcard path alias like '#/*'."},{"group":["@/**/*","~*/**/*","$*/**/*","%*/**/*","+*/**/*"],"message":"Prefer '#' as the prefix of path aliases."},{"group":["**/*.mocks","**/*.mocks.*"],"message":"Do not import module mocks in story decorators."},{"group":["**/*.stories","**/*.stories.*"],"message":"Do not import stories in story decorators."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import tests in story decorators."}]}}}}}},{"includes":["src/**/*.fixtures.{ts,tsx}"],"linter":{"rules":{"complexity":{"noExcessiveCognitiveComplexity":{"level":"warn","options":{"maxAllowedComplexity":7}}},"style":{"noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["/**/*","**/./**/*","**/../**/*"],"message":"Prefer path aliases over relative paths in import statements."},{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["#/**/*"],"message":"Prefer namespaced path aliases (e.g. '#lib/*' and '#utilities/*') over a global wildcard path alias like '#/*'."},{"group":["@/**/*","~*/**/*","$*/**/*","%*/**/*","+*/**/*"],"message":"Prefer '#' as the prefix of path aliases."},{"group":["**/*.decorators","**/*.decorators.*"],"message":"Do not import story decorators in test fixtures."},{"group":["**/*.mocks","**/*.mocks.*"],"message":"Do not import module mocks in test fixtures."},{"group":["**/*.stories","**/*.stories.*"],"message":"Do not import stories in test fixtures."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import tests in test fixtures."}]}}}}}},{"includes":["src/**/*.stories.{ts,tsx}"],"linter":{"rules":{"complexity":{"noExcessiveCognitiveComplexity":{"level":"warn","options":{"maxAllowedComplexity":3}}},"style":{"noDefaultExport":"off","noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["/**/*","**/./**/*","**/../**/*"],"message":"Prefer path aliases over relative paths in import statements."},{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["#/**/*"],"message":"Prefer namespaced path aliases (e.g. '#lib/*' and '#utilities/*') over a global wildcard path alias like '#/*'."},{"group":["@/**/*","~*/**/*","$*/**/*","%*/**/*","+*/**/*"],"message":"Prefer '#' as the prefix of path aliases."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import tests in stories."}]}},"useComponentExportOnlyModules":"off","useNamingConvention":{"level":"warn","options":{"conventions":[{"selector":{"kind":"objectLiteralMember","scope":"any"},"match":".*"},{"selector":{"kind":"const","scope":"global"},"match":".*"}]}}},"nursery":{"useExplicitType":"off"}}}},{"includes":[".storybook/main.{ts,tsx}",".storybook/manager.{ts,tsx}",".storybook/preview.{ts,tsx}"],"linter":{"rules":{"correctness":{"noNodejsModules":"off"},"style":{"noDefaultExport":"off","noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["**/*.stories","**/*.stories.*"],"message":"Do not import stories in the Storybook configuration."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import tests in the Storybook configuration."}]}},"useFilenamingConvention":"off"}}}}]}
@@ -0,0 +1 @@
1
+ {"overrides":[{"includes":["src/**/*.fixtures.{ts,tsx}","src/**/*.mocks.{ts,tsx}","src/**/*.tests.{ts,tsx}"],"linter":{"rules":{"correctness":{"noUndeclaredDependencies":{"level":"warn","options":{"devDependencies":true}}},"performance":{"useTopLevelRegex":"off"},"style":{"useNumericSeparators":"off"}}}},{"includes":["src/**/*.fixtures.{ts,tsx}"],"linter":{"rules":{"complexity":{"noExcessiveCognitiveComplexity":{"level":"warn","options":{"maxAllowedComplexity":7}}},"style":{"noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["/**/*","**/./**/*","**/../**/*"],"message":"Prefer path aliases over relative paths in import statements."},{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["#/**/*"],"message":"Prefer namespaced path aliases (e.g. '#lib/*' and '#utilities/*') over a global wildcard path alias like '#/*'."},{"group":["@/**/*","~*/**/*","$*/**/*","%*/**/*","+*/**/*"],"message":"Prefer '#' as the prefix of path aliases."},{"group":["**/*.decorators","**/*.decorators.*"],"message":"Do not import story decorators in test fixtures."},{"group":["**/*.mocks","**/*.mocks.*"],"message":"Do not import module mocks in test fixtures."},{"group":["**/*.stories","**/*.stories.*"],"message":"Do not import stories in test fixtures."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import tests in test fixtures."}]}}}}}},{"includes":["src/**/*.mocks.{ts,tsx}"],"linter":{"rules":{"complexity":{"noExcessiveCognitiveComplexity":{"level":"warn","options":{"maxAllowedComplexity":7}}},"style":{"noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["/**/*","**/./**/*","**/../**/*"],"message":"Prefer path aliases over relative paths in import statements."},{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["#/**/*"],"message":"Prefer namespaced path aliases (e.g. '#lib/*' and '#utilities/*') over a global wildcard path alias like '#/*'."},{"group":["@/**/*","~*/**/*","$*/**/*","%*/**/*","+*/**/*"],"message":"Prefer '#' as the prefix of path aliases."},{"group":["**/*.decorators","**/*.decorators.*"],"message":"Do not import story decorators in module mocks."},{"group":["**/*.stories","**/*.stories.*"],"message":"Do not import stories in module mocks."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import tests in module mocks."}]}}}}}},{"includes":["src/**/*.tests.{ts,tsx}"],"linter":{"rules":{"complexity":{"noExcessiveCognitiveComplexity":{"level":"warn","options":{"maxAllowedComplexity":3}},"noExcessiveNestedTestSuites":"warn"},"style":{"noRestrictedImports":{"level":"warn","options":{"patterns":[{"group":["/**/*","**/./**/*","**/../**/*"],"message":"Prefer path aliases over relative paths in import statements."},{"group":["**//**/*","!https://**/*"],"message":"Remove repeated slash characters in import statements."},{"group":["#/**/*"],"message":"Prefer namespaced path aliases (e.g. '#lib/*' and '#utilities/*') over a global wildcard path alias like '#/*'."},{"group":["@/**/*","~*/**/*","$*/**/*","%*/**/*","+*/**/*"],"message":"Prefer '#' as the prefix of path aliases."},{"group":["**/*.decorators","**/*.decorators.*"],"message":"Do not import story decorators in tests."},{"group":["**/*.stories","**/*.stories.*"],"message":"Do not import stories in tests."},{"group":["**/*.tests","**/*.tests.*"],"message":"Do not import other tests in tests."}]}}},"suspicious":{"noDuplicateTestHooks":"warn","noExportsInTest":"warn","noFocusedTests":"warn"},"nursery":{"useExplicitType":"off"}}}}]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@rainstormy/presets-biome",
4
- "version": "2.0.5",
4
+ "version": "2.1.0",
5
5
  "description": "Predefined, opinionated Biome configurations carefully crafted for modern TypeScript projects with add-ons for Next.js, React Router, Storybook, and Vitest.",
6
6
  "keywords": [
7
7
  "biome",
@@ -31,16 +31,21 @@
31
31
  "./2.2/nextjs": "./dist/2.2/nextjs.json",
32
32
  "./2.2/react-router": "./dist/2.2/react-router.json",
33
33
  "./2.2/storybook": "./dist/2.2/storybook.json",
34
- "./2.2/vitest": "./dist/2.2/vitest.json"
34
+ "./2.2/vitest": "./dist/2.2/vitest.json",
35
+ "./2.3": "./dist/2.3/index.json",
36
+ "./2.3/nextjs": "./dist/2.3/nextjs.json",
37
+ "./2.3/react-router": "./dist/2.3/react-router.json",
38
+ "./2.3/storybook": "./dist/2.3/storybook.json",
39
+ "./2.3/vitest": "./dist/2.3/vitest.json"
35
40
  },
36
41
  "files": [
37
42
  "dist/"
38
43
  ],
39
44
  "devDependencies": {
40
- "@biomejs/biome": "2.2.6",
41
- "lefthook": "1.12.3"
45
+ "@biomejs/biome": "2.3.0",
46
+ "lefthook": "1.13.6"
42
47
  },
43
48
  "peerDependencies": {
44
- "@biomejs/biome": ">=2.2.0 <2.3.0"
49
+ "@biomejs/biome": ">=2.2.0 <2.4.0"
45
50
  }
46
51
  }