Skip to content

Commit

Permalink
[sqflite] Downgrade flutter_lints to resolve analyze issues
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-kim committed Oct 25, 2023
1 parent b7c3071 commit d4bd30e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 106 deletions.
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

0 comments on commit d4bd30e

Please sign in to comment.