Skip to content

Commit 1e29fde

Browse files
Fixing a lint issue
1 parent 27dd090 commit 1e29fde

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ EducatesHub is a static site built with [Astro](https://astro.build/) and TypeSc
7272
## Release a new version of the site
7373

7474
- Always work in develop branch
75+
- Make sure that everything works locally and make astro check:
76+
```
77+
npm run astro check
78+
```
7579
- When things are ready to be released, merge code into main via PR (this will publish the site)
7680
- Rebase develop on main
7781

src/pages/index.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ function mapImage(resource: any) {
1818
const workshops = (await getCollection('workshops')).map(w => mapImage({ ...w.data, slug: w.id, type: "workshop" }));
1919
const extensionPackages = (await getCollection('extension-packages')).map(e => mapImage({ ...e.data, slug: e.id, type: "extension-package" }));
2020
const kyvernoPolicies = (await getCollection('kyverno-policies')).map(e => mapImage({ ...e.data, slug: e.id, type: "kyverno-policy" }));
21-
// @ts-expect-error: 'themes' is a valid collection defined in config.ts
2221
const themes = (await getCollection('themes')).map(t => mapImage({ ...t.data, slug: t.id, type: "theme" }));
2322
2423
const allResources = {

0 commit comments

Comments
 (0)