Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Fix unclosed code block in directives_ordering details (#2745)
Browse files Browse the repository at this point in the history
Also switches import mentions from quotes to inline code blocks
  • Loading branch information
parlough authored Jul 6, 2021
1 parent 5a310b7 commit 501f0a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/rules/directives_ordering.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const _details = r'''
**DO** follow the conventions in the
[Effective Dart Guide](https://dart.dev/guides/language/effective-dart/style#ordering)
**DO** place dart: imports before other imports.
**DO** place `dart:` imports before other imports.
**BAD:**
```dart
Expand Down Expand Up @@ -42,7 +42,7 @@ import 'package:bar/bar.dart';
import 'package:foo/foo.dart';
```
**DO** place package: imports before relative imports.
**DO** place `package:` imports before relative imports.
**BAD:**
```dart
Expand Down Expand Up @@ -106,7 +106,7 @@ import 'package:foo/bar.dart'; // OK
import 'a.dart'; // OK
import 'a/b.dart'; // OK
```
''';
const _directiveSectionOrderedAlphabetically =
'Sort directive sections alphabetically.';
Expand Down

0 comments on commit 501f0a3

Please sign in to comment.