Commit graph

138 commits

Author SHA1 Message Date
Ian Hickson f25b833f27
Enable avoid_print lint. (#91444) 2021-10-07 16:48:04 -07:00
Mouad Debbar c2ea78d231
Revert "Enable avoid_print lint. (#91332)" (#91438)
This reverts commit cb378edc9e.
2021-10-07 16:16:17 -04:00
Ian Hickson cb378edc9e
Enable avoid_print lint. (#91332) 2021-10-07 09:53:03 -07:00
Danny Tuppeny 39f5769cd8
Suppress diagnostics from // HACK comments (#91301)
* Suppress diagnostics from // HACK comments
2021-10-06 08:10:37 +01:00
Ian Hickson 2bab6514b0
Enable avoid_implementing_value_types lint (#91078) 2021-10-04 13:48:04 -07:00
Ian Hickson 989f864497
Enable avoid_setters_without_getters (#91067) 2021-10-01 00:58:05 -07:00
Sam Rawlins 8889ffaec3
Remove and also ignore unnecessary imports (#89796) 2021-09-14 15:32:02 -07:00
Phil Quitslund 975fcc1f2f
master->main deafult branch migration (#89782) 2021-09-10 15:42:03 -07:00
Greg Spencer 88f3811055
Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. (#84476)
This adds avoid_dynamic_calls to the list of lints, and fixes all instances where it was violated.

Importantly, this lint is NOT turned on for flutter/packages/test, because those changes are happening in another PR: #84478
2021-06-14 14:16:57 -07:00
Alexandre Ardhuin cfc08594d9
enable lint use_test_throws_matchers (#83943) 2021-06-03 22:14:03 -07:00
Alexandre Ardhuin 32540774c0
enable lint noop_primitive_operations (#83930) 2021-06-03 17:34:10 -07:00
Alexandre Ardhuin 34059eec2c
enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -07:00
Christopher Fujino 62d00c6d5f
Migrate flutter conductor out of dev/tools and into its own directory (#83313)
* Migrate flutter conductor out of dev/tools and into its own directory

* flesh out documentation

* fix analysis options

* fix integration test
2021-05-25 16:12:53 -07:00
Hattomo (TomohiroHattori) 08a70e7ac8
Enable avoid_escaping_inner_quotes lint (#81153) 2021-05-19 09:54:02 -07:00
Abhishek Ghaskata b554f893bd
Enable unnecessary_null_checks lint (#82084) 2021-05-14 10:44:03 -07:00
Abhishek Ghaskata 254c9f1755
Enable use_named_constants_lint (#82426) 2021-05-13 13:29:06 -07:00
Michael Goderbauer 2bf42e7047
clean-up analysis_options.yaml's across the repository (#81986) 2021-05-10 23:44:02 -07:00
Michael Goderbauer b8a2456737
Enable library_private_types_in_public_api lint (#81578) 2021-05-10 16:26:16 -07:00
Phil Quitslund 44157cf99d
re-enable directives_ordering (#81544) 2021-04-30 17:29:04 -07:00
Phil Quitslund 2cc367fbcb
(temp) disable sort_directives (#81220) 2021-04-27 10:04:02 -07:00
Christopher Fujino 4a7f280687
[flutter_conductor] Add "start", "status", "clean" commands to conductor release tool (#80528) 2021-04-19 15:04:04 -07:00
Jehun Seem(심제훈) 78a1a0cd74
Spell check for analysis_options.yaml (#78388) 2021-03-17 11:05:03 -07:00
Kate Lovett fd890292c5
Enable deprecation consistency (#77113) 2021-03-08 12:49:03 -08:00
Michael Goderbauer cb867bbedc
Enable unnecessary_await_in_return lint (#77434) 2021-03-05 18:38:15 -08:00
Michael Goderbauer 807bb29888
enable prefer_function_declarations_over_variables lint (#77398) 2021-03-05 18:29:04 -08:00
Michael Goderbauer ed755fba5e
Enable avoid_unnecessary_containers lint (#77294) 2021-03-04 15:29:03 -08:00
Michael Goderbauer 7b251f5f37
Enable use_function_type_syntax_for_parameters lint (#77163) 2021-03-04 08:59:17 -08:00
Greg Spencer c6ef4c75d9
Turn on sized_box_for_whitespace lint, fix instances. (#77099) 2021-03-03 17:29:02 -08:00
Michael Goderbauer 0f91f0d48a
Clean-up analysis_options files (#77098) 2021-03-02 21:14:03 -08:00
Michael Goderbauer d3209379ba
enable provide_deprecation_message (#77106) 2021-03-02 16:34:05 -08:00
Michael Goderbauer 6586a069bc
enable prefer_null_aware_operators (#77105) 2021-03-02 16:14:03 -08:00
Michael Goderbauer ea8e61618a
Enable null_closures (#77095) 2021-03-02 15:25:31 -08:00
Michael Goderbauer 7e017d318e
Enable file_names and package_names lints (#77087) 2021-03-02 15:24:04 -08:00
Michael Goderbauer 0f568298d8
enable use_key_in_widget_constructors lint (#77032) 2021-03-02 10:14:02 -08:00
Michael Goderbauer 1512af7884
Sync lints (#77012) 2021-03-02 08:34:03 -08:00
Michael Goderbauer fc99e7c0d7
Enable missing_whitespace_between_adjacent_strings (#77027) 2021-03-01 18:30:17 -08:00
Michael Goderbauer 3594d1aa47
Enable avoid_type_to_string lint (#77013) 2021-03-01 15:50:04 -08:00
Kate Lovett e9a8315fd2
Remove deprecated CupertinoTextThemeData.brightness (#72017) 2020-12-15 12:48:04 -08:00
Ian Hickson 6cff33832e
More lints (#70500) 2020-11-16 11:07:37 -08:00
Alexandre Ardhuin 17cdf5559d
enable unnecessary_string_escapes and use_raw_strings (#68302) (#69025) 2020-10-26 12:42:05 -07:00
Zachary Anderson cbcd1321ed
Revert "enable unnecessary_string_escapes and use_raw_strings (#68302)" (#68714)
This reverts commit ae06c19a37.
2020-10-21 08:16:13 -07:00
Alexandre Ardhuin ae06c19a37
enable unnecessary_string_escapes and use_raw_strings (#68302) 2020-10-21 16:34:24 +02:00
Alexandre Ardhuin c0176c9ee5
use_is_even_rather_than_modulo (#68301) 2020-10-16 20:20:00 +02:00
Alexandre Ardhuin 73301a35a2
Sync lints (#68136) 2020-10-15 15:37:04 -07:00
Alexandre Ardhuin 4acc790252
enable lint cast_nullable_to_non_nullable (#67629) 2020-10-08 21:05:43 +02:00
Alexandre Ardhuin d2858f00dd
enable null_check_on_nullable_type_parameter and tighten_type_of_initializing_formals (#67557)
* enable null_check_on_nullable_type_parameter and tighten_type_of_initializing_formals

* fix CI
2020-10-08 09:39:13 +02:00
Phil Quitslund 1fef5912cf
disable pub lints (#66522)
* disable pub lints

* + comments
2020-09-23 21:37:08 -07:00
Alexandre Ardhuin 71c1f6c3e4
enable lint unnecessary_nullable_for_final_variable_declarations (#66387) 2020-09-23 06:39:47 +02:00
Ian Hickson 8a6a76a334
migrate rendering to nullsafety (#64621) 2020-08-27 16:38:10 -07:00
Christopher Fujino 5cfb16b193
Re-land "Deprecate WhitelistingTextInputFormatter and BlacklistingTextInputFormatter (#59120)" (#59876)
This relands #59120, which was reverted in #59870.
2020-06-19 12:03:38 -07:00