From cfa489ace328059507155ad9704f65ea3f735a18 Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Fri, 22 Sep 2023 18:08:54 +0200 Subject: [PATCH] Run full prettier in CI (#2713) --- .circleci/config.yml | 2 +- docs/src/components/landing/Hero.js | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1b9f2273534..642be5723f7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -120,7 +120,7 @@ jobs: - install_js - run: name: '`yarn prettier` changes committed?' - command: yarn prettier --check + command: yarn prettier:all --check - run: name: '`yarn jsonSchemas` changes committed?' command: | diff --git a/docs/src/components/landing/Hero.js b/docs/src/components/landing/Hero.js index 423704ab90c..66fb5cbc89d 100644 --- a/docs/src/components/landing/Hero.js +++ b/docs/src/components/landing/Hero.js @@ -170,7 +170,7 @@ export default function Hero() { size="small" variant="outlined" clickable - onDelete={() => { }} + onDelete={() => {}} deleteIcon={} sx={[ (theme) => ({ @@ -258,8 +258,9 @@ export default function Hero() { height: '100%', borderRadius: '16px', padding: '8px', - background: `linear-gradient(120deg, ${(theme.vars || theme).palette.grey[50] - } 0%, ${alpha(theme.palette.primary[50], 0.5)} 150%)`, + background: `linear-gradient(120deg, ${ + (theme.vars || theme).palette.grey[50] + } 0%, ${alpha(theme.palette.primary[50], 0.5)} 150%)`, border: '1px solid', borderColor: (theme.vars || theme).palette.grey[100], backfaceVisibility: 'hidden', @@ -273,8 +274,9 @@ export default function Hero() { }), (theme) => theme.applyDarkStyles({ - background: `linear-gradient(120deg, ${(theme.vars || theme).palette.primaryDark[500] - } 0%, ${alpha(theme.palette.primaryDark[800], 0.4)} 150%)`, + background: `linear-gradient(120deg, ${ + (theme.vars || theme).palette.primaryDark[500] + } 0%, ${alpha(theme.palette.primaryDark[800], 0.4)} 150%)`, borderColor: `${alpha(theme.palette.primaryDark[300], 0.3)}`, boxShadow: `0 4px 8px ${alpha(theme.palette.common.black, 0.8)}`, }),