Enable ALL THE LINTS

Well, all the easy ones, anyway.

For some reason `// ignore:` isn't working for me so I've disabled
lints that need that. Also disabled those that require a ton of work
(which I'm doing, but not in this PR, to keep it reviewable).

This adds:
- avoid_init_to_null
- library_names
- package_api_docs
- package_names
- package_prefixed_library_names
- prefer_is_not_empty
- sort_constructors_first
- sort_unnamed_constructors_first
- unnecessary_getters_setters
This commit is contained in:
Ian Hickson
2016-03-10 23:15:31 -08:00
parent 7544514484
commit 1b9cd52081
41 changed files with 271 additions and 264 deletions

View File

@@ -37,7 +37,7 @@ class RawKeyboardDemo extends StatefulComponent {
}
class _HardwareKeyDemoState extends State<RawKeyboardDemo> {
mojom.InputEvent _event = null;
mojom.InputEvent _event;
void _handleKey(mojom.InputEvent event) {
setState(() {