Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
add flutter_lints to any pubspec.yaml to fix the 'package:flutter_lints/flutter.yaml' file not found issue 😭
appflowy21b95233fc20
diff --git a/app_flowy/analysis_options.yaml b/app_flowy/analysis_options.yamlindex b1c2bbe481..78091118c0 100644--- a/app_flowy/analysis_options.yaml+++ b/app_flowy/analysis_options.yaml@@ -7,7 +7,8 @@# 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++include: package:flutter_lints/flutter.yamlanalyzer:exclude:diff --git a/app_flowy/packages/flowy_logger/pubspec.yaml b/app_flowy/packages/flowy_logger/pubspec.yamlindex ec49706247..fa4740ba0f 100644--- a/app_flowy/packages/flowy_logger/pubspec.yaml+++ b/app_flowy/packages/flowy_logger/pubspec.yaml@@ -16,6 +16,7 @@ dependencies:dev_dependencies:flutter_test:sdk: flutter+ flutter_lints: ^1.0.0# For information on the generic Dart part of this file, see the# following page: https://dart.dev/tools/pub/pubspecdiff --git a/app_flowy/packages/flowy_sdk/example/pubspec.yaml b/app_flowy/packages/flowy_sdk/example/pubspec.yamlindex 33fd1b7f2e..dbee825038 100644--- a/app_flowy/packages/flowy_sdk/example/pubspec.yaml+++ b/app_flowy/packages/flowy_sdk/example/pubspec.yaml@@ -29,6 +29,7 @@ dev_dependencies:sdk: flutterintegration_test:sdk: flutter+ flutter_lints: ^1.0.0# For information on the generic Dart part of this file, see the# following page: https://dart.dev/tools/pub/pubspecdiff --git a/app_flowy/packages/flowy_sdk/pubspec.yaml b/app_flowy/packages/flowy_sdk/pubspec.yamlindex 54237e247c..4690011abf 100644--- a/app_flowy/packages/flowy_sdk/pubspec.yaml+++ b/app_flowy/packages/flowy_sdk/pubspec.yaml@@ -26,6 +26,7 @@ dev_dependencies:flutter_test:sdk: flutterbuild_runner: '1.12.2'+ flutter_lints: ^1.0.0# For information on the generic Dart part of this file, see the# following page: https://dart.dev/tools/pub/pubspecdiff --git a/app_flowy/pubspec.yaml b/app_flowy/pubspec.yamlindex 9655f6414f..42b01d5452 100644--- a/app_flowy/pubspec.yaml+++ b/app_flowy/pubspec.yaml@@ -53,10 +53,10 @@ dependencies:cupertino_icons: ^1.0.2dev_dependencies:+ flutter_lints: ^1.0.0flutter_test:sdk: flutterbuild_runner:- flutter_lints: ^1.0.0freezed: '>=0.14.2'