Bump lints from 3.0.0 to 4.0.0 (#4265)

Bumps [lints](https://github.com/dart-lang/lints) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/dart-lang/lints/releases)
- [Changelog](https://github.com/dart-lang/lints/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/lints/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: lints
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
diff --git a/pubspec.yaml b/pubspec.yaml
index 4a3f3b8..d6d87ab 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -29,7 +29,7 @@
 
 dev_dependencies:
   checks: ^0.3.0
-  lints: ^3.0.0
+  lints: ^4.0.0
   shelf_test_handler: ^2.0.2
   test: ^1.24.9
   test_descriptor: ^2.0.1