@rainstormy/presets-biome 2.0.3 → 2.0.5

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
@@ -13,6 +13,8 @@ rules in Biome with a few twists:
13
13
  - **Locate source code in the `src` directory** to improve discoverability and
14
14
  scalability by simplifying glob patterns and giving all projects a consistent
15
15
  structure.
16
+ - **Use path aliases prefixed by `#`** to normalise all import statements, thus
17
+ reducing diff churn and preserving compatibility with Node.js subpath imports.
16
18
  - **Omit semicolons** and rely fully
17
19
  on [automatic semicolon insertion](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#automatic_semicolon_insertion)
18
20
  to reduce cognitive complexity and visual noise in the code. Using semicolons
@@ -34,8 +36,8 @@ rules in Biome with a few twists:
34
36
  - **Use `function` declarations** instead of `const` with arrow functions to
35
37
  improve type safety and to enable top-down declaration orders, as function
36
38
  declarations are hoisted.
37
- - **Import `devDependencies` only in non-production code** such as configuration
38
- files and tests to prevent accidental bundling of development dependencies in
39
+ - **Disallow importing `devDependencies` and test files in production code** to
40
+ prevent accidental bundling of development dependencies and test data in
39
41
  production artefacts.
40
42
  - **Use PascalCase for filenames** to reduce cognitive complexity by sticking to
41
43
  a simple naming convention that is consistent with type names and component
@@ -62,16 +64,26 @@ yarn add --dev @biomejs/biome @rainstormy/presets-biome
62
64
  ```
63
65
 
64
66
  ## Usage
65
- Create a [`biome.json`](https://biomejs.dev/reference/configuration) file (or a
66
- `biome.jsonc` file)
67
+ Create a [`biome.json`](https://biomejs.dev/reference/configuration)/
68
+ `biome.jsonc` file
67
69
  and [extend](https://biomejs.dev/guides/configure-biome/#share-a-configuration-file)
68
70
  `@rainstormy/presets-biome/2.2` to enable the opinionated formatting and linting
69
- configuration in general. Specify other options like `files` and `overrides` as
70
- usual. For example:
71
+ configuration in general:
71
72
 
72
73
  ```json
73
74
  {
74
- "$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
75
+ "extends": [
76
+ "@rainstormy/presets-biome/2.2"
77
+ ]
78
+ }
79
+ ```
80
+
81
+ Specify other options like `files` and custom `overrides` as usual. You can also
82
+ override the presets as needed. For example:
83
+
84
+ ```json
85
+ {
86
+ "$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
75
87
  "extends": [
76
88
  "@rainstormy/presets-biome/2.2"
77
89
  ],
@@ -83,6 +95,16 @@ usual. For example:
83
95
  "*.{js,json,jsonc,ts}"
84
96
  ]
85
97
  },
98
+ "javascript": {
99
+ "globals": ["Android"]
100
+ },
101
+ "linter": {
102
+ "rules": {
103
+ "correctness": {
104
+ "useImportExtensions": "off"
105
+ }
106
+ }
107
+ },
86
108
  "overrides": [
87
109
  {
88
110
  "includes": ["src/**/*.tsx"],
@@ -93,21 +115,20 @@ usual. For example:
93
115
  "level": "warn",
94
116
  "options": {
95
117
  "elements": {
96
- "a": "Use <Hyperlink> instead of <a>"
118
+ "a": "Use the 'Hyperlink' component instead of an 'a' element."
97
119
  }
98
120
  }
99
121
  }
100
- },
122
+ }
123
+ }
124
+ }
125
+ },
126
+ {
127
+ "includes": ["src/**/Use*.tsx"],
128
+ "linter": {
129
+ "rules": {
101
130
  "style": {
102
- "noRestrictedImports": {
103
- "level": "warn",
104
- "options": {
105
- "paths": {
106
- "next/image": "Use <FancyImage> instead of <NextImage>",
107
- "next/script": "Use <FancyScript> instead of <NextScript>"
108
- }
109
- }
110
- }
131
+ "useComponentExportOnlyModules": "off"
111
132
  }
112
133
  }
113
134
  }
@@ -133,9 +154,11 @@ app router and React components in Next.js apps:
133
154
  }
134
155
  ```
135
156
 
136
- The `app` directory and the `instrumentation.ts` and `middleware.ts` files must
137
- reside in the `src` directory. React components and other files in general must
138
- _not_ reside in the `app` directory to improve the scalability of the project.
157
+ The `app` directory and the `instrumentation.ts` and `middleware.ts`/`proxy.ts`
158
+ files must reside in the `src` directory. React components and other files in
159
+ general must _not_ reside in the `app` directory, decoupling them from the
160
+ Next.js app router to improve the overall maintainability and scalability of the
161
+ project.
139
162
 
140
163
  ### [React Router](https://reactrouter.com)
141
164
  Add `@rainstormy/presets-biome/2.2/react-router` to the `extends` array to
@@ -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":[":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":"warn","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":"warn","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":"warn","noEmptyBlock":"warn","noEmptyBlockStatements":"warn","noEmptyInterface":"warn","noEvolvingTypes":"warn","noExplicitAny":"warn","noExportsInTest":"warn","noExtraNonNullAssertion":"warn","noFallthroughSwitchClause":"warn","noFocusedTests":"warn","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":{"noDuplicateDependencies":"warn","noFloatingPromises":"warn","noImportCycles":"warn","noJsxLiterals":"off","noMisusedPromises":"warn","noNextAsyncClientComponent":"off","noNonNullAssertedOptionalChain":"warn","noQwikUseVisibleTask":"off","noSecrets":"off","noShadow":"warn","noUnnecessaryConditions":"off","noUnresolvedImports":"off","noUselessCatchBinding":"warn","noUselessUndefined":"warn","noVueDataObjectDeclaration":"off","noVueReservedKeys":"off","noVueReservedProps":"off","useAnchorHref":"warn","useConsistentArrowReturn":"warn","useConsistentTypeDefinitions":{"level":"warn","options":{"style":"type"}},"useExhaustiveSwitchCases":"warn","useExplicitType":"warn","useImageSize":"warn","useMaxParams":"warn","useQwikClasslist":"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","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 +1 @@
1
- {"overrides":[{"includes":["src/**/*.{ts,tsx}"],"linter":{"rules":{"correctness":{"useExhaustiveDependencies":"warn","useHookAtTopLevel":"warn"},"performance":{"noImgElement":"off"},"suspicious":{"noReactSpecificProps":"off"},"nursery":{"noNextAsyncClientComponent":"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","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":".*"}]}}}}}}]}
1
+ {"overrides":[{"includes":["src/**/*.{ts,tsx}"],"linter":{"rules":{"correctness":{"useExhaustiveDependencies":"warn","useHookAtTopLevel":"warn"},"performance":{"noImgElement":"off"},"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":".*"}]}}}}}}]}
@@ -1 +1 @@
1
- {"overrides":[{"includes":["src/**/*.{ts,tsx}"],"linter":{"rules":{"correctness":{"useExhaustiveDependencies":"warn","useHookAtTopLevel":"warn"},"suspicious":{"noReactSpecificProps":"off"}}}},{"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"}}}}]}
1
+ {"overrides":[{"includes":["src/**/*.{ts,tsx}"],"linter":{"rules":{"correctness":{"useExhaustiveDependencies":"warn","useHookAtTopLevel":"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"}}}}]}
@@ -1 +1 @@
1
- {"overrides":[{"includes":["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/**/*.fixtures.{ts,tsx}"],"linter":{"rules":{"complexity":{"noExcessiveCognitiveComplexity":{"level":"warn","options":{"maxAllowedComplexity":7}}}}}},{"includes":["src/**/*.stories.{ts,tsx}"],"linter":{"rules":{"complexity":{"noExcessiveCognitiveComplexity":{"level":"warn","options":{"maxAllowedComplexity":3}}},"style":{"noDefaultExport":"off","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","useFilenamingConvention":"off"}}}}]}
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"}}}}]}
@@ -1 +1 @@
1
- {"overrides":[{"includes":["src/**/*.fixtures.{ts,tsx}","src/**/*.mocks.{ts,tsx}","src/**/*.tests.{ts,tsx}"],"assist":{"actions":{"source":{"organizeImports":{"level":"on","options":{"groups":[["**/*.mocks","**/*.mocks.*"],":URL:",[":BUN:",":NODE:",":PACKAGE_WITH_PROTOCOL:"],":PACKAGE:",":ALIAS:",":PATH:"]}}}}},"linter":{"rules":{"correctness":{"noUndeclaredDependencies":{"level":"warn","options":{"devDependencies":true}}},"performance":{"useTopLevelRegex":"off"},"style":{"useNumericSeparators":"off"}}}},{"includes":["src/**/*.fixtures.{ts,tsx}","src/**/*.mocks.{ts,tsx}"],"linter":{"rules":{"complexity":{"noExcessiveCognitiveComplexity":{"level":"warn","options":{"maxAllowedComplexity":7}}}}}},{"includes":["src/**/*.tests.{ts,tsx}"],"linter":{"rules":{"complexity":{"noExcessiveCognitiveComplexity":{"level":"warn","options":{"maxAllowedComplexity":3}}},"nursery":{"useExplicitType":"off"}}}}]}
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.3",
4
+ "version": "2.0.5",
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",
@@ -37,7 +37,7 @@
37
37
  "dist/"
38
38
  ],
39
39
  "devDependencies": {
40
- "@biomejs/biome": "2.2.4",
40
+ "@biomejs/biome": "2.2.6",
41
41
  "lefthook": "1.12.3"
42
42
  },
43
43
  "peerDependencies": {