From 67cb47b0c975b347fb32c461727b92e911253b60 Mon Sep 17 00:00:00 2001 From: ho2ri2s Date: Wed, 15 Jul 2020 20:46:50 +0900 Subject: [PATCH] add: analysis_options.yml --- analysis_options.yaml | 13 +++++++++++++ pubspec.yaml | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 analysis_options.yaml diff --git a/analysis_options.yaml b/analysis_options.yaml new file mode 100644 index 0000000..ad7cde3 --- /dev/null +++ b/analysis_options.yaml @@ -0,0 +1,13 @@ +# https://pub.dev/packages/pedantic_mono +include: package:pedantic_mono/analysis_options.yaml + +linter: + rules: + lines_longer_than_80_chars: false + omit_local_variable_types: false + flutter_style_todos: false + one_member_abstracts: false + avoid_function_literals_in_foreach_calls: false + non_constant_identifier_names: false + avoid_single_cascade_in_expression_statements: false + constant_identifier_names: false \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index 42f2be4..c4e7ccc 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -34,6 +34,8 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter + pedantic_mono: any + # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec