From 05616586890f2c0184512994efabdb95097f2358 Mon Sep 17 00:00:00 2001 From: Joanna May Date: Wed, 24 Jul 2024 12:55:09 -0500 Subject: [PATCH 1/2] ci: add spell check workflow --- .github/workflows/spell_check.yml | 15 +++++++++++++++ cspell.json | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/spell_check.yml diff --git a/.github/workflows/spell_check.yml b/.github/workflows/spell_check.yml new file mode 100644 index 0000000..61d2a94 --- /dev/null +++ b/.github/workflows/spell_check.yml @@ -0,0 +1,15 @@ +name: 🐝 Spell Check + +on: pull_request + +jobs: + build: + uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1 + with: + config: cspell.json + includes: | + **/*.{dart,md,mdxyaml,ts,tsx,js,jsx,json,yaml,yml} + !.dart_tool/**/*.{dart,yaml} + !node_modules/**/* + .*/**/*.yml + modified_files_only: false diff --git a/cspell.json b/cspell.json index e7e68b8..9a98888 100644 --- a/cspell.json +++ b/cspell.json @@ -1,4 +1,6 @@ { + "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", + "version": "0.2", "ignorePaths": [ "node_modules/**", ".**/" From 1c0fda48456f6d7ee6b70b6c1a25194c19aa8179 Mon Sep 17 00:00:00 2001 From: Joanna May Date: Wed, 24 Jul 2024 12:56:52 -0500 Subject: [PATCH 2/2] fix: spelling --- cspell.json | 2 ++ src/content/docs/state_management/event_transformers.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cspell.json b/cspell.json index 9a98888..610ef27 100644 --- a/cspell.json +++ b/cspell.json @@ -17,12 +17,14 @@ "astrojs", "Cupertino", "fontsource", + "goldens", "incentivized", "laboratoria", "mdlint", "multiplatform", "pubspec", "tailwindcss", + "Tappable", "todos", "tsconfigs" ] diff --git a/src/content/docs/state_management/event_transformers.md b/src/content/docs/state_management/event_transformers.md index ee85b51..dd0ba9b 100644 --- a/src/content/docs/state_management/event_transformers.md +++ b/src/content/docs/state_management/event_transformers.md @@ -143,7 +143,7 @@ class ThoughtBloc extends Bloc { } ``` -If we want to avoid emitting the declaration that `${event.thought}` is my most recent thought when the bloc has received an even more recent thought, the `restartable` transformer will suspend `_onThought`'s processing of the outdated event if a more recent event is recieved during its execution. +If we want to avoid emitting the declaration that `${event.thought}` is my most recent thought when the bloc has received an even more recent thought, the `restartable` transformer will suspend `_onThought`'s processing of the outdated event if a more recent event is received during its execution. #### Testing Blocs