Update flutter_quill_test

pull/1508/head
Ellet 1 year ago
parent 57bb57a22d
commit 676077cb0c
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 1
      analysis_options.yaml
  2. 8
      flutter_quill_extensions/pubspec.yaml
  3. 39
      flutter_quill_test/analysis_options.yaml
  4. 1
      flutter_quill_test/pubspec.yaml
  5. 7
      pubspec.yaml

@ -1,5 +1,4 @@
include: package:lints/recommended.yaml
# include: package:pedantic/analysis_options.yaml
analyzer:
errors:

@ -26,7 +26,7 @@ dependencies:
flutter:
sdk: flutter
flutter_quill: ^8.2.0
flutter_quill: ^8.2.2
http: ^1.1.0
photo_view: ^0.14.0
@ -45,9 +45,9 @@ dependencies:
# In case you are working on changes for both libraries
# Comment the dependency_overrides section when publishing the package,
# then uncomment it back, this will be automated later
dependency_overrides:
flutter_quill:
path: ../
# dependency_overrides:
# flutter_quill:
# path: ../
dev_dependencies:
flutter_test:

@ -1,4 +1,37 @@
include: package:flutter_lints/flutter.yaml
include: package:lints/recommended.yaml
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
analyzer:
errors:
undefined_prefixed_name: ignore
unsafe_html: ignore
linter:
rules:
- always_declare_return_types
- always_put_required_named_parameters_first
- annotate_overrides
- avoid_empty_else
- avoid_escaping_inner_quotes
- avoid_print
- avoid_redundant_argument_values
- avoid_types_on_closure_parameters
- avoid_void_async
- cascade_invocations
- directives_ordering
- lines_longer_than_80_chars
- omit_local_variable_types
- prefer_const_constructors
- prefer_const_constructors_in_immutables
- prefer_const_declarations
- prefer_final_fields
- prefer_final_in_for_each
- prefer_final_locals
- prefer_initializing_formals
- prefer_int_literals
- prefer_interpolation_to_compose_strings
- prefer_relative_imports
- prefer_single_quotes
- sort_constructors_first
- sort_unnamed_constructors_first
- unnecessary_lambdas
- unnecessary_parenthesis
- unnecessary_string_interpolations

@ -27,3 +27,4 @@ dev_dependencies:
flutter:
uses-material-design: true

@ -30,7 +30,7 @@ platforms:
windows:
environment:
sdk: '>=3.1.3 <4.0.0'
sdk: '>=3.1.5 <4.0.0'
# sdk: ">=2.17.0 <4.0.0"
flutter: ">=3.10.0"
@ -57,5 +57,6 @@ dev_dependencies:
lints: ^3.0.0
flutter_test:
sdk: flutter
flutter_quill_test:
path: ./flutter_quill_test
flutter_quill_test: ^0.0.2
# flutter_quill_test:
# path: ./flutter_quill_test
Loading…
Cancel
Save