@@ -100,8 +100,8 @@ To use these lints create an `analysis_options.yaml` file with:
100100`include: package:lints/core.yaml`.
101101
102102<!-- core -->
103- | Lint Rules | Description | Fix |
104- | :--------- | :---------- | --- |
103+ | Lint Rules | Description | [ Fix][] |
104+ | :--------- | :---------- | ------- |
105105| [`avoid_empty_else`](https://dart.dev/lints/avoid_empty_else) | Avoid empty else statements. | ✅ |
106106| [`avoid_relative_lib_imports`](https://dart.dev/lints/avoid_relative_lib_imports) | Avoid relative imports for files in `lib/`. | ✅ |
107107| [`avoid_shadowing_type_parameters`](https://dart.dev/lints/avoid_shadowing_type_parameters) | Avoid shadowing type parameters. | |
@@ -138,8 +138,8 @@ To use these lints create an `analysis_options.yaml` file with:
138138`include: package:lints/recommended.yaml`.
139139
140140<!-- recommended -->
141- | Lint Rules | Description | Fix |
142- | :--------- | :---------- | --- |
141+ | Lint Rules | Description | [ Fix][] |
142+ | :--------- | :---------- | ------- |
143143| [`annotate_overrides`](https://dart.dev/lints/annotate_overrides) | Annotate overridden members. | ✅ |
144144| [`avoid_function_literals_in_foreach_calls`](https://dart.dev/lints/avoid_function_literals_in_foreach_calls) | Avoid using `forEach` with a function literal. | ✅ |
145145| [`avoid_init_to_null`](https://dart.dev/lints/avoid_init_to_null) | Don't explicitly initialize variables to null. | ✅ |
@@ -206,3 +206,4 @@ To use these lints create an `analysis_options.yaml` file with:
206206[linter repo]: https://github.com/dart-lang/linter
207207[`package:pedantic`]: https://pub.dev/packages/pedantic
208208[`package:flutter_lints`]: https://pub.dev/packages/flutter_lints
209+ [Fix]: https://dart.dev/tools/dart-fix
0 commit comments