Skip to content

Commit

Permalink
Merge pull request #38 from VGVentures/ci/spelling
Browse files Browse the repository at this point in the history
ci: add spell check workflow
  • Loading branch information
jolexxa authored Jul 24, 2024
2 parents 79b78f9 + 1c0fda4 commit 7cd6628
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/spell_check.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"ignorePaths": [
"node_modules/**",
".**/"
Expand All @@ -15,12 +17,14 @@
"astrojs",
"Cupertino",
"fontsource",
"goldens",
"incentivized",
"laboratoria",
"mdlint",
"multiplatform",
"pubspec",
"tailwindcss",
"Tappable",
"todos",
"tsconfigs"
]
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/state_management/event_transformers.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class ThoughtBloc extends Bloc<ThoughtEvent, ThoughtState> {
}
```

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

Expand Down

0 comments on commit 7cd6628

Please sign in to comment.