diff --git a/analysis_options.yaml b/analysis_options.yaml index f3e3dd31..8f1b96e4 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,5 +1,4 @@ include: package:lints/recommended.yaml -# include: package:pedantic/analysis_options.yaml analyzer: errors: diff --git a/flutter_quill_extensions/pubspec.yaml b/flutter_quill_extensions/pubspec.yaml index 18c81d21..beae97f6 100644 --- a/flutter_quill_extensions/pubspec.yaml +++ b/flutter_quill_extensions/pubspec.yaml @@ -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: diff --git a/flutter_quill_test/analysis_options.yaml b/flutter_quill_test/analysis_options.yaml index a5744c1c..8f1b96e4 100644 --- a/flutter_quill_test/analysis_options.yaml +++ b/flutter_quill_test/analysis_options.yaml @@ -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 diff --git a/flutter_quill_test/pubspec.yaml b/flutter_quill_test/pubspec.yaml index a4a2a960..7f941557 100644 --- a/flutter_quill_test/pubspec.yaml +++ b/flutter_quill_test/pubspec.yaml @@ -27,3 +27,4 @@ dev_dependencies: flutter: + uses-material-design: true diff --git a/pubspec.yaml b/pubspec.yaml index 6ea8f4ea..b53cd569 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 \ No newline at end of file + flutter_quill_test: ^0.0.2 + # flutter_quill_test: + # path: ./flutter_quill_test \ No newline at end of file