weareinreach / InReach

Prefer boolean attributes notation in JSX JS-0400
Anti-pattern
Minor
3 days agoa year old
Value must be omitted for boolean attribute visible
 99			<Skeleton visible={true} />
100		) : (
101			<Card>
102				<Skeleton visible={true} />103			</Card>
104		)
105	}
Value must be omitted for boolean attribute visible
 96
 97	if (isLoading || !services) {
 98		return isMobile ? (
 99			<Skeleton visible={true} />100		) : (
101			<Card>
102				<Skeleton visible={true} />
Value must be omitted for boolean attribute loading
 57	if (initialLoad || forceLoading || !ready) {
 58		return (
 59			<Stack spacing='xl' w='100%'>
 60				<UserAvatar loading={true} /> 61				<Stack className={classes.reviewText} spacing={8}>
 62					<Skeleton variant={variants.Skeleton.text} width='100%' />
 63					<Skeleton variant={variants.Skeleton.text} width='100%' />
Value must be omitted for boolean attributes
101								i18nKey='breadcrumb.back-to-dynamic'
102								ns='common'
103								values={{ page }}
104								shouldUnescape={true}105								components={{ u: <u>.</u> }}
106							/>
107						)
Value must be omitted for boolean attributes
110						</Link>
111					),
112				}}
113				shouldUnescape={true}114			/>
115			<Space h={8} />
116			<Trans