Commit graph

122 commits

Author SHA1 Message Date
Alexandre Ardhuin f8998091c8
Add new lints added by linter-0.1.45 and linter-0.1.46 (#16094)
* add new lints from linter-0.1.45

* add new lints from linter-0.1.46
2018-04-03 08:51:23 +02:00
Alexandre Ardhuin 061352918b
enable lint avoid_relative_lib_imports (#15780) 2018-03-22 07:56:18 +01:00
Alexandre Ardhuin 217b2bdaa1
add new lints of linter-0.1.44 and enable unnecessary_parenthesis (#15585) 2018-03-21 07:10:14 +01:00
Alexandre Ardhuin 3961306bad enable lints prefer_const_declarations and prefer_const_literals_to_create_immutables (#14848) 2018-03-09 14:37:06 -08:00
Alexandre Ardhuin fe26c9d87b
complete lint list for linter-0.1.43 (#14707) 2018-02-16 07:44:24 +01:00
Alexandre Ardhuin b8fcc96265
activate lint prefer_bool_in_asserts (#14708) 2018-02-15 06:14:13 +01:00
Michael Thomsen 62ea62a729
Remove enableAssertInitializer from analysis options as it's not needed in Dart 2 (#14042) 2018-01-11 16:52:34 +01:00
Alexandre Ardhuin c358898a76
try lint avoid_unused_constructor_parameters (#13250) 2017-11-30 09:20:53 +01:00
Alexandre Ardhuin 1d7a22fba0
sort lints to make maintenance easier (#13231) 2017-11-29 07:54:44 +01:00
Michael Thomsen 5ecbc92b1a
Update tools reference (#13151) 2017-11-23 09:17:29 +01:00
Alexandre Ardhuin aefc62f8f3
try some lints (#12719)
* try some lints

* remove avoid_returning_this rule
2017-11-10 07:49:44 +01:00
Alexandre Ardhuin 436aa93086
enable lint avoid_classes_with_only_static_members (#12602) 2017-11-09 07:12:36 +01:00
Alexandre Ardhuin 15601fe55c
Enable lint prefer asserts in initializer lists (#12903)
* enable lint prefer_asserts_in_initializer_lists

* enable --assert-initializer
2017-11-08 22:59:49 +01:00
Alexandre Ardhuin c9b94e1412 enable lint prefer_const_constructors_in_immutables (#12693)
* enable lint prefer_const_constructors_in_immutables

* remove LabeledGlobalKey._
2017-10-25 11:20:36 +02:00
Alexandre Ardhuin 28366002d9 enable lint prefer_foreach (#12674)
* enable lint prefer_foreach

* fix tests
2017-10-25 08:25:44 +02:00
Alexandre Ardhuin 872d83a3c5 enable lint prefer_conditional_assignment (#12694) 2017-10-25 08:18:26 +02:00
Alexandre Ardhuin 1fce14a31c enable lint prefer_single_quotes (#12665) 2017-10-22 18:11:36 +02:00
Alexandre Ardhuin ce6f8d3a83 comment some lint exclusions (#12601) 2017-10-19 08:33:01 +02:00
Alexandre Ardhuin 700dc9f752 enable lint avoid_function_literals_in_foreach_calls (#12607) 2017-10-19 08:16:16 +02:00
Alexandre Ardhuin 0783ec906b Enable lints (#11891)
* enable lint prefer_final_fields

* enable lint recursive_getters

* enable lint unnecessary_overrides
2017-09-01 22:18:51 +02:00
Alexandre Ardhuin bb4f4070f9 Prefer const constructors (#11853)
* upgrade to linter-0.1.35

* re-enable lint prefer_const_constructors

* address review comments
2017-08-31 08:55:21 +02:00
Dan Rubel 3a31c35ba0 Rename .analysis_options to analysis_options.yaml (#11594) 2017-08-15 08:46:42 -04:00
Renamed from .analysis_options (Browse further)