Skip to content

Commit

Permalink
Enable library_annotations
Browse files Browse the repository at this point in the history
Update to Linter v1.30.0
  • Loading branch information
passsy committed May 11, 2023
1 parent d781fa5 commit b5fca62
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/casual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,13 @@ linter:
# https://dart-lang.github.io/linter/lints/leading_newlines_in_multiline_strings.html
- leading_newlines_in_multiline_strings

# Library annotations must be attached to the `library` keyword
#
# Dart SDK: 2.19 • (Linter v1.30.0)
#
# https://dart-lang.github.io/linter/lints/library_annotations.html
- library_annotations

# Makes sure a library name is a valid dart identifier.
# This comes in handy for test files combining multiple tests where the file name can be used as identifier
#
Expand Down
7 changes: 7 additions & 0 deletions lib/strict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,13 @@ linter:
# https://dart-lang.github.io/linter/lints/leading_newlines_in_multiline_strings.html
- leading_newlines_in_multiline_strings

# Library annotations must be attached to the `library` keyword
#
# Dart SDK: 2.19 • (Linter v1.30.0)
#
# https://dart-lang.github.io/linter/lints/library_annotations.html
- library_annotations

# Makes sure a library name is a valid dart identifier.
# This comes in handy for test files combining multiple tests where the file name can be used as identifier
#
Expand Down

0 comments on commit b5fca62

Please sign in to comment.