Skip to content
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
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ app.*.map.json
/android/app/profile
/android/app/release

*.env
firebase.json

**/*.freezed.dart
**/*.g.dart
**/*.g.dart
**/*.gr.dart
25 changes: 6 additions & 19 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,17 @@
# 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`.
include: package:flutter_lints/flutter.yaml

formatter:
page_width: 100

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
analyzer:
errors:
invalid_annotation_target: ignore
avoid_print: error
unused_import: warning
duplicate_import: info
dead_code: error
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.dev/lints.
#
# 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:
# for commas, if code goes far from specific width length
# https://dart.dev/tools/linter-rules/require_trailing_commas
Expand All @@ -42,6 +27,8 @@ linter:
- avoid_dynamic_calls
# reminds to close stream_subscriptions
- cancel_subscriptions
- use_colored_box
- use_decorated_box
# - prefer_const_constructors
# - prefer_const_literals_to_create_immutables
# avoid_print: false # Uncomment to disable the `avoid_print` rule
Expand Down
1 change: 1 addition & 0 deletions env/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
prod.json
10 changes: 10 additions & 0 deletions env/dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"ENVIRONMENT": "DEV",
"MAIN_URL": "",
"PUSHER_APP_ID": "",
"PUSHER_APP_KEY": "",
"PUSHER_APP_SECRET": "",
"PUSHER_HOST": "192.168.100.3",
"PUSHER_PORT": 6001,
"PUSHER_SCHEME": "ws"
}
Loading
Loading