We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI: Version: 1.9.3 Color support: true Platform: CPU Architecture: aarch64 OS: macos Environment: BIOME_LOG_PATH: unset BIOME_LOG_PREFIX_NAME: unset BIOME_CONFIG_PATH: unset NO_COLOR: unset TERM: "xterm-256color" JS_RUNTIME_VERSION: "v22.9.0" JS_RUNTIME_NAME: "node" NODE_PACKAGE_MANAGER: "npm/10.9.0" Biome Configuration: Status: Loaded successfully Formatter disabled: false Linter disabled: false Organize imports disabled: true VCS disabled: true Linter: JavaScript enabled: true JSON enabled: true CSS enabled: true GraphQL enabled: false Recommended: true All: false Enabled rules: performance/noDelete suspicious/noCatchAssign suspicious/noUnsafeNegation complexity/useLiteralKeys complexity/noMultipleSpacesInRegularExpressionLiterals a11y/useValidLang complexity/noUselessEmptyExport suspicious/useNamespaceKeyword suspicious/useValidTypeof a11y/useValidAriaRole correctness/noConstantCondition a11y/useAriaActivedescendantWithTabindex suspicious/noDuplicateParameters style/useDefaultParameterLast complexity/noEmptyTypeParameters correctness/noConstructorReturn style/useSelfClosingElements suspicious/noDuplicateSelectorsKeyframeBlock correctness/noUnknownProperty correctness/noUnusedLabels complexity/noUselessTernary correctness/noUnreachableSuper suspicious/noCompareNegZero suspicious/noExplicitAny correctness/noSwitchDeclarations correctness/noUnsafeOptionalChaining correctness/noConstAssign suspicious/noControlCharactersInRegex complexity/noUselessTypeConstraint style/noVar suspicious/noDoubleEquals suspicious/noRedundantUseStrict style/useLiteralEnumMembers suspicious/noGlobalIsNan suspicious/noEmptyInterface suspicious/noConstEnum suspicious/noMisleadingCharacterClass correctness/noPrecisionLoss a11y/noLabelWithoutControl suspicious/noRedeclare correctness/noStringCaseMismatch correctness/noSetterReturn correctness/noInvalidConstructorSuper suspicious/noImplicitAnyLet suspicious/noFallthroughSwitchClause suspicious/noUnsafeDeclarationMerging correctness/noUnreachable suspicious/noDuplicateObjectKeys complexity/noUselessThisAlias complexity/useOptionalChain correctness/noInnerDeclarations style/noParameterAssign suspicious/noDuplicateCase complexity/useRegexLiterals correctness/noSelfAssign correctness/noInvalidBuiltinInstantiation style/noUselessElse style/useShorthandFunctionType suspicious/noShadowRestrictedNames correctness/noInvalidDirectionInLinearGradient suspicious/noImportantInKeyframe complexity/noUselessLabel complexity/noUselessCatch correctness/noUnsafeFinally a11y/useAriaPropsForRole correctness/noNonoctalDecimalEscape style/useEnumInitializers a11y/useHtmlLang suspicious/noDuplicateTestHooks style/useWhile suspicious/noConsole complexity/useArrowFunction style/noInferrableTypes a11y/noNoninteractiveTabindex complexity/useSimpleNumberKeys correctness/useYield a11y/noInteractiveElementToNoninteractiveRole style/useNumericLiterals correctness/noUnnecessaryContinue suspicious/noApproximativeNumericConstant suspicious/noImportAssign suspicious/noLabelVar correctness/noGlobalObjectCalls suspicious/useDefaultSwitchClauseLast correctness/noEmptyCharacterClassInRegex correctness/noUnknownUnit a11y/useAltText performance/noBarrelFile a11y/useIframeTitle complexity/noBannedTypes a11y/noSvgWithoutTitle correctness/noVoidElementsWithChildren style/useAsConstAssertion correctness/useJsxKeyInIterable style/useExportType style/noArguments suspicious/noDebugger a11y/useValidAriaValues suspicious/noMisleadingInstantiator suspicious/noCommentText a11y/useFocusableInteractive correctness/noUnmatchableAnbSelector suspicious/noGlobalAssign suspicious/noDuplicateJsxProps suspicious/noThenProperty a11y/noPositiveTabindex correctness/noEmptyPattern complexity/noExcessiveNestedTestSuites security/noDangerouslySetInnerHtmlWithChildren suspicious/noExtraNonNullAssertion suspicious/noShorthandPropertyOverrides suspicious/useGetterReturn correctness/noRenderReturnValue correctness/useExhaustiveDependencies security/noGlobalEval style/noNonNullAssertion a11y/noRedundantRoles complexity/useFlatMap correctness/useIsNan correctness/useHookAtTopLevel suspicious/noGlobalIsFinite suspicious/noSelfCompare suspicious/noAsyncPromiseExecutor suspicious/noDuplicateFontNames style/useNodejsImportProtocol a11y/noDistractingElements complexity/noWith suspicious/noDuplicateClassMembers complexity/noExtraBooleanCast performance/noAccumulatingSpread a11y/useValidAriaProps a11y/noRedundantAlt correctness/noChildrenProp correctness/noUnknownFunction correctness/noInvalidPositionAtImportRule suspicious/noConfusingLabels suspicious/noPrototypeBuiltins a11y/useButtonType a11y/noAriaUnsupportedElements correctness/noInvalidGridAreas correctness/noFlatMapIdentity suspicious/noSuspiciousSemicolonInJsx suspicious/noSparseArray a11y/useHeadingContent correctness/useValidForDirection correctness/noVoidTypeReturn correctness/noInvalidUseBeforeDeclaration a11y/noAriaHiddenOnFocusable a11y/useGenericFontNames correctness/noUnknownMediaFeatureName a11y/useAnchorContent complexity/noUselessRename complexity/noUselessConstructor a11y/noAccessKey style/useExponentiationOperator complexity/noUselessSwitchCase style/useSingleVarDeclarator suspicious/noExportsInTest a11y/noNoninteractiveElementToInteractiveRole style/noCommaOperator suspicious/noDuplicateAtImportRules suspicious/useIsArray a11y/noHeaderScope suspicious/noMisrefactoredShorthandAssign suspicious/noEmptyBlock correctness/noUnusedImports suspicious/noClassAssign suspicious/noFunctionAssign Workspace: Open Documents: 0
lint/suspicious/noSuspiciousSemicolonInJsx
https://biomejs.dev/playground/?code=YwBvAG4AcwB0ACAAdwBvAHIAawBzACAAPQAgACgAKQAgAD0APgAgACgACgAgACAAPABkAGkAdgA%2BAAoAIAAgACAAIAA8AGQAaQB2AD4AewBmAGwAYQBnAH0APAAvAGQAaQB2AD4AOwAKACAAIAA8AC8AZABpAHYAPgAKACkAOwAKAAoAYwBvAG4AcwB0ACAAZABvAGUAcwBuAHQAIAA9ACAAKAApACAAPQA%2BACAAKAAKACAAIAA8AD4ACgAgACAAIAAgADwAZABpAHYAPgB7AGYAbABhAGcAfQA8AC8AZABpAHYAPgA7AAoAIAAgADwALwA%2BAAoAKQAKAAoA
It should throw an error for the second example in the playground
The text was updated successfully, but these errors were encountered:
vasucp1207
Successfully merging a pull request may close this issue.
Environment information
Rule name
lint/suspicious/noSuspiciousSemicolonInJsx
Playground link
https://biomejs.dev/playground/?code=YwBvAG4AcwB0ACAAdwBvAHIAawBzACAAPQAgACgAKQAgAD0APgAgACgACgAgACAAPABkAGkAdgA%2BAAoAIAAgACAAIAA8AGQAaQB2AD4AewBmAGwAYQBnAH0APAAvAGQAaQB2AD4AOwAKACAAIAA8AC8AZABpAHYAPgAKACkAOwAKAAoAYwBvAG4AcwB0ACAAZABvAGUAcwBuAHQAIAA9ACAAKAApACAAPQA%2BACAAKAAKACAAIAA8AD4ACgAgACAAIAAgADwAZABpAHYAPgB7AGYAbABhAGcAfQA8AC8AZABpAHYAPgA7AAoAIAAgADwALwA%2BAAoAKQAKAAoA
Expected result
It should throw an error for the second example in the playground
Code of Conduct
The text was updated successfully, but these errors were encountered: