Skip to content

Commit 6f73903

Browse files
Merge pull request #12 from HackYourFuture-CPH/linting
Add linting workflow
2 parents f8b0dae + 832e38d commit 6f73903

File tree

21 files changed

+1575
-90
lines changed

21 files changed

+1575
-90
lines changed

.github/workflows/lint.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Lint
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
types:
10+
- opened
11+
- synchronize
12+
- reopened
13+
14+
jobs:
15+
build:
16+
name: Lint
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v4
22+
- name: npm install
23+
run: npm install
24+
- name: Run the linter
25+
run: ./lint

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Ignore hidden Mac OS directory files
2-
**/.DS_Store
2+
**/.DS_Store
3+
node_modules/

.markdownlint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "markdownlint/style/prettier",
3+
"ignore": "node_modules/"
4+
}

LICENSE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
# License
2+
13
The HackYourFuture programme is subject to CC BY NC SA copyright. This means you can freely use our materials, but just make sure to give us credit for it and don't use it commercially, as it is the intellectual property of our volunteers :)
24

35
![Creative Commons License ](https://github.com/user-attachments/assets/912a16ff-b11a-4dcf-9c07-7bdce3d72e64)
46

57
This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/).
6-

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# programme
2+
23
Documents the HYF programme, courses and modules

contributing/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
# Contributing
22

3-
Everyone is welcome to fork/clone the repo and contribute to improving the programme.
3+
Everyone is welcome to fork/clone the repo and contribute to improving the programme.
44

55
If you would like to take a more active role in contributing as a volunteer of HYF Denmark, join #curriculum-crew on Slack to get involved.
66
Write in there to introduce yourself, and a staff member will onboard you and set you up with permissions.
77

88
## How to contribute
9+
910
(We will flesh these processes more as we go...)
1011

1112
### Existing issues
13+
1214
Very briefly: check the project board "Todo" column, choose one ideally near the top, assign it, clone the repo, do it, make a PR, get feedback, profit.
1315

1416
### New ideas
17+
1518
Very briefly: Create an issue on this repo, get some feedback, and we'll prioritise them together at the next meeting.
1619

1720
Note: You are always welcome to open issues/create PRs for new ideas, whenever you like. It's an open source project. If we are currently working together towards a project goal, then it would be most helpful to prioritise tasks for that first, though.
1821

1922
## How permissions work
23+
2024
Permissions are managed through GitHub teams, their roles on this repo, and branch rules.
25+
2126
- _HYF Staff_ members have the admin role (to do things like changing repo settings, inviting new contributors).
2227
- Members of the _Curriculum Crew_ team on GitHub have the write role (to do things like cloning, pushing branches, approving PRs - any volunteer is welcome here!).
2328
- Two approvals by anyone in _Curriculum Crew_ or _HYF Staff_ are required on a PR before merging is allowed.
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
# 2025-04-13
2+
13
Example of where we can keep meeting notes, decisions and other outcomes from meetings (like the workshop we had on 13th april).
24

3-
### Notes
5+
## Notes
6+
47
To be brief, here's the [slides](https://docs.google.com/presentation/d/1JdxBFEz9HsN7t4dkuVh_sy-wZsc3V1S-vRPjK2fLKgQ/edit?slide=id.p#slide=id.p) from this meeting.
58

6-
### Next steps:
9+
## Next steps
10+
711
- [ ] Adam: Send summary and next steps in slack (end of Tues 15th)

courses/Backend/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
> [!IMPORTANT]
1+
# Back-end
2+
3+
> [!IMPORTANT]
24
> Work in progress. Proposed content defined [here](https://docs.google.com/document/d/151MLm-8WA6jSk0-9JhBTuG1xZ9Fo9HRLplJx6Bhps6A/edit?tab=t.0).
35

4-
# Modules
6+
## Modules

courses/Foundation/HTML-CSS/Pre-course/readme.md

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
# Pre-course materials
1+
# Pre-course
22

3-
This section lists the steps you have to complete **BEFORE** the bootcamp starts. <br>
3+
## Pre-course materials
44

5-
You are going to be fully self-learning `HTML` and `CSS`, so it is very important and **mandatory** that you complete the steps before the first sunday session at HackYourFuture. <br>
5+
This section lists the steps you have to complete **BEFORE** the bootcamp starts.
66

7-
You will also get a little introduction to `Javascript`, so that you can be more comfortable jumping into it when the course starts.
7+
You are going to be fully self-learning `HTML` and `CSS`, so it is very important and **mandatory** that you complete the steps before the first sunday session at HackYourFuture.
88

9-
<br>
9+
You will also get a little introduction to `Javascript`, so that you can be more comfortable jumping into it when the course starts.
1010

11-
# HTML and CSS
11+
## HTML and CSS
1212

13-
## freeCodeCamp certifications
13+
### freeCodeCamp certifications
1414

1515
The `freeCodeCamp` courses are a good way to learn and their certifications are widely recognized, therefore we use this platform to give you a good start with learning `Web Development` and having a way to showcase your learning.
1616

17-
<br>
18-
19-
## What you have done so far
17+
### What you have done so far
2018

2119
There are 5 parts in the [Responsive Web Design certification](https://www.freecodecamp.org/learn/2022/responsive-web-design/). Each part contains a few sections and a certification project at the end of each part.
2220
You have already finished at least 2 sections from the first part as part of the application assignment:
@@ -25,7 +23,7 @@ You have already finished at least 2 sections from the first part as part of the
2523

2624
- [Learn Basic CSS by Building a Cafe Menu](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/)
2725

28-
## What you have to do before the first Sunday session
26+
### What you have to do before the first Sunday session
2927

3028
You should finish the first part and the certification project that goes with it:
3129

@@ -37,18 +35,14 @@ You should finish the first part and the certification project that goes with it
3735

3836
This will familiarise you with `CSS` colors and building `Forms` with `HTML` and `CSS`, which are both essential parts of basic Web Development knowledge.
3937

40-
<br>
41-
4238
You should also complete 2 more sections from the second part:
4339

4440
- [Learn the CSS Box Model by Building a Rothko Painting](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-the-css-box-model-by-building-a-rothko-painting)
4541
- [Learn CSS Flexbox by Building a Photo Gallery](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-flexbox-by-building-a-photo-gallery)
4642

4743
Learning the CSS Box Model and Flexbox will give you very good foundational knowledge to deal with any styling or layout challenge.
4844

49-
<br>
50-
51-
# JavaScript
45+
## JavaScript
5246

5347
Complete these steps in the freeCodeCamp [JavaScript Algorithms and Data Structures certification](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/):
5448

@@ -77,17 +71,13 @@ Complete these steps in the freeCodeCamp [JavaScript Algorithms and Data Structu
7771
- [Compound Assignment With Augmented Multiplication](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/compound-assignment-with-augmented-multiplication)
7872
- [Compound Assignment With Augmented Division](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/compound-assignment-with-augmented-division)
7973

80-
<br>
81-
8274
If you like the `freeCodeCamp` format, you should definitely continue beyond what we ask of you and attain the various relevant certifications - especially by finishing off the **Responsive Web Design** and **Javascript Algorithms and Data Structures** certifications!
8375

84-
<br>
85-
86-
## Submitting your preparation
76+
### Submitting your preparation
8777

8878
Before the first Sunday session, you must have completed all the steps listed above. You then need to make your freeCodeCamp profile public - [Video here to show you how to do this](https://www.loom.com/share/019547eab49e4e198fd2d24f6cb27d3c) - and post a link to your profile in your class Slack channel. If you do not do this before the first Sunday session, you will not be able to continue with the course.
8979

90-
## What if?
80+
### What if?
9181

9282
- If you have completed all these parts already, just continue further with the certifications. You are here to learn after all and you are entering a journey of self-teaching!
9383

courses/Foundation/HTML-CSS/The-one-and-only-week1/Session-exercise-template/order.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

0 commit comments

Comments
 (0)