Skip to content
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[![ci][ci_badge]][ci_link]
[![coverage][coverage_badge]][ci_link]
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason)

Expand Down Expand Up @@ -104,13 +104,13 @@ Dart Frog provides a simple core with a small API surface area in order to reduc
[dart_link]: https://dart.dev
[dart_frog_link_dark]: https://github.com/dart-frog-dev/dart_frog#gh-dark-mode-only
[dart_frog_link_light]: https://github.com/dart-frog-dev/dart_frog#gh-light-mode-only
[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[dart_installation_link]: https://dart.dev/get-dart
[discord_badge]: https://img.shields.io/discord/1394707782271238184?style=for-the-badge&logo=discord&color=1C2A2E&logoColor=1DF9D2
[discord_link]: https://discord.gg/dart-frog
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[logo_black]: https://raw.githubusercontent.com/dart-frog-dev/dart_frog/main/assets/dart_frog_logo_black.png#gh-light-mode-only
[logo_white]: https://raw.githubusercontent.com/dart-frog-dev/dart_frog/main/assets/dart_frog_logo_white.png#gh-dark-mode-only
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
[very_good_ventures_link]: https://verygood.ventures
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include: packages/dart_frog_lint/lib/recommended.yaml
analyzer:
exclude:
- bricks/**/__brick__/**
8 changes: 4 additions & 4 deletions bricks/create_dart_frog/__brick__/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# {{name.snakeCase()}}

[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Dart Frog](https://img.shields.io/endpoint?url=https://tinyurl.com/dartfrog-badge)](https://dart-frog.dev)

An example application built with dart_frog

[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
[license_link]: https://opensource.org/licenses/MIT
2 changes: 1 addition & 1 deletion bricks/create_dart_frog/hooks/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include: package:very_good_analysis/analysis_options.yaml
include: ../../../analysis_options.yaml
1 change: 0 additions & 1 deletion bricks/create_dart_frog/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ dependencies:
dev_dependencies:
mocktail: ^1.0.0
test: ^1.25.0
very_good_analysis: ^9.0.0
6 changes: 1 addition & 5 deletions bricks/dart_frog_dev_server/hooks/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
include: package:very_good_analysis/analysis_options.yaml
linter:
rules:
# Experimental and there are lots of false positives
specify_nonobvious_property_types: false
include: ../../../analysis_options.yaml
1 change: 0 additions & 1 deletion bricks/dart_frog_dev_server/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ dev_dependencies:
mocktail: ^1.0.0
path: ^1.8.2
test: ^1.25.0
very_good_analysis: ^9.0.0
4 changes: 1 addition & 3 deletions bricks/dart_frog_new/hooks/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
include: package:very_good_analysis/analysis_options.yaml
include: ../../../analysis_options.yaml

linter:
rules:
public_member_api_docs: false
# Experimental and there are lots of false positives
specify_nonobvious_property_types: false
1 change: 0 additions & 1 deletion bricks/dart_frog_new/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ dependencies:
dev_dependencies:
mocktail: ^1.0.0
test: ^1.19.2
very_good_analysis: ^9.0.0
6 changes: 2 additions & 4 deletions bricks/dart_frog_prod_server/hooks/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
include: package:very_good_analysis/analysis_options.yaml
include: ../../../analysis_options.yaml
linter:
rules:
public_member_api_docs: false
# Experimental and there are lots of false positives
specify_nonobvious_property_types: false
public_member_api_docs: false
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import 'dart:io' as io;

const _asyncRunZoned = runZoned;

void defaultExit(int code) => ExitOverrides.current?.exit ?? io.exit;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cherry picked this to fix coverage from #1825


abstract class ExitOverrides {
static final _token = Object();

Expand Down
4 changes: 1 addition & 3 deletions bricks/dart_frog_prod_server/hooks/post_gen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ import 'package:dart_frog_prod_server_hooks/dart_frog_prod_server_hooks.dart';
import 'package:mason/mason.dart' show HookContext, lightCyan;
import 'package:path/path.dart' as path;

void _defaultExit(int code) => ExitOverrides.current?.exit ?? io.exit;

Future<void> run(HookContext context) => postGen(context);

Future<void> postGen(
HookContext context, {
io.Directory? directory,
ProcessRunner runProcess = io.Process.run,
void Function(int exitCode) exit = _defaultExit,
void Function(int exitCode) exit = defaultExit,
}) async {
final projectDirectory = directory ?? io.Directory.current;
final buildDirectoryPath = path.join(projectDirectory.path, 'build');
Expand Down
4 changes: 1 addition & 3 deletions bricks/dart_frog_prod_server/hooks/pre_gen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ typedef RouteConfigurationBuilder = RouteConfiguration Function(
io.Directory directory,
);

void _defaultExit(int code) => ExitOverrides.current?.exit ?? io.exit;

Future<void> run(HookContext context) => preGen(context);

Future<void> preGen(
HookContext context, {
io.Directory? directory,
ProcessRunner runProcess = io.Process.run,
RouteConfigurationBuilder buildConfiguration = buildRouteConfiguration,
void Function(int exitCode) exit = _defaultExit,
void Function(int exitCode) exit = defaultExit,
Future<void> Function(String from, String to) copyPath = io_expanded.copyPath,
}) async {
final projectDirectory = directory ?? io.Directory.current;
Expand Down
1 change: 0 additions & 1 deletion bricks/dart_frog_prod_server/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ dependencies:
dev_dependencies:
mocktail: ^1.0.0
test: ^1.25.0
very_good_analysis: ^9.0.0
6 changes: 3 additions & 3 deletions examples/basic_authentication/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# basic authentication example

[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Dart Frog](https://img.shields.io/endpoint?url=https://tinyurl.com/dartfrog-badge)](https://dart-frog.dev)

An example for how to use basic authentication with Dart Frog.

[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
6 changes: 3 additions & 3 deletions examples/bearer_authentication/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# bearer authentication example

[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Dart Frog](https://img.shields.io/endpoint?url=https://tinyurl.com/dartfrog-badge)](https://dart-frog.dev)

An example for how to use bearer authentication with Dart Frog.

[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
6 changes: 3 additions & 3 deletions examples/counter/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# counter

[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Dart Frog](https://img.shields.io/endpoint?url=https://tinyurl.com/dartfrog-badge)](https://dart-frog.dev)

An example counter app built with `dart_frog`.

[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
8 changes: 4 additions & 4 deletions examples/echo/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# echo

[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Dart Frog](https://img.shields.io/endpoint?url=https://tinyurl.com/dartfrog-badge)](https://dart-frog.dev)

An example echo app built with `dart_frog`.

[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
[license_link]: https://opensource.org/licenses/MIT
6 changes: 3 additions & 3 deletions examples/hello_world/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Hello World

[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Dart Frog](https://img.shields.io/endpoint?url=https://tinyurl.com/dartfrog-badge)](https://dart-frog.dev)

A hello world example app built with `dart_frog`.

[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
6 changes: 3 additions & 3 deletions examples/kitchen_sink/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Kitchen Sink

[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Dart Frog](https://img.shields.io/endpoint?url=https://tinyurl.com/dartfrog-badge)](https://dart-frog.dev)

A kitchen sink example app built with `dart_frog`.

[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
6 changes: 3 additions & 3 deletions examples/todos/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# todos

[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Dart Frog](https://img.shields.io/endpoint?url=https://tinyurl.com/dartfrog-badge)](https://dart-frog.dev)

An example todos app built with `dart_frog`.

[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ open coverage/index.html
[logo_black]: https://raw.githubusercontent.com/VGVentures/very_good_brand/main/styles/README/vgv_logo_black.png#gh-light-mode-only
[logo_white]: https://raw.githubusercontent.com/VGVentures/very_good_brand/main/styles/README/vgv_logo_white.png#gh-dark-mode-only
[mason_link]: https://github.com/felangel/mason
[very_good_coverage_link]: https://github.com/marketplace/actions/very-good-coverage
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
[very_good_coverage_link]: https://github.com/marketplace/actions/very-good-coverage
[very_good_ventures_link]: https://verygood.ventures
[very_good_ventures_link_light]: https://verygood.ventures#gh-light-mode-only
[very_good_ventures_link_dark]: https://verygood.ventures#gh-dark-mode-only
Expand Down
6 changes: 3 additions & 3 deletions packages/dart_frog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![ci][ci_badge]][ci_link]
[![coverage][coverage_badge]][ci_link]
[![pub package][pub_badge]][pub_link]
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]

A fast, minimalistic backend framework for Dart 🎯
Expand Down Expand Up @@ -70,6 +70,8 @@ View the full documentation [here][docs_link].
[coverage_badge]: https://raw.githubusercontent.com/dart-frog-dev/dart_frog/main/packages/dart_frog/coverage_badge.svg
[credits_link]: https://github.com/dart-frog-dev/dart_frog/blob/main/CREDITS.md#acknowledgments
[dart_badge]: https://img.shields.io/badge/Dart-%230175C2.svg?style=for-the-badge&logo=dart&logoColor=5BB4F0&color=1E2833
[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[dart_link]: https://dart.dev
[dart_installation_link]: https://dart.dev/get-dart
[discord_badge]: https://img.shields.io/discord/1394707782271238184?style=for-the-badge&logo=discord&color=1C2A2E&logoColor=1DF9D2
Expand All @@ -81,6 +83,4 @@ View the full documentation [here][docs_link].
[logo_white]: https://raw.githubusercontent.com/dart-frog-dev/dart_frog/main/assets/dart_frog_logo_white.png#gh-dark-mode-only
[pub_badge]: https://img.shields.io/pub/v/dart_frog.svg
[pub_link]: https://pub.dartlang.org/packages/dart_frog
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
[very_good_ventures_link]: https://verygood.ventures
6 changes: 1 addition & 5 deletions packages/dart_frog/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
include: package:very_good_analysis/analysis_options.yaml
linter:
rules:
# Experimental and there are lots of false positives
specify_nonobvious_property_types: false
include: ../../analysis_options.yaml
1 change: 0 additions & 1 deletion packages/dart_frog/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dev_dependencies:
mocktail: ^1.0.0
path: ^1.8.2
test: ^1.19.2
very_good_analysis: ^9.0.0

false_secrets:
- test/src/serve_test.dart
6 changes: 3 additions & 3 deletions packages/dart_frog_auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![ci][ci_badge]][ci_link]
[![coverage][coverage_badge]][ci_link]
[![pub package][pub_badge]][pub_link]
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]

Header Authorization support for [Dart Frog][dart_frog_link].
Expand All @@ -28,6 +28,8 @@ Learn more about it on the [official docs][docs_link].
[credits_link]: https://github.com/dart-frog-dev/dart_frog/blob/main/CREDITS.md#acknowledgments
[coverage_badge]: https://raw.githubusercontent.com/dart-frog-dev/dart_frog/main/packages/dart_frog_web_socket/coverage_badge.svg
[dart_badge]: https://img.shields.io/badge/Dart-%230175C2.svg?style=for-the-badge&logo=dart&logoColor=5BB4F0&color=1E2833
[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[dart_link]: https://dart.dev
[dart_frog_link]: https://github.com/dart-frog-dev/dart_frog
[discord_badge]: https://img.shields.io/discord/1394707782271238184?style=for-the-badge&logo=discord&color=1C2A2E&logoColor=1DF9D2
Expand All @@ -39,6 +41,4 @@ Learn more about it on the [official docs][docs_link].
[logo_white]: https://raw.githubusercontent.com/dart-frog-dev/dart_frog/main/assets/dart_frog_logo_white.png#gh-dark-mode-only
[pub_badge]: https://img.shields.io/pub/v/dart_frog_auth.svg
[pub_link]: https://pub.dartlang.org/packages/dart_frog_auth
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
[very_good_ventures_link]: https://verygood.ventures
6 changes: 1 addition & 5 deletions packages/dart_frog_auth/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
include: package:very_good_analysis/analysis_options.yaml
linter:
rules:
# Experimental and there are lots of false positives
specify_nonobvious_property_types: false
include: ../../analysis_options.yaml
1 change: 0 additions & 1 deletion packages/dart_frog_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ dependencies:
dev_dependencies:
mocktail: ^1.0.0
test: ^1.19.2
very_good_analysis: ^9.0.0
6 changes: 3 additions & 3 deletions packages/dart_frog_cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![ci][ci_badge]][ci_link]
[![coverage][coverage_badge]][ci_link]
[![pub package][pub_badge]][pub_link]
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![style: dart frog lint][dart_frog_lint_badge]][dart_frog_lint_link]
[![License: MIT][license_badge]][license_link]
[![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason)

Expand Down Expand Up @@ -49,6 +49,8 @@ Learn more about it on the [official docs][docs_link].
[dart_badge]: https://img.shields.io/badge/Dart-%230175C2.svg?style=for-the-badge&logo=dart&logoColor=5BB4F0&color=1E2833
[dart_link]: https://dart.dev
[dart_frog_link]: https://github.com/dart-frog-dev/dart_frog
[dart_frog_lint_badge]: https://img.shields.io/badge/style-dart_frog_lint-1DF9D2.svg
[dart_frog_lint_link]: https://pub.dev/packages/dart_frog_lint
[discord_badge]: https://img.shields.io/discord/1394707782271238184?style=for-the-badge&logo=discord&color=1C2A2E&logoColor=1DF9D2
[discord_link]: https://discord.gg/dart-frog
[docs_link]: https://dart-frog.dev/getting-started
Expand All @@ -58,6 +60,4 @@ Learn more about it on the [official docs][docs_link].
[logo_white]: https://raw.githubusercontent.com/dart-frog-dev/dart_frog/main/assets/dart_frog_logo_white.png#gh-dark-mode-only
[pub_badge]: https://img.shields.io/pub/v/dart_frog_cli.svg
[pub_link]: https://pub.dartlang.org/packages/dart_frog_cli
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
[very_good_ventures_link]: https://verygood.ventures
6 changes: 1 addition & 5 deletions packages/dart_frog_cli/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
include: package:very_good_analysis/analysis_options.yaml
include: ../../analysis_options.yaml
analyzer:
exclude:
- lib/src/version.dart
linter:
rules:
# Experimental and there are lots of false positives
specify_nonobvious_property_types: false
2 changes: 1 addition & 1 deletion packages/dart_frog_cli/e2e/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include: package:very_good_analysis/analysis_options.yaml
include: ../../../analysis_options.yaml
1 change: 0 additions & 1 deletion packages/dart_frog_cli/e2e/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ dev_dependencies:
meta: ^1.7.0
path: ^1.8.2
test: ^1.19.2
very_good_analysis: ^9.0.0
Loading
Loading