Skip to content

Commit

Permalink
Change fix linting problems to fix lint problems
Browse files Browse the repository at this point in the history
Add very_good_analysis package
  • Loading branch information
maherjaafar committed Nov 5, 2021
1 parent 85f47c5 commit 9e14a5a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 1.2.4

* 🛠️ Fix linting problems
* 🛠️ Fix lint problems

## 1.2.3

Expand Down
4 changes: 3 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ include: package:lint/analysis_options_package.yaml
analyzer:
strong-mode:
implicit-dynamic: false
exclude:
- lib/generated_plugin_registrant.dart

linter:
rules:
close_sinks: true
sort_constructors_first: true

sort_pub_dependencies: false
12 changes: 12 additions & 0 deletions example/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
include: package:lint/analysis_options_package.yaml

analyzer:
strong-mode:
implicit-dynamic: false
exclude:
- lib/generated_plugin_registrant.dart

linter:
rules:
close_sinks: true
sort_constructors_first: true
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
provider: ^6.0.1
video_player: ^2.2.5
wakelock: ^0.5.6
very_good_analysis: ^2.4.0

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 9e14a5a

Please sign in to comment.