Skip to content

Commit

Permalink
внедрение зависимостей с injectable, реструктуризация (#39)
Browse files Browse the repository at this point in the history
* внедрение зависимостей с injectable

* рефакторинг: интерфейсы для сервисов

* реструктуризация проекта

* ругаться при relative_lib_imports
  • Loading branch information
iska9der authored Jun 4, 2024
1 parent d5c7355 commit fab1e60
Show file tree
Hide file tree
Showing 332 changed files with 2,400 additions and 2,181 deletions.
63 changes: 28 additions & 35 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,29 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "flutter",
"command": "flutter",
"args": [
"build",
"apk",
"--release",
"--split-per-abi"
],
"group": "build",
"problemMatcher": [],
"label": "flutter: build release apk [split]",
"detail": ""
},
{
"type": "flutter",
"command": "flutter",
"args": [
"pub",
"run",
"build_runner",
"build",
"--delete-conflicting-outputs"
],
"problemMatcher": [
"$dart-build_runner"
],
"group": "build",
"label": "build_runner build",
"detail": ""
}
]
}
"version": "2.0.0",
"tasks": [
{
"type": "flutter",
"command": "flutter",
"args": ["build", "apk", "--release", "--split-per-abi"],
"group": "build",
"problemMatcher": [],
"label": "flutter: build release apk [split]",
"detail": ""
},
{
"type": "flutter",
"command": "flutter",
"args": [
"pub",
"run",
"build_runner",
"build",
"--delete-conflicting-outputs"
],
"problemMatcher": ["$dart-build_runner"],
"group": "build",
"label": "build_runner build",
"detail": ""
}
]
}
7 changes: 6 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ linter:
use_key_in_widget_constructors: true
eol_at_end_of_file: true

analyzer:
errors:
avoid_relative_lib_imports: error

dart_code_metrics:
metrics-exclude:
- test/**
Expand All @@ -32,6 +36,7 @@ dart_code_metrics:
- avoid-cubits: false
- prefer-number-format: false
- avoid-read-inside-build: false
- check-is-not-closed-after-async-gap: false
pubspec-rules:
- avoid-any-version: false
- prefer-caret-version-syntax: false
- prefer-caret-version-syntax: false
2 changes: 0 additions & 2 deletions lib/common/widget/extension/extension.dart

This file was deleted.

147 changes: 0 additions & 147 deletions lib/component/di/dependencies.dart

This file was deleted.

3 changes: 0 additions & 3 deletions lib/component/language.dart

This file was deleted.

14 changes: 0 additions & 14 deletions lib/component/localization/language_enum.dart

This file was deleted.

25 changes: 0 additions & 25 deletions lib/component/localization/language_helper.dart

This file was deleted.

29 changes: 0 additions & 29 deletions lib/component/router/routes.dart

This file was deleted.

28 changes: 0 additions & 28 deletions lib/component/storage/cache_storage.dart

This file was deleted.

4 changes: 0 additions & 4 deletions lib/component/theme.dart

This file was deleted.

4 changes: 0 additions & 4 deletions lib/component/theme/constants.dart

This file was deleted.

File renamed without changes.
Loading

0 comments on commit fab1e60

Please sign in to comment.