Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sqflite] Downgrade flutter_lints to resolve analyze issues #624

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 0 additions & 101 deletions packages/sqflite/analysis_options.yaml

This file was deleted.

10 changes: 9 additions & 1 deletion packages/sqflite/example/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,18 @@ linter:
- unnecessary_new
- unnecessary_null_in_if_null_operators
- use_rethrow_when_possible

- dangling_library_doc_comments
- deprecated_member_use_from_same_package
- implicit_reopen
- invalid_case_patterns
- no_literal_bool_comparisons
- no_self_assignments
- no_wildcard_variable_uses
- type_literal_in_constant_pattern
# === doc rules ===
- public_member_api_docs
#
# - prefer_final_locals
- sort_constructors_first
- sort_unnamed_constructors_first

2 changes: 1 addition & 1 deletion packages/sqflite/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:

dev_dependencies:
pedantic: ^1.11.0
flutter_lints:
flutter_lints: ^2.0.0
flutter_test:
sdk: flutter
flutter_driver:
Expand Down
2 changes: 2 additions & 0 deletions packages/sqflite/lib/sqflite_tizen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// ignore_for_file: avoid_classes_with_only_static_members

import 'package:sqflite/sqflite.dart';

/// A class to initialize the plugin.
Expand Down
3 changes: 0 additions & 3 deletions packages/sqflite/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ dependencies:
flutter:
sdk: flutter
sqflite: ^2.3.0

dev_dependencies:
flutter_lints: ^1.0.4