Skip to content

Commit

Permalink
Enable unnecessary_library_directive
Browse files Browse the repository at this point in the history
  • Loading branch information
passsy committed May 11, 2023
1 parent a66b993 commit d781fa5
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 @@ -995,6 +995,13 @@ linter:
# https://dart-lang.github.io/linter/lints/unnecessary_late.html
- unnecessary_late

# New library syntax, time to migrate
#
# Dart SDK: 2.19.0 • (Linter v1.29.0)
#
# https://dart-lang.github.io/linter/lints/unnecessary_library_directive.html
- unnecessary_library_directive

# Remove the optional `new` keyword
#
# https://dart-lang.github.io/linter/lints/unnecessary_new.html
Expand Down
7 changes: 7 additions & 0 deletions lib/strict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,13 @@ linter:
# https://dart-lang.github.io/linter/lints/unnecessary_late.html
- unnecessary_late

# New library syntax, time to migrate
#
# Dart SDK: 2.19.0 • (Linter v1.29.0)
#
# https://dart-lang.github.io/linter/lints/unnecessary_library_directive.html
- unnecessary_library_directive

# Remove the optional `new` keyword
#
# https://dart-lang.github.io/linter/lints/unnecessary_new.html
Expand Down

0 comments on commit d781fa5

Please sign in to comment.