Merged in fix/3697-prettier-configs (pull request #3396)
fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { cx } from 'class-variance-authority'
|
||||
import { useIntl } from 'react-intl'
|
||||
import { cx } from "class-variance-authority"
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import { Divider } from '../../Divider'
|
||||
import { RateTypeEnum } from '@scandic-hotels/common/constants/rateType'
|
||||
import { Typography } from '../../Typography'
|
||||
import styles from './hotelPriceCard.module.css'
|
||||
import { Divider } from "../../Divider"
|
||||
import { RateTypeEnum } from "@scandic-hotels/common/constants/rateType"
|
||||
import { Typography } from "../../Typography"
|
||||
import styles from "./hotelPriceCard.module.css"
|
||||
|
||||
type Price = {
|
||||
pricePerStay: number
|
||||
@@ -49,16 +49,16 @@ export function HotelPriceCard({
|
||||
<p>
|
||||
{isPartnerBrand
|
||||
? intl.formatMessage({
|
||||
id: 'booking.scandicFriendsMemberPrice',
|
||||
defaultMessage: 'Scandic Friends member price',
|
||||
id: "booking.scandicFriendsMemberPrice",
|
||||
defaultMessage: "Scandic Friends member price",
|
||||
description: {
|
||||
context:
|
||||
'Member price label in white label partner sites',
|
||||
"Member price label in white label partner sites",
|
||||
},
|
||||
})
|
||||
: intl.formatMessage({
|
||||
id: 'booking.memberPrice',
|
||||
defaultMessage: 'Member price',
|
||||
id: "booking.memberPrice",
|
||||
defaultMessage: "Member price",
|
||||
})}
|
||||
</p>
|
||||
</Typography>
|
||||
@@ -73,8 +73,8 @@ export function HotelPriceCard({
|
||||
>
|
||||
<p>
|
||||
{intl.formatMessage({
|
||||
id: 'booking.standardPrice',
|
||||
defaultMessage: 'Standard price',
|
||||
id: "booking.standardPrice",
|
||||
defaultMessage: "Standard price",
|
||||
})}
|
||||
</p>
|
||||
</Typography>
|
||||
@@ -89,8 +89,8 @@ export function HotelPriceCard({
|
||||
>
|
||||
<p>
|
||||
{intl.formatMessage({
|
||||
id: 'common.from',
|
||||
defaultMessage: 'From',
|
||||
id: "common.from",
|
||||
defaultMessage: "From",
|
||||
})}
|
||||
</p>
|
||||
</Typography>
|
||||
@@ -121,8 +121,8 @@ export function HotelPriceCard({
|
||||
<span className={styles.perNight}>
|
||||
/
|
||||
{intl.formatMessage({
|
||||
id: 'common.night',
|
||||
defaultMessage: 'night',
|
||||
id: "common.night",
|
||||
defaultMessage: "night",
|
||||
})}
|
||||
</span>
|
||||
</p>
|
||||
@@ -139,8 +139,8 @@ export function HotelPriceCard({
|
||||
>
|
||||
<p>
|
||||
{intl.formatMessage({
|
||||
id: 'booking.approx',
|
||||
defaultMessage: 'Approx.',
|
||||
id: "booking.approx",
|
||||
defaultMessage: "Approx.",
|
||||
})}
|
||||
</p>
|
||||
</Typography>
|
||||
@@ -173,8 +173,8 @@ export function HotelPriceCard({
|
||||
>
|
||||
<p>
|
||||
{intl.formatMessage({
|
||||
id: 'common.total',
|
||||
defaultMessage: 'Total',
|
||||
id: "common.total",
|
||||
defaultMessage: "Total",
|
||||
})}
|
||||
</p>
|
||||
</Typography>
|
||||
|
||||
Reference in New Issue
Block a user