76 Commits

Author SHA1 Message Date
Alexandre Ardhuin e6935efdf6 remove avoid_as lint for the upcoming implicit-casts: false (#45527) 2019-11-25 21:03:29 +01:00
Shi-Hao Hong 3e4bf5757d Update Stocks example using i18n tool (#44223)
* Use l10n tool to generate stocks i18n files

* Rename *_en_EN.arb to *_en_US.arb

* Fix l10n script
2019-11-06 12:52:03 -08:00
Alexandre Ardhuin df4bf453ab more UI-as-code (#35516) 2019-09-17 16:23:44 +02:00
Alexandre Ardhuin b041a589c8 enable lint prefer_if_null_operators (#35745) 2019-07-09 10:53:35 +02:00
Alexandre Ardhuin 919dcf53f3 enable lints prefer_spread_collections and prefer_inlined_adds (#35189) 2019-06-27 21:23:16 +02:00
Alexandre Ardhuin b5ce06163c enable lint use_full_hex_values_for_flutter_colors (#35056) 2019-06-25 17:58:19 +02:00
Alexandre Ardhuin fecf99ff1e enable lint avoid_bool_literals_in_conditional_expressions (#35055) 2019-06-25 17:40:05 +02:00
Alexandre Ardhuin 9a3a7490c8 sync lint list (#35017) 2019-06-25 15:59:15 +02:00
Alexandre Ardhuin c0125cb44a fix bad lint commented out (#33026) 2019-05-20 17:00:45 +02:00
Alexandre Ardhuin 4fa32df141 use null aware operators (#32711)
* use null aware operators

* rollback changes about null-aware operator

* disable lint prefer_is_not_empty
2019-05-16 22:25:51 +02:00
Alexandre Ardhuin 41b9abdc32 enable lint prefer_null_aware_operators (#32686) 2019-05-14 22:34:49 +02:00
Dan Field fe9512fa72 Re-enable const (#31600)
* Re-enable const
2019-04-29 16:02:42 -07:00
Dan Field 06e1f8fc15 Roll engine to 3e47b4bb39bb4993f03a278ea7b1c11ee6459b06 (#31569)
* Manual roll with updated test
2019-04-24 17:20:02 -07:00
Phil Quitslund 802eca29d2 set literal conversions (#27811) 2019-03-06 11:05:16 -08:00
Jason Simmons b6996ef326 Disable prefer_collection_literals in the analyzer until we can update to using set literals (#28024) 2019-02-15 15:54:16 -08:00
Phil Quitslund 9e3a0d30c9 remove super_goes_last (#27690)
In Dart 2, it is a compile-time error if a superinitializer
appears in an initializer list at any other position than at the end so this
rule is made redundant by the Dart analyzer's basic checks and is no longer
necessary.
2019-02-08 13:46:01 -08:00
Dan Field 8af3e480a9 Revert "move analysis_options to package" (#26436)
* Revert "move analysis_options to package (#26244)"

This reverts commit d4d1b29a35.
2019-01-11 13:38:02 -08:00
Dan Field d4d1b29a35 move analysis_options to package (#26244)
* move analysis_options to package
2019-01-10 18:53:01 -08:00
Alexandre Ardhuin 3a37b9e0f5 update lint list (#25922) 2019-01-06 21:07:41 +01:00
Siva b1109226d8 Address code review comment. (#25995) 2019-01-03 10:55:50 -08:00
Alexander Aprelev fe1a51ab89 Flutter engine roll with dart roll (#25815) 2018-12-27 14:55:07 -08:00
Paul Berry 280bbefd29 Remove deprecated lint "prefer_bool_in_asserts". (#24890)
In Dart 2, asserts no longer accept non-bool values so this rule is
made redundant by the Dart analyzer's basic checks and is no longer
necessary.

The rule will be removed in a future Linter release.
2018-12-10 13:43:02 -08:00
Alexandre Ardhuin 79b5e5bc8a Add missing lints (#24381)
* update lint list

* enable sort_pub_dependencies

* enable avoid_returning_null_for_void

* enable flutter_style_todos
2018-11-19 10:37:55 +01:00
Yegor 3fbd140e77 Use new mixin syntax for super-mixins (#22870)
This re-lands 3c56e6c on top of a new Dart SDK that contains new mixin syntax fixes.
2018-10-17 13:10:05 -07:00
Alexandre Ardhuin 936dea28da enable lint prefer_void_to_null (#23174)
* enable lint prefer_void_to_null

* replace last Null by void
2018-10-17 08:09:29 +02:00