From a4b089635fd7f3e63dbafd623fab5d5188404dab Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Mon, 16 Oct 2023 12:29:06 +0200 Subject: [PATCH] refactor: remove flutter_package rules and require documentation for all rules Signed-off-by: Nikolas Rimikis --- packages/neon/neon/analysis_options.yaml | 2 +- packages/neon/neon_files/analysis_options.yaml | 4 ++++ packages/neon/neon_news/analysis_options.yaml | 4 ++++ packages/neon/neon_notes/analysis_options.yaml | 4 ++++ packages/neon/neon_notifications/analysis_options.yaml | 4 ++++ packages/neon_lints/lib/flutter.yaml | 2 -- packages/neon_lints/lib/flutter_package.yaml | 5 ----- 7 files changed, 17 insertions(+), 8 deletions(-) delete mode 100644 packages/neon_lints/lib/flutter_package.yaml diff --git a/packages/neon/neon/analysis_options.yaml b/packages/neon/neon/analysis_options.yaml index d67880af..331c0af6 100644 --- a/packages/neon/neon/analysis_options.yaml +++ b/packages/neon/neon/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:neon_lints/flutter_package.yaml +include: package:neon_lints/flutter.yaml linter: rules: diff --git a/packages/neon/neon_files/analysis_options.yaml b/packages/neon/neon_files/analysis_options.yaml index 66de1efd..243819ae 100644 --- a/packages/neon/neon_files/analysis_options.yaml +++ b/packages/neon/neon_files/analysis_options.yaml @@ -1,5 +1,9 @@ include: package:neon_lints/flutter.yaml +linter: + rules: + public_member_api_docs: false + analyzer: exclude: - lib/l10n/** diff --git a/packages/neon/neon_news/analysis_options.yaml b/packages/neon/neon_news/analysis_options.yaml index 66de1efd..243819ae 100644 --- a/packages/neon/neon_news/analysis_options.yaml +++ b/packages/neon/neon_news/analysis_options.yaml @@ -1,5 +1,9 @@ include: package:neon_lints/flutter.yaml +linter: + rules: + public_member_api_docs: false + analyzer: exclude: - lib/l10n/** diff --git a/packages/neon/neon_notes/analysis_options.yaml b/packages/neon/neon_notes/analysis_options.yaml index 66de1efd..243819ae 100644 --- a/packages/neon/neon_notes/analysis_options.yaml +++ b/packages/neon/neon_notes/analysis_options.yaml @@ -1,5 +1,9 @@ include: package:neon_lints/flutter.yaml +linter: + rules: + public_member_api_docs: false + analyzer: exclude: - lib/l10n/** diff --git a/packages/neon/neon_notifications/analysis_options.yaml b/packages/neon/neon_notifications/analysis_options.yaml index 66de1efd..243819ae 100644 --- a/packages/neon/neon_notifications/analysis_options.yaml +++ b/packages/neon/neon_notifications/analysis_options.yaml @@ -1,5 +1,9 @@ include: package:neon_lints/flutter.yaml +linter: + rules: + public_member_api_docs: false + analyzer: exclude: - lib/l10n/** diff --git a/packages/neon_lints/lib/flutter.yaml b/packages/neon_lints/lib/flutter.yaml index 67303d7c..65e82b6c 100644 --- a/packages/neon_lints/lib/flutter.yaml +++ b/packages/neon_lints/lib/flutter.yaml @@ -2,6 +2,4 @@ include: package:neon_lints/src/base.yaml linter: rules: - public_member_api_docs: false - library_private_types_in_public_api: false avoid_print: true diff --git a/packages/neon_lints/lib/flutter_package.yaml b/packages/neon_lints/lib/flutter_package.yaml deleted file mode 100644 index 65e82b6c..00000000 --- a/packages/neon_lints/lib/flutter_package.yaml +++ /dev/null @@ -1,5 +0,0 @@ -include: package:neon_lints/src/base.yaml - -linter: - rules: - avoid_print: true