Move to pkg:dart_flutter_team_lints (dart-lang/markdown#518)

diff --git a/pkgs/markdown/analysis_options.yaml b/pkgs/markdown/analysis_options.yaml
index 2fcba90..afb26cd 100644
--- a/pkgs/markdown/analysis_options.yaml
+++ b/pkgs/markdown/analysis_options.yaml
@@ -1,5 +1,5 @@
 # https://dart.dev/guides/language/analysis-options
-include: package:lints/recommended.yaml
+include: package:dart_flutter_team_lints/analysis_options.yaml
 
 analyzer:
   language:
@@ -8,6 +8,8 @@
     strict-raw-types: true
 
   errors:
+    # 41 cases to clean up
+    lines_longer_than_80_chars: ignore
     # The example app explicitly takes a String of user-generated HTML and
     # inserts it straight into a <div> using innerHtml.
     unsafe_html: ignore
@@ -16,35 +18,21 @@
   rules:
     # https://github.com/dart-lang/linter/issues/574
     #- comment_references
-    - always_declare_return_types
-    - avoid_catching_errors
-    - avoid_dynamic_calls
     - avoid_private_typedef_functions
     - avoid_redundant_argument_values
     - avoid_unused_constructor_parameters
     - avoid_void_async
     - cancel_subscriptions
-    - directives_ordering
     - literal_only_boolean_expressions
     - missing_whitespace_between_adjacent_strings
     - no_adjacent_strings_in_list
-    - omit_local_variable_types
-    - only_throw_errors
     - package_api_docs
-    - prefer_asserts_in_initializer_lists
     - prefer_const_constructors
     - prefer_const_declarations
     - prefer_final_locals
     - prefer_relative_imports
-    - prefer_single_quotes
-    - sort_pub_dependencies
     - test_types_in_equals
-    - throw_in_finally
-    - type_annotate_public_apis
-    - unawaited_futures
     - unnecessary_await_in_return
-    - unnecessary_lambdas
-    - unnecessary_parenthesis
     - unnecessary_raw_strings
     - use_if_null_to_convert_nulls_to_bools
     - use_raw_strings
diff --git a/pkgs/markdown/lib/src/util.dart b/pkgs/markdown/lib/src/util.dart
index 4073445..ddeb22f 100644
--- a/pkgs/markdown/lib/src/util.dart
+++ b/pkgs/markdown/lib/src/util.dart
@@ -161,7 +161,7 @@
     final whitespaces = whitespaceMatch?[0];
     if (whitespaces != null) {
       var indentLength = 0;
-      for (start; start < whitespaces.length; start++) {
+      for (; start < whitespaces.length; start++) {
         final isTab = whitespaces[start] == '\t';
         if (isTab) {
           indentLength += tabSize;
diff --git a/pkgs/markdown/pubspec.yaml b/pkgs/markdown/pubspec.yaml
index b085576..0e233de 100644
--- a/pkgs/markdown/pubspec.yaml
+++ b/pkgs/markdown/pubspec.yaml
@@ -20,11 +20,11 @@
   build_version: ^2.0.3
   build_web_compilers: '>=3.0.0 <5.0.0'
   collection: ^1.15.0
+  dart_flutter_team_lints: ^0.1.0
   html: ^0.15.0
   http: ^0.13.5
   io: ^1.0.0
   js: ^0.6.3
-  lints: ^2.0.0
   path: ^1.8.0
   pool: ^1.5.1
   tar: ^0.5.5+1