Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions very_good_core/__brick__/.github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_version: "3.35.x"
setup: dart run bloc_tools:bloc lint .

spell-check:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1
Expand Down
16 changes: 16 additions & 0 deletions very_good_core/__brick__/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,22 @@ $ open coverage/index.html

---

## Bloc Lints 🔍

This project uses the [bloc_lint](https://pub.dev/packages/bloc_lint) package to enforce best practices using [bloc](https://pub.dev/packages/bloc).

To validate linter errors, run

```bash
dart run bloc_tools:bloc lint .
```

You can also validate with VSCode-based IDEs using the [official bloc extension](https://marketplace.visualstudio.com/items?itemName=FelixAngelov.bloc).

To learn more, visit https://bloclibrary.dev/lint/

---

## Working with Translations 🌐

This project relies on [flutter_localizations][flutter_localizations_link] and follows the [official internationalization guide for Flutter][internationalization_link].
Expand Down
4 changes: 3 additions & 1 deletion very_good_core/__brick__/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include: package:very_good_analysis/analysis_options.yaml
include:
- package:very_good_analysis/analysis_options.yaml
- package:bloc_lint/recommended.yaml
analyzer:
exclude:
- lib/l10n/gen/*
Expand Down
2 changes: 2 additions & 0 deletions very_good_core/__brick__/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ dependencies:
intl: ^0.20.2

dev_dependencies:
bloc_lint: ^0.3.2
bloc_test: ^10.0.0
bloc_tools: ^0.1.0-dev.19
flutter_test:
sdk: flutter
mocktail: ^1.0.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_version: "3.35.x"
setup: dart run bloc_tools:bloc lint .

spell-check:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1
Expand Down
16 changes: 16 additions & 0 deletions very_good_flame_game/__brick__/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,22 @@ $ open coverage/index.html

---

## Bloc Lints 🔍

This project uses the [bloc_lint](https://pub.dev/packages/bloc_lint) package to enforce best practices using [bloc](https://pub.dev/packages/bloc).

To validate linter errors, run

```bash
dart run bloc_tools:bloc lint .
```

You can also validate with VSCode-based IDEs using the [official bloc extension](https://marketplace.visualstudio.com/items?itemName=FelixAngelov.bloc).

To learn more, visit https://bloclibrary.dev/lint/

---

## Working with Translations 🌐

This project relies on [flutter_localizations][flutter_localizations_link] and follows the [official internationalization guide for Flutter][internationalization_link].
Expand Down
4 changes: 3 additions & 1 deletion very_good_flame_game/__brick__/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include: package:very_good_analysis/analysis_options.yaml
include:
- package:very_good_analysis/analysis_options.yaml
- package:bloc_lint/recommended.yaml
analyzer:
exclude:
- lib/gen/*
Expand Down
2 changes: 2 additions & 0 deletions very_good_flame_game/__brick__/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ dependencies:
intl: ^0.20.2

dev_dependencies:
bloc_lint: ^0.3.2
bloc_tools: ^0.1.0-dev.19
bloc_test: ^10.0.0
flame_test: ^2.0.3
flutter_test:
Expand Down
1 change: 1 addition & 0 deletions very_good_wear_app/__brick__/.github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_version: "3.35.x"
setup: dart run bloc_tools:bloc lint .

spell-check:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1
Expand Down
16 changes: 16 additions & 0 deletions very_good_wear_app/__brick__/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ _\*This template includes only the Android runner, as it is meant to run on Wear

---

## Bloc Lints 🔍

This project uses the [bloc_lint](https://pub.dev/packages/bloc_lint) package to enforce best practices using [bloc](https://pub.dev/packages/bloc).

To validate linter errors, run

```bash
dart run bloc_tools:bloc lint .
```

You can also validate with VSCode-based IDEs using the [official bloc extension](https://marketplace.visualstudio.com/items?itemName=FelixAngelov.bloc).

To learn more, visit https://bloclibrary.dev/lint/

---

## Running Tests 🧪

To run all unit and widget tests use the following command:
Expand Down
4 changes: 3 additions & 1 deletion very_good_wear_app/__brick__/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include: package:very_good_analysis/analysis_options.yaml
include:
- package:very_good_analysis/analysis_options.yaml
- package:bloc_lint/recommended.yaml
analyzer:
exclude:
- lib/l10n/gen/*
Expand Down
4 changes: 3 additions & 1 deletion very_good_wear_app/__brick__/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ environment:
sdk: ^3.9.0

dependencies:
bloc: ^9.0.1
bloc: ^9.0.1
flutter:
sdk: flutter
flutter_bloc: ^9.1.1
Expand All @@ -17,6 +17,8 @@ dependencies:
wearable_rotary: ^2.0.2

dev_dependencies:
bloc_lint: ^0.3.2
bloc_tools: ^0.1.0-dev.19
bloc_test: ^10.0.0
flutter_test:
sdk: flutter
Expand Down