Commit 4d7b315
authored
Add linting and formatting, lint and format files (#234)
This PR does a bit of general tidying up:
- Replaced `rimraf` with an event that fires on `eleventy.before` `build` events and uses Node’s `fs.rm` method to clean out destination directory instead
- Removed unused dependencies (`sass` and `standard`)
- Updated `package.json` metadata
- Removed unused `netlify.toml` config (we don’t host the site on Netlify)
- Fixed front matter for the Mission patches page so that the correct title and description is shown on the sitemap (currently says `{{ title }}` and `{{ description }}`
- Removed temporary files in image folders which are creating empty entries in the sitemap
- Updated links that point to entries on previous `designhistory.app` domain
- Relatedly, fixed broken links that assumed entries had the same root path
- Optimised images (reducing total image directory size from 163 MB to 136 MB… worth it, not sure!)
- Fixed malformed Markdown (spotted some incorrect syntax for links and headings)
- Fixed malformed YAML front matter
- Added linting tasks and configuration; these don’t run automatically, perhaps we can decide how, if and when we want to run these
- Formated Markdown, YAML, JSON, JavaScript and SCSS files using Prettier
- Linted JavaScript using ESLint
- Linted SCSS using Stylelint
- Removed the screenshot scripts; do anyone use these?
- In addition to formatting Markdown files with Prettier, and fixing malformed Markdown, tweaked syntax where better alternative available. Examples include:
- using figure caption instead of a paragraph of bold text before an image
- changing heading levels to always start at level 2
- see e842006
Only done this in a few places, where spotted issues, but thought it was worth pointing out all the same.1 parent 6ddd7c3 commit 4d7b315
File tree
827 files changed
+4934
-4999
lines changed- .github
- workflows
- app
- _components/email
- guide
- images
- book-a-vaccination
- 2024/12/rsv-pregnancy-self-referral
- 2025
- 02/improving-appointment-selection
- 03/enabling-joint-bookings
- 04/improving-booking-complete-screen
- 05/improving-location-search
- 06
- mvp-confirmation-page
- proxy-users
- breast-screening-reporting/2025
- 02/data-product-design-principles
- 05/moving-source-system-event-data-through-nsp-and-into-fdp
- cohort-manager/2025
- 06
- cohort-manager-our-first-prototype
- start-with-what-we-know
- 08
- raised-and-not-raised
- reframing-and-brainstorming-together
- explore-team/2025
- 01/sharing-screening-results-with-gps
- 03/what-we-learned-about-sharing-breast-and-bowel-results-with-gps
- 04/finding-the-right-solution-for-sharing-breast-results-with-GPs
- 06/insights-and-opportunities-for-sharing-breast-screening-results-with-gp-surgeries
- hpv-self-testing/2025
- 03/hpv-self-sampling-work-so-far
- 06/accessibility
- 07/usability-testing
- 08/content-workshop
- lung-health-check/2025
- 06/health-assessments-discovery
- 08/lung-health-check-prototype
- manage-breast-screening
- 2024/12
- first-alpha-prototype
- understanding-the-challenges-in-breast-screening
- 2025
- 01/prototype-updates-after-round-one
- 02/defining-appointment-status-labels
- 03/refining-screening-journey
- 04
- existing-image-reading-design-concepts
- understanding-image-reading
- 05/image-reading-first-prototype
- 06
- defining-family-history-breast-screening
- recording-ethnicity
- recording-previous-mammograms
- 07
- medical-annotation-tool-for-capturing-breast-features
- providing-details-for-special-appointments
- manage-vaccinations-in-schools
- 2022
- 10
- cinnamon-consent-flu
- nhs-login-journey
- riviam-consent
- 11
- cinnamon-consent-hpv
- consent-requests
- give-or-refuse-flu-vaccination-strawperson
- learning-from-real-child-vaccination-records
- poc-flu-campaign
- poc-hpv-campaign
- poc-prepare-the-day
- school-consent-strawperson
- 12/flu-consent-iteration
- 2023
- 01
- adding-a-session
- faster-vaccination-recording
- manage-users
- offline-iteration
- offline-spike
- poc-3-in-1-campaign
- 02/poc-3-in-1-iteration
- 03
- asking-users-to-sync-their-offline-changes
- consent-for-an-hpv-vaccine-iteration
- consent-for-an-hpv-vaccine
- first-pass-at-triage
- iterating-our-offline-designs
- recording-consent-on-the-day-of-the-vaccination
- 05
- managing-vaccine-batches
- protecting-offline-data
- 08/updating-the-consent-journey-for-flu
- 11/multiple-consent-responses
- 2024/03
- pilot-consent-and-triage
- pilot-select-and-invite
- 2025
- 03/importing-menacwy-vaccination-history-into-mavis
- 04
- doubles-consent
- doubles-recording
- importing-records
- 05/improving-coverage-of-nhs-numbers-in-mavis
- 09/flu-consent
- manage-your-appointments/2024
- 10
- create-availability
- designing-availability-view
- 11/improving-create-availability
- manage-your-screening/2025
- 03/ur-round1
- 04/insights-from-team-invite-survey-april-2025
- mission-patches
- nhs-health-check-online/2025
- 07/physical-activity-results
- 09/cholesterol-results
- personalised-prevention-platform/2025/04/onboarding-users
- record-a-vaccination
- 2023
- 04
- finding-patients-and-recording-vaccinations
- sprint-one-managing-clinics
- sprint-one-managing-vaccines
- 05
- sprint-4-finding-patients-recording-vaccinations
- sprint-three-editing-vaccination-records
- sprint-three-managing-appointments
- 06
- sprint-five-managing-vaccines
- sprint-six-managing-users
- sprint-six-reporting-vaccinations
- 07
- clinic-workflows-beta
- editing-vaccination-records-beta
- sprint-eight-workflows
- sprint-seven-monitoring-activity
- sprint-seven-setting-up-the-service
- 08
- managing-settings-beta
- managing-users-roles-and-permissions-beta
- 09
- managing-vaccines-beta
- reporting-and-monitoring-beta
- 10
- editing-records-support-and-help-content-beta
- searching-for-patients-beta
- 11/system-error-support-content-and-helpdesk-beta
- 2024
- 02/pertussis-in-maternity-care-settings-discovery
- 03
- finding-patients-beta
- managing-vaccines-and-batches-beta
- recording-vaccinations-beta
- 06/recording-covid-19-and-flu-together
- 07
- designing-an-initial-user-permissions-model
- pilot-designs
- 08/onboarding-organisations-without-spreadsheets
- 11
- design-sprint-sessions
- designing-maternity-errors-and-warnings
- 2025
- 02/new-home-page
- 03
- asking-fewer-better-questions
- improving-how-we-ask-users-for-feedback
- notifying-users-about-updates
- 07
- went-for-an-appointment-came-back-with-a-list
- 08
- enabling-pharmacies-to-sign-up
- promoting-the-service-with-a-product-page
- 09
- changing-user-roles
- one-nostril-or-two
- screening-invite/2025
- 06/invite-pilot-overview
- 08/invite-breast-screening-pilot-design-iterations
- select-people-for-invitation
- content-process
- copy-iteration
- naming-the-service
- prototype-version-1
- routing-ids
- rule-library
- statuses
- user-guidance
- what-is-this-service
- workflows
- smoking-cessation/2025/03/smoking-cessation-pilot
- vaccinations-in-the-app/2025/07/designing-eligibility-in-the-app
- vaccinations/2025/07/creating-a-vds-ucd-monthnote
- posts
- book-a-vaccination
- 2024
- 08
- 12
- 2025
- 02
- 03
- 04
- 05
- 06
- bowel-screening
- 2024/12
- breast-screening-reporting/2025
- 02
- 05
- cohort-manager/2025
- 06
- 08
- explore-team/2025
- 01
- 03
- 04
- 06
- hpv-self-testing
- 2025
- 05
- 06
- 07
- 08
- lung-health-check/2025
- 06
- 08
- manage-breast-screening
- 2024/12
- 2025
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- manage-vaccinations-in-schools
- 2022/11
- 2023
- 01
- 09
- 11
- 12
- 2024
- 06
- 09
- 2025
- 03
- 04
- 05
- 06
- 09
- manage-your-appointments
- 2024
- 09
- 10
- 11
- manage-your-screening/2025
- 03
- 04
- nhs-health-check-online/2025
- 07
- 09
- personalised-prevention-platform/2025
- 03
- 04
- personalised-prevention/2025/07
- record-a-vaccination
- 2023
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 2024
- 02
- 03
- 06
- 07
- 08
- 11
- 2025
- 02
- 03
- 07
- 08
- 09
- screening-invite/2025
- 06
- 08
- 09
- select-people-for-invitation
- smoking-cessation/2025/03
- vaccinations-in-the-app/2025/07
- vaccinations/2025/07
- styles
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
827 files changed
+4934
-4999
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
0 commit comments