-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: flutter update; added lint rules; added workflow
- Loading branch information
Showing
14 changed files
with
519 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: 🛠️ Pull Request CI | ||
on: [push, workflow_dispatch] | ||
jobs: | ||
drive: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: subosito/flutter-action@v2 | ||
- run: flutter --version | ||
- name: Dart Apply Fixes (if this fails, run `dart fix --apply` locally) | ||
run: dart fix --apply; git diff --exit-code | ||
- name: Dart Formatter (if this fails, run `dart format .` locally) | ||
run: dart format .; git diff --exit-code | ||
- name: Restore packages | ||
run: flutter pub get | ||
- name: Analyze | ||
run: flutter analyze |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,11 @@ | ||
# This file configures the analyzer, which statically analyzes Dart code to | ||
# check for errors, warnings, and lints. | ||
# | ||
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled | ||
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be | ||
# invoked from the command line by running `flutter analyze`. | ||
|
||
# The following line activates a set of recommended lints for Flutter apps, | ||
# packages, and plugins designed to encourage good coding practices. | ||
include: package:flutter_lints/flutter.yaml | ||
|
||
linter: | ||
# The lint rules applied to this project can be customized in the | ||
# section below to disable rules from the `package:flutter_lints/flutter.yaml` | ||
# included above or to enable additional rules. A list of all available lints | ||
# and their documentation is published at | ||
# https://dart-lang.github.io/linter/lints/index.html. | ||
# | ||
# Instead of disabling a lint rule for the entire project in the | ||
# section below, it can also be suppressed for a single line of code | ||
# or a specific dart file by using the `// ignore: name_of_lint` and | ||
# `// ignore_for_file: name_of_lint` syntax on the line or in the file | ||
# producing the lint. | ||
rules: | ||
# avoid_print: false # Uncomment to disable the `avoid_print` rule | ||
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule | ||
|
||
# Additional information about this file can be found at | ||
# https://dart.dev/guides/language/analysis-options | ||
avoid_print: true | ||
prefer_single_quotes: true | ||
always_use_package_imports: true | ||
empty_statements: true | ||
always_declare_return_types: true | ||
camel_case_extensions: true | ||
require_trailing_commas: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
PODS: | ||
- DKImagePickerController/Core (4.3.4): | ||
- DKImagePickerController/ImageDataManager | ||
- DKImagePickerController/Resource | ||
- DKImagePickerController/ImageDataManager (4.3.4) | ||
- DKImagePickerController/PhotoGallery (4.3.4): | ||
- DKImagePickerController/Core | ||
- DKPhotoGallery | ||
- DKImagePickerController/Resource (4.3.4) | ||
- DKPhotoGallery (0.0.17): | ||
- DKPhotoGallery/Core (= 0.0.17) | ||
- DKPhotoGallery/Model (= 0.0.17) | ||
- DKPhotoGallery/Preview (= 0.0.17) | ||
- DKPhotoGallery/Resource (= 0.0.17) | ||
- SDWebImage | ||
- SwiftyGif | ||
- DKPhotoGallery/Core (0.0.17): | ||
- DKPhotoGallery/Model | ||
- DKPhotoGallery/Preview | ||
- SDWebImage | ||
- SwiftyGif | ||
- DKPhotoGallery/Model (0.0.17): | ||
- SDWebImage | ||
- SwiftyGif | ||
- DKPhotoGallery/Preview (0.0.17): | ||
- DKPhotoGallery/Model | ||
- DKPhotoGallery/Resource | ||
- SDWebImage | ||
- SwiftyGif | ||
- DKPhotoGallery/Resource (0.0.17): | ||
- SDWebImage | ||
- SwiftyGif | ||
- file_picker (0.0.1): | ||
- DKImagePickerController/PhotoGallery | ||
- Flutter | ||
- file_saver (0.0.1): | ||
- Flutter | ||
- Flutter (1.0.0) | ||
- image_picker_ios (0.0.1): | ||
- Flutter | ||
- path_provider_ios (0.0.1): | ||
- Flutter | ||
- SDWebImage (5.18.3): | ||
- SDWebImage/Core (= 5.18.3) | ||
- SDWebImage/Core (5.18.3) | ||
- SwiftyGif (5.4.4) | ||
- url_launcher_ios (0.0.1): | ||
- Flutter | ||
|
||
DEPENDENCIES: | ||
- file_picker (from `.symlinks/plugins/file_picker/ios`) | ||
- file_saver (from `.symlinks/plugins/file_saver/ios`) | ||
- Flutter (from `Flutter`) | ||
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) | ||
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`) | ||
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) | ||
|
||
SPEC REPOS: | ||
trunk: | ||
- DKImagePickerController | ||
- DKPhotoGallery | ||
- SDWebImage | ||
- SwiftyGif | ||
|
||
EXTERNAL SOURCES: | ||
file_picker: | ||
:path: ".symlinks/plugins/file_picker/ios" | ||
file_saver: | ||
:path: ".symlinks/plugins/file_saver/ios" | ||
Flutter: | ||
:path: Flutter | ||
image_picker_ios: | ||
:path: ".symlinks/plugins/image_picker_ios/ios" | ||
path_provider_ios: | ||
:path: ".symlinks/plugins/path_provider_ios/ios" | ||
url_launcher_ios: | ||
:path: ".symlinks/plugins/url_launcher_ios/ios" | ||
|
||
SPEC CHECKSUMS: | ||
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac | ||
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179 | ||
file_picker: 15fd9539e4eb735dc54bae8c0534a7a9511a03de | ||
file_saver: 503e386464dbe118f630e17b4c2e1190fa0cf808 | ||
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 | ||
image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5 | ||
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02 | ||
SDWebImage: 96e0c18ef14010b7485210e92fac888587ebb958 | ||
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f | ||
url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b | ||
|
||
PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3 | ||
|
||
COCOAPODS: 1.14.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.