Skip to content

Commit

Permalink
Format lint (chaynHQ#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
annarhughes authored Jun 6, 2024
1 parent f80924a commit 6d8b771
Show file tree
Hide file tree
Showing 39 changed files with 435 additions and 403 deletions.
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
schedule:
interval: "weekly"
time: "09:00"
timezone: "Europe/London"
target-branch: "develop"
interval: 'weekly'
time: '09:00'
timezone: 'Europe/London'
target-branch: 'develop'
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Why did you make the changes?

### Did you run tests?

<!---IMPORTANT NOTE ABOUT RUNNING TESTS: ->
- Some tests may require multiple runs before success.
- Some test failures may not be due to your contribution and can be ignored.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-dependabot-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
issues: write
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Create issue
uses: actions-cool/issues-helper@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ yarn build

## Cypress Testing

We use Cypress to perform end-to-end (e2e) tests of platform.
We use Cypress to perform end-to-end (e2e) tests of platform.
See [CYPRESS.md](CYPRESS.md) for set up instructions for Cypress tests.

**Running the https proxy**
Expand Down
10 changes: 6 additions & 4 deletions components/cards/CourseCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ const CourseCard = (props: CourseCardProps) => {
fill
sizes="100vw"
style={{
objectFit: 'contain'
}} />
objectFit: 'contain',
}}
/>
</Box>
<Box flex={1}>
<Typography component="h3" variant="h3">
Expand All @@ -129,8 +130,9 @@ const CourseCard = (props: CourseCardProps) => {
fill
sizes="100vw"
style={{
objectFit: 'contain'
}} />
objectFit: 'contain',
}}
/>
</Box>
<Box flex={1}>
<Typography component="h3" variant="h3">
Expand Down
5 changes: 3 additions & 2 deletions components/common/ContentUnavailable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ export const ContentUnavailable = ({ title, message }: ContentUnavailableProps)
fill
sizes="100vw"
style={{
objectFit: 'contain'
}} />
objectFit: 'contain',
}}
/>
</Box>
<Typography variant="h2" component="h2" mb={2}>
{title}
Expand Down
5 changes: 3 additions & 2 deletions components/common/ImageTextColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ const ImageTextColumn = (props: ImageTextGridProps) => {
fill
sizes="100vw"
style={{
objectFit: 'contain'
}} />
objectFit: 'contain',
}}
/>
</Box>
<Typography sx={textStyle}>{t(item.text)}</Typography>
</Box>
Expand Down
5 changes: 3 additions & 2 deletions components/common/ImageTextGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ const ImageTextGrid = (props: ImageTextGridProps) => {
fill
sizes="100vw"
style={{
objectFit: 'contain'
}} />
objectFit: 'contain',
}}
/>
</Box>
<Typography>{t(item.text)}</Typography>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion components/forms/ApplyCodeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const ApplyCodeForm = () => {
setFormError(t('form.codeErrors.alreadyInUse'));
} else if (error === PARTNER_ACCESS_CODE_STATUS.ALREADY_APPLIED) {
setFormError(t('form.codeErrors.alreadyApplied'));
} else if (error === PARTNER_ACCESS_CODE_STATUS.CODE_EXPIRED) {
} else if (error === PARTNER_ACCESS_CODE_STATUS.CODE_EXPIRED) {
setFormError(t('form.codeErrors.expired'));
} else if (
error === PARTNER_ACCESS_CODE_STATUS.DOES_NOT_EXIST ||
Expand Down
5 changes: 3 additions & 2 deletions components/layout/Consent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ const Consent = (props: {}) => {
sizes="100vw"
style={{
width: '100%',
height: 'auto'
}} />
height: 'auto',
}}
/>
</Box>
<Box
marginBottom={2}
Expand Down
Loading

0 comments on commit 6d8b771

Please sign in to comment.