Skip to content

Commit 60d8f55

Browse files
chore(deps): bump DavidAnson/markdownlint-cli2-action from 19 to 23 (#65)
1 parent f57ce86 commit 60d8f55

File tree

11 files changed

+71
-70
lines changed

11 files changed

+71
-70
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v6
1414
- name: Lint Markdown
15-
uses: DavidAnson/markdownlint-cli2-action@v19
15+
uses: DavidAnson/markdownlint-cli2-action@v23
1616
with:
1717
globs: '**/*.md'
1818
config: 'config/custom.markdownlint.jsonc'

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Every `SKILL.md` follows this structure:
6060
- Provide complete, copy-pasteable snippets, not fragments
6161
- Reference packages by full name (e.g., `package:mocktail`)
6262
- Include anti-patterns alongside correct patterns when helpful
63+
- Align pipe characters vertically in all markdown tables (enforced by markdownlint MD060)
6364

6465
## Adding a New Skill
6566

skills/bloc/SKILL.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Apply these standards to ALL Bloc/Cubit work:
3030

3131
| Aspect | Cubit | Bloc |
3232
| ----------------- | ------------------------------ | --------------------------------------- |
33-
| API | Functions → `emit(state)` | Events → `on<Event>``emit(state)` |
33+
| API | Functions → `emit(state)` | Events → `on<Event>``emit(state)` |
3434
| Complexity | Low | Higher |
3535
| Traceability | Less (no event log) | Full (events + transitions) |
3636
| When to use | Simple state, UI-driven logic | Complex flows, event-driven, transforms |
@@ -76,13 +76,13 @@ class CounterBloc extends Bloc<CounterEvent, int> {
7676

7777
**Pattern:** `BlocSubject` + `Noun` + `VerbPastTense`
7878

79-
| Event class name | Meaning |
80-
| ----------------------------- | -------------------------------- |
81-
| `TodoListSubscriptionRequested` | Subscribing to todo list stream |
82-
| `TodoListTodoDeleted` | Deleting a specific todo |
83-
| `TodoListUndoDeletionRequested` | Undoing the last deletion |
84-
| `LoginFormSubmitted` | Submitting the login form |
85-
| `ProfilePageRefreshed` | Refreshing the profile page |
79+
| Event class name | Meaning |
80+
| ------------------------------- | -------------------------------- |
81+
| `TodoListSubscriptionRequested` | Subscribing to todo list stream |
82+
| `TodoListTodoDeleted` | Deleting a specific todo |
83+
| `TodoListUndoDeletionRequested` | Undoing the last deletion |
84+
| `LoginFormSubmitted` | Submitting the login form |
85+
| `ProfilePageRefreshed` | Refreshing the profile page |
8686

8787
```dart
8888
sealed class TodoListEvent extends Equatable {

skills/bloc/references/patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class SearchBloc extends Bloc<SearchEvent, SearchState> {
6060
```
6161

6262
| Transformer | Behavior |
63-
| ------------------ | ---------------------------------------------------- |
63+
| ------------------| ----------------------------------------------------- |
6464
| `concurrent()` | Process all events concurrently (default) |
6565
| `sequential()` | Process events one at a time in order |
6666
| `droppable()` | Ignore new events while one is processing |

skills/bloc/references/testing.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
| Parameter | Type | Purpose |
66
| ---------- | --------------------------- | ---------------------------------------------- |
7-
| `build` | `() => Bloc/Cubit` | Creates the Bloc/Cubit under test |
8-
| `act` | `(bloc) => void` | Interacts with the Bloc/Cubit |
9-
| `expect` | `() => List<State>` | Expected states emitted (in order) |
10-
| `seed` | `() => State` | Initial state before `act` |
11-
| `setUp` | `() => void` | Runs before `build` |
12-
| `verify` | `(bloc) => void` | Additional verifications after `expect` |
13-
| `errors` | `() => List<Matcher>` | Expected errors thrown |
14-
| `wait` | `Duration` | Wait duration before asserting (for debounce) |
7+
| `build` | `() => Bloc/Cubit` | Creates the Bloc/Cubit under test |
8+
| `act` | `(bloc) => void` | Interacts with the Bloc/Cubit |
9+
| `expect` | `() => List<State>` | Expected states emitted (in order) |
10+
| `seed` | `() => State` | Initial state before `act` |
11+
| `setUp` | `() => void` | Runs before `build` |
12+
| `verify` | `(bloc) => void` | Additional verifications after `expect` |
13+
| `errors` | `() => List<Matcher>` | Expected errors thrown |
14+
| `wait` | `Duration` | Wait duration before asserting (for debounce) |
1515

1616
## Cubit Test Example
1717

skills/bloc/references/widgets.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# Flutter Widgets
22

3-
| Widget | Purpose |
4-
| ------------------- | ---------------------------------------------------------- |
5-
| `BlocProvider` | Creates and provides a Bloc/Cubit to the subtree |
6-
| `BlocBuilder` | Rebuilds widget when state changes |
3+
| Widget | Purpose |
4+
| ------------------- | ------------------------------------------------------------ |
5+
| `BlocProvider` | Creates and provides a Bloc/Cubit to the subtree |
6+
| `BlocBuilder` | Rebuilds widget when state changes |
77
| `BlocListener` | Executes side effects (navigation, snackbar) on state change |
8-
| `BlocConsumer` | Combines `BlocBuilder` + `BlocListener` |
9-
| `BlocSelector` | Rebuilds only when a selected property changes |
10-
| `MultiBlocProvider` | Provides multiple Blocs/Cubits without nesting |
11-
| `MultiBlocListener` | Registers multiple listeners without nesting |
12-
| `RepositoryProvider`| Provides a repository to the subtree |
8+
| `BlocConsumer` | Combines `BlocBuilder` + `BlocListener` |
9+
| `BlocSelector` | Rebuilds only when a selected property changes |
10+
| `MultiBlocProvider` | Provides multiple Blocs/Cubits without nesting |
11+
| `MultiBlocListener` | Registers multiple listeners without nesting |
12+
| `RepositoryProvider`| Provides a repository to the subtree |
1313

1414
## Context Extensions
1515

16-
| Extension | Purpose | Rebuilds? |
17-
| ------------------ | ------------------------------------------------ | --------- |
18-
| `context.read<T>()` | Access Bloc/Cubit instance (one-time read) | No |
19-
| `context.watch<T>()` | Access Bloc/Cubit and subscribe to changes | Yes |
20-
| `context.select<T, R>()` | Subscribe to a specific state property | Yes (selective) |
16+
| Extension | Purpose | Rebuilds? |
17+
| ------------------------ | ------------------------------------------------ | --------------- |
18+
| `context.read<T>()` | Access Bloc/Cubit instance (one-time read) | No |
19+
| `context.watch<T>()` | Access Bloc/Cubit and subscribe to changes | Yes |
20+
| `context.select<T, R>()` | Subscribe to a specific state property | Yes (selective) |
2121

2222
- Use `context.read` in callbacks (`onPressed`, `onTap`, `initState`)
2323
- Use `context.watch` or `BlocBuilder` in `build` methods

skills/internationalization/SKILL.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Apply these standards to ALL internationalization work:
2323

2424
## Key Definitions
2525

26-
| Term | Definition |
27-
| ----------------------------- | ------------------------------------------------------------------------------------------- |
28-
| **Locale** | Set of properties defining user region, language, and preferences (currency, time, numbers) |
29-
| **Localization (l10n)** | Process of adapting software for a specific language by translating text and adding regional layouts |
26+
| Term | Definition |
27+
| ------------------------------- | ----------------------------------------------------------------------------------------------------- |
28+
| **Locale** | Set of properties defining user region, language, and preferences (currency, time, numbers) |
29+
| **Localization (l10n)** | Process of adapting software for a specific language by translating text and adding regional layouts |
3030
| **Internationalization (i18n)** | Process of designing software so it can be adapted to different languages without engineering changes |
3131

3232
## Setup Pipeline and ARB File Format
@@ -138,17 +138,17 @@ See [references/backend.md](references/backend.md) for multi-language content st
138138

139139
## Quick Reference
140140

141-
| Package | Purpose |
142-
| -------------------------- | -------------------------------------- |
143-
| `flutter_localizations` | Flutter's built-in localization support |
144-
| `intl` | Internationalization utilities |
141+
| Package | Purpose |
142+
| ----------------------- | --------------------------------------- |
143+
| `flutter_localizations` | Flutter's built-in localization support |
144+
| `intl` | Internationalization utilities |
145145

146-
| Command | Purpose |
147-
| -------------------- | ------------------------------------------- |
148-
| `flutter gen-l10n` | Generate localization classes from ARB files |
146+
| Command | Purpose |
147+
| ------------------ | -------------------------------------------- |
148+
| `flutter gen-l10n` | Generate localization classes from ARB files |
149149

150-
| File | Purpose |
151-
| ------------------ | ------------------------------------------------ |
150+
| File | Purpose |
151+
| ------------------ | -------------------------------------------------- |
152152
| `l10n.yaml` | Localization configuration (ARB dir, output, etc.) |
153-
| `app_en.arb` | Template ARB file (source of truth) |
154-
| `app_<locale>.arb` | Translated ARB file for each locale |
153+
| `app_en.arb` | Template ARB file (source of truth) |
154+
| `app_<locale>.arb` | Translated ARB file for each locale |

skills/internationalization/references/directionality.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Retrieve the current direction: `Directionality.of(context)`
1919

2020
## Visual vs Directional Widgets
2121

22-
| Widget Type | Direction Terms | Use Case |
23-
| --------------- | --------------------- | ------------------------------------------- |
24-
| **Visual** | top, left, right, bottom | Absolute positioning that never changes |
25-
| **Directional** | top, start, end, bottom | Relative to text direction (respects RTL) |
22+
| Widget Type | Direction Terms | Use Case |
23+
| --------------- | -------------------------- | ----------------------------------------- |
24+
| **Visual** | top, left, right, bottom | Absolute positioning that never changes |
25+
| **Directional** | top, start, end, bottom | Relative to text direction (respects RTL) |
2626

2727
## `EdgeInsetsDirectional` vs `EdgeInsets`
2828

skills/material-theming/SKILL.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ See [references/spacing.md](references/spacing.md) for the full `AppSpacing` cla
162162
| `cardTheme` | Card default styling |
163163
| `dialogTheme` | Dialog default styling |
164164

165-
| Material 3 Color Role | Typical Use |
166-
| ---------------------- | ------------------------------------ |
167-
| `primary` | Key UI elements, FAB, active states |
168-
| `onPrimary` | Text/icons on primary color |
169-
| `secondary` | Less prominent UI elements |
170-
| `surface` | Card, sheet, dialog backgrounds |
171-
| `onSurface` | Text/icons on surface color |
172-
| `error` | Error indicators, destructive actions |
173-
| `outline` | Borders, dividers |
165+
| Material 3 Color Role | Typical Use |
166+
| --------------------- | ------------------------------------- |
167+
| `primary` | Key UI elements, FAB, active states |
168+
| `onPrimary` | Text/icons on primary color |
169+
| `secondary` | Less prominent UI elements |
170+
| `surface` | Card, sheet, dialog backgrounds |
171+
| `onSurface` | Text/icons on surface color |
172+
| `error` | Error indicators, destructive actions |
173+
| `outline` | Borders, dividers |

skills/navigation/SKILL.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ class FlutterPageRoute extends GoRouteData {
116116

117117
### `go()` vs `push()`
118118

119-
| Method | URL Updates | Back Button | Use Case |
120-
| -------- | ----------- | ----------- | ------------------------------------------- |
121-
| `go()` | Yes | App bar | Standard navigation between screens |
119+
| Method | URL Updates | Back Button | Use Case |
120+
| -------- | ----------- | ----------- | -------------------------------------------- |
121+
| `go()` | Yes | App bar | Standard navigation between screens |
122122
| `push()` | No | System | When expecting return data from popped route |
123123

124124
### Using `go()` (Default)
@@ -210,12 +210,12 @@ class AppShellRoute extends ShellRouteData {
210210

211211
## Quick Reference
212212

213-
| Package | Purpose |
214-
| -------------------- | -------------------------------------------- |
215-
| `go_router` | Declarative routing built on Navigator 2.0 |
216-
| `go_router_builder` | Code generation for type-safe route classes |
213+
| Package | Purpose |
214+
| ------------------- | ------------------------------------------- |
215+
| `go_router` | Declarative routing built on Navigator 2.0 |
216+
| `go_router_builder` | Code generation for type-safe route classes |
217217

218218
| Command | Purpose |
219219
| ---------------------------------------------------------- | -------------------------------- |
220-
| `dart run build_runner build --delete-conflicting-outputs` | Generate type-safe route helpers |
221-
| `dart run build_runner watch --delete-conflicting-outputs` | Watch and regenerate on changes |
220+
| `dart run build_runner build --delete-conflicting-outputs` | Generate type-safe route helpers |
221+
| `dart run build_runner watch --delete-conflicting-outputs` | Watch and regenerate on changes |

0 commit comments

Comments
 (0)