Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add spell check workflow #38

Merged
merged 2 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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