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

Fix linter messages found in VSCode #409

Closed
Closed
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
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ See the [package:shelf readme](pkgs/shelf/) for more information.
## Publishing automation

For information about our publishing automation and release process, see
https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.
<https://github.com/dart-lang/ecosystem/wiki/Publishing-automation>.

2 changes: 2 additions & 0 deletions pkgs/shelf_proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ mounted within a larger application to proxy only certain URLs.

[Shelf]: https://pub.dev/packages/shelf

## Example

```dart
import 'package:shelf/shelf_io.dart' as shelf_io;
import 'package:shelf_proxy/shelf_proxy.dart';
Expand Down
11 changes: 6 additions & 5 deletions pkgs/shelf_router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ var server = await io.serve(app, 'localhost', 8080);
See reference documentation of `Router` class for more information.

## See also
* Package [`shelf`][shelf] for which this package can create routers.
* Package [`shelf_router_generator`][shelf_router_generator] which can generate

* Package [`shelf`][shelf] for which this package can create routers.
* Package [`shelf_router_generator`][shelf_router_generator] which can generate
a router using source code annotations.
* Third-party tutorial by [creativebracket.com]:
* Video: [Build RESTful Web APIs with shelf_router][1]
* Sample: [repository for tutorial][2]
* Third-party tutorial by [creativebracket.com]:
* Video: [Build RESTful Web APIs with shelf_router][1]
* Sample: [repository for tutorial][2]

[shelf]: https://pub.dev/packages/shelf
[shelf_router_generator]: https://pub.dev/packages/shelf_router_generator
Expand Down
2 changes: 0 additions & 2 deletions pkgs/shelf_router_generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,3 @@ void main() async {
var server = await io.serve(router.handler, 'localhost', 8080);
}
```


3 changes: 2 additions & 1 deletion pkgs/shelf_static/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

`shelf_static` is a `Handler` for the Dart `shelf` package.

### Example
## Example

```dart
import 'package:shelf/shelf_io.dart' as io;
import 'package:shelf_static/shelf_static.dart';
Expand Down
2 changes: 2 additions & 0 deletions pkgs/shelf_test_handler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ HTTP server, whose URL can be passed to client code.
[ShelfTestHandler]: https://www.dartdocs.org/documentation/shelf_test_handler/latest/shelf_test_handler/ShelfTestHandler-class.html
[ShelfTestServer]: https://www.dartdocs.org/documentation/shelf_test_handler/latest/shelf_test_handler/ShelfTestServer-class.html

## Example

```dart
import 'package:shelf/shelf.dart' as shelf;
import 'package:shelf_test_handler/shelf_test_handler.dart';
Expand Down
2 changes: 2 additions & 0 deletions pkgs/shelf_web_socket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ connection that's established.

[WebSocketChannel]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel-class.html

## Example

```dart
import 'package:shelf/shelf_io.dart' as shelf_io;
import 'package:shelf_web_socket/shelf_web_socket.dart';
Expand Down