Merge pull request #2672 from Hixie/ignore-lint
Update .analysis_options to link to blocking bugs
This commit is contained in:
commit
e77674c612
@ -11,14 +11,29 @@ import 'binding.dart';
|
||||
|
||||
export 'package:sky_services/activity/activity.mojom.dart';
|
||||
|
||||
/// Dart wrapper around Activity mojo service available in Flutter on Android.
|
||||
///
|
||||
/// Most clients will want to use these methods instead of the activity service
|
||||
/// directly.
|
||||
// Dart wrapper around Activity mojo service available in Flutter on Android.
|
||||
//
|
||||
// Most clients will want to use these methods instead of the activity service
|
||||
// directly.
|
||||
|
||||
const int NEW_DOCUMENT = 0x00080000;
|
||||
const int NEW_TASK = 0x10000000;
|
||||
const int MULTIPLE_TASK = 0x08000000;
|
||||
// The constants below are from
|
||||
// http://developer.android.com/reference/android/content/Intent.html
|
||||
|
||||
/// Open a document into a new task rooted at the activity launched by
|
||||
/// this Intent.
|
||||
///
|
||||
/// See Android's Intent.FLAG_ACTIVITY_NEW_DOCUMENT.
|
||||
const int NEW_DOCUMENT = 0x00080000; // ignore: constant_identifier_names
|
||||
|
||||
/// Start a new task on this history stack.
|
||||
///
|
||||
/// See Android's Intent.FLAG_ACTIVITY_NEW_TASK.
|
||||
const int NEW_TASK = 0x10000000; // ignore: constant_identifier_names
|
||||
|
||||
/// Create a new task and launch an activity into it.
|
||||
///
|
||||
/// See Android's Intent.FLAG_ACTIVITY_MULTIPLE_TASK.
|
||||
const int MULTIPLE_TASK = 0x08000000; // ignore: constant_identifier_names
|
||||
|
||||
ActivityProxy _initActivityProxy() {
|
||||
ActivityProxy activity = new ActivityProxy.unbound();
|
||||
|
@ -25,16 +25,16 @@ linter:
|
||||
# - annotate_overrides # still a lot of work to do before enabling this one
|
||||
# - avoid_as # https://github.com/dart-lang/linter/issues/195
|
||||
- avoid_init_to_null
|
||||
# - avoid_return_types_on_setters # still a lot of work to do before enabling this one
|
||||
# - avoid_return_types_on_setters # https://github.com/dart-lang/linter/issues/202
|
||||
- camel_case_types
|
||||
# - constant_identifier_names # still a lot of work to do before enabling this one
|
||||
# - constant_identifier_names # https://github.com/dart-lang/linter/issues/204 (and 203)
|
||||
- empty_constructor_bodies
|
||||
- hash_and_equals
|
||||
# - implementation_imports # "// ignore:" isn't working yet
|
||||
# - implementation_imports # https://github.com/dart-lang/linter/issues/203
|
||||
- library_names
|
||||
- library_prefixes
|
||||
- non_constant_identifier_names
|
||||
# - one_member_abstracts # "// ignore:" isn't working yet
|
||||
# - one_member_abstracts # https://github.com/dart-lang/linter/issues/203
|
||||
- package_api_docs
|
||||
- package_names
|
||||
- package_prefixed_library_names
|
||||
@ -44,7 +44,7 @@ linter:
|
||||
- sort_constructors_first
|
||||
- sort_unnamed_constructors_first
|
||||
- super_goes_last
|
||||
# - type_annotate_public_apis # see always_specify_types, which this is a subset of
|
||||
- type_annotate_public_apis # subset of always_specify_types
|
||||
- type_init_formals
|
||||
- unnecessary_brace_in_string_interp
|
||||
- unnecessary_getters_setters
|
||||
|
Loading…
x
Reference in New Issue
Block a user