mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
disable prefer-match-file-name for now..
This commit is contained in:
@@ -164,6 +164,7 @@ dart_code_metrics:
|
||||
- prefer-single-widget-per-file: false
|
||||
- avoid-passing-self-as-argument: false # fairly harmless. and e.g. drift calls are like this
|
||||
- avoid-passing-async-when-sync-expected: false # we really like to do this in onTap() etc, and it seems harmless
|
||||
- prefer-match-file-name: false # dieter wants to enable this. but requires a lot of renames. what does roland think?
|
||||
|
||||
formatter:
|
||||
indent: 0
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
import 'package:wger/helpers/json.dart';
|
||||
import 'package:wger/models/nutrition/image.dart';
|
||||
import 'package:wger/models/nutrition/ingredient_image.dart';
|
||||
import 'package:wger/models/nutrition/nutritional_values.dart';
|
||||
|
||||
part 'ingredient.g.dart';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'image.g.dart';
|
||||
part 'ingredient_image.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class IngredientImage {
|
||||
@@ -1,6 +1,6 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'image.dart';
|
||||
part of 'ingredient_image.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
@@ -25,8 +25,8 @@ import 'package:wger/exceptions/http_exception.dart';
|
||||
import 'package:wger/exceptions/no_such_entry_exception.dart';
|
||||
import 'package:wger/helpers/consts.dart';
|
||||
import 'package:wger/models/exercises/ingredient_api.dart';
|
||||
import 'package:wger/models/nutrition/image.dart';
|
||||
import 'package:wger/models/nutrition/ingredient.dart';
|
||||
import 'package:wger/models/nutrition/ingredient_image.dart';
|
||||
import 'package:wger/models/nutrition/log.dart';
|
||||
import 'package:wger/models/nutrition/meal.dart';
|
||||
import 'package:wger/models/nutrition/meal_item.dart';
|
||||
|
||||
Reference in New Issue
Block a user