Skip to content

Commit 5328d4d

Browse files
authored
feat: adds lesson_05 content and lesson_06 prework (#153)
* feat: adds lesson_05 homework and lesson_06 prework Signed-off-by: Anthony D. Mays <[email protected]> * feat: adds lesson_06 prework Signed-off-by: Anthony D. Mays <[email protected]> * chore: adds quiz for lesson_05 Signed-off-by: Anthony D. Mays <[email protected]> * chore: adds format script --------- Signed-off-by: Anthony D. Mays <[email protected]>
1 parent 0eabf6f commit 5328d4d

15 files changed

+6092
-1
lines changed

lesson_05/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,22 @@ Please review the following resources before lecture:
1313

1414
## Homework
1515

16-
TODO(anthonydmays): Add details
16+
- [ ] Write [user stories](#writing-user-stories).
17+
- [ ] [Submit a new bug](#submitting-bugs) to the repository.
18+
- [ ] Do pre-work for [lesson 06](/lesson_06/).
19+
20+
### Writing user stories
21+
22+
Write three user stories for any software of your choosing, existing or totally made up. Provide your responses in a README file that you create within your own uniquely named directory.
23+
24+
### Submitting bugs
25+
26+
Find three bugs in the [UTasks online todo app][buggy-app] (need to create an account). Write up two GitHub issues in our code differently repository containing the following elements:
27+
28+
* A brief description of the problem.
29+
* Detailed steps to reproduce the issue in a numbered list.
30+
* The outcome you expected as a result of doing the steps.
31+
* The actual result you got that was unexpected.
32+
* At least one of your bugs must include a screenshot.
33+
34+
[buggy-app]: https://utasks-main.web.app/

lesson_05/quiz/.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
insert_final_newline = true

lesson_05/quiz/.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build/

lesson_05/quiz/.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore artifacts:
2+
build
3+
coverage

lesson_05/quiz/.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

lesson_05/quiz/eslint.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// @ts-check
2+
3+
import eslint from "@eslint/js";
4+
import tseslint from "typescript-eslint";
5+
import eslintConfigPrettier from "eslint-config-prettier";
6+
7+
export default tseslint.config(
8+
eslint.configs.recommended,
9+
...tseslint.configs.strict,
10+
...tseslint.configs.stylistic,
11+
eslintConfigPrettier,
12+
{
13+
ignores: ["build"],
14+
},
15+
);

lesson_05/quiz/jest.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} **/
2+
export default {
3+
testEnvironment: "node",
4+
transform: {
5+
"^.+.tsx?$": ["ts-jest", { useESM: true }],
6+
},
7+
moduleNameMapper: {
8+
"^(\\.\\.?\\/.+)\\.js$": "$1",
9+
},
10+
extensionsToTreatAsEsm: [".ts"],
11+
};

0 commit comments

Comments
 (0)