Services for interacting with the Web Storage, in Dart. https://docs.belin.io/webstorage.dart
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

166 lines
5.1 KiB

  1. analyzer:
  2. exclude: [lib/**.g.dart]
  3. linter:
  4. rules:
  5. - always_declare_return_types
  6. - always_put_required_named_parameters_first
  7. - always_require_non_null_named_parameters
  8. - annotate_overrides
  9. - avoid_annotating_with_dynamic
  10. - avoid_as
  11. - avoid_bool_literals_in_conditional_expressions
  12. - avoid_catches_without_on_clauses
  13. - avoid_catching_errors
  14. - avoid_classes_with_only_static_members
  15. - avoid_double_and_int_checks
  16. - avoid_empty_else
  17. - avoid_equals_and_hash_code_on_mutable_classes
  18. - avoid_escaping_inner_quotes
  19. - avoid_field_initializers_in_const_classes
  20. - avoid_function_literals_in_foreach_calls
  21. - avoid_implementing_value_types
  22. - avoid_init_to_null
  23. - avoid_js_rounded_ints
  24. - avoid_null_checks_in_equality_operators
  25. - avoid_positional_boolean_parameters
  26. - avoid_print
  27. - avoid_private_typedef_functions
  28. - avoid_redundant_argument_values
  29. - avoid_relative_lib_imports
  30. - avoid_renaming_method_parameters
  31. - avoid_return_types_on_setters
  32. - avoid_returning_null
  33. - avoid_returning_null_for_future
  34. - avoid_returning_null_for_void
  35. - avoid_returning_this
  36. - avoid_setters_without_getters
  37. - avoid_shadowing_type_parameters
  38. - avoid_single_cascade_in_expression_statements
  39. - avoid_slow_async_io
  40. - avoid_types_as_parameter_names
  41. - avoid_types_on_closure_parameters
  42. - avoid_unnecessary_containers
  43. - avoid_unused_constructor_parameters
  44. - avoid_void_async
  45. - avoid_web_libraries_in_flutter
  46. - await_only_futures
  47. - camel_case_extensions
  48. - camel_case_types
  49. - cancel_subscriptions
  50. - cascade_invocations
  51. - close_sinks
  52. - comment_references
  53. - constant_identifier_names
  54. - control_flow_in_finally
  55. - diagnostic_describe_all_properties
  56. - directives_ordering
  57. - do_not_use_environment
  58. - empty_catches
  59. - empty_constructor_bodies
  60. - empty_statements
  61. - exhaustive_cases
  62. - file_names
  63. - hash_and_equals
  64. - implementation_imports
  65. - invariant_booleans
  66. - iterable_contains_unrelated_type
  67. - join_return_with_assignment
  68. - leading_newlines_in_multiline_strings
  69. - library_names
  70. - library_prefixes
  71. - list_remove_unrelated_type
  72. - literal_only_boolean_expressions
  73. - missing_whitespace_between_adjacent_strings
  74. - no_adjacent_strings_in_list
  75. - no_duplicate_case_values
  76. - no_logic_in_create_state
  77. - no_runtimeType_toString
  78. - non_constant_identifier_names
  79. - null_closures
  80. - omit_local_variable_types
  81. - one_member_abstracts
  82. - only_throw_errors
  83. - overridden_fields
  84. - package_api_docs
  85. - package_names
  86. - package_prefixed_library_names
  87. - parameter_assignments
  88. - prefer_adjacent_string_concatenation
  89. - prefer_asserts_in_initializer_lists
  90. - prefer_collection_literals
  91. - prefer_conditional_assignment
  92. - prefer_const_constructors
  93. - prefer_const_constructors_in_immutables
  94. - prefer_const_declarations
  95. - prefer_const_literals_to_create_immutables
  96. - prefer_constructors_over_static_methods
  97. - prefer_contains
  98. - prefer_double_quotes
  99. - prefer_equal_for_default_values
  100. - prefer_expression_function_bodies
  101. - prefer_final_fields
  102. - prefer_final_in_for_each
  103. - prefer_final_locals
  104. - prefer_for_elements_to_map_fromIterable
  105. - prefer_foreach
  106. - prefer_function_declarations_over_variables
  107. - prefer_generic_function_type_aliases
  108. - prefer_if_elements_to_conditional_expressions
  109. - prefer_if_null_operators
  110. - prefer_initializing_formals
  111. - prefer_inlined_adds
  112. - prefer_int_literals
  113. - prefer_interpolation_to_compose_strings
  114. - prefer_is_empty
  115. - prefer_is_not_empty
  116. - prefer_is_not_operator
  117. - prefer_iterable_whereType
  118. - prefer_mixin
  119. - prefer_null_aware_operators
  120. - prefer_relative_imports
  121. - prefer_spread_collections
  122. - prefer_typing_uninitialized_variables
  123. - prefer_void_to_null
  124. - provide_deprecation_message
  125. - public_member_api_docs
  126. - recursive_getters
  127. - sized_box_for_whitespace
  128. - slash_for_doc_comments
  129. - sort_child_properties_last
  130. - sort_constructors_first
  131. - sort_pub_dependencies
  132. - sort_unnamed_constructors_first
  133. - test_types_in_equals
  134. - throw_in_finally
  135. - type_init_formals
  136. - unawaited_futures
  137. - unnecessary_await_in_return
  138. - unnecessary_brace_in_string_interps
  139. - unnecessary_const
  140. - unnecessary_getters_setters
  141. - unnecessary_lambdas
  142. - unnecessary_new
  143. - unnecessary_null_aware_assignments
  144. - unnecessary_null_in_if_null_operators
  145. - unnecessary_overrides
  146. - unnecessary_parenthesis
  147. - unnecessary_raw_strings
  148. - unnecessary_statements
  149. - unnecessary_string_escapes
  150. - unnecessary_string_interpolations
  151. - unnecessary_this
  152. - unrelated_type_equality_checks
  153. - unsafe_html
  154. - use_full_hex_values_for_flutter_colors
  155. - use_function_type_syntax_for_parameters
  156. - use_is_even_rather_than_modulo
  157. - use_key_in_widget_constructors
  158. - use_raw_strings
  159. - use_rethrow_when_possible
  160. - use_setters_to_change_properties
  161. - use_string_buffers
  162. - use_to_and_as_if_applicable
  163. - valid_regexps
  164. - void_checks