diff --git a/packages/cupertino_ui/analysis_options.yaml b/packages/cupertino_ui/analysis_options.yaml index 3e17bba73b7..1dd2059e310 100644 --- a/packages/cupertino_ui/analysis_options.yaml +++ b/packages/cupertino_ui/analysis_options.yaml @@ -13,8 +13,21 @@ analyzer: - windows/** - macos/** - linux/** + # These are repeated from ../../analysis_options.yaml because pana cannot see + # the shared options when the package is published. + errors: + deprecated_member_use: ignore + deprecated_member_use_from_same_package: ignore + # `dart analyze` hasn't recognized the @example directive yet. + # Remove it once https://github.com/dart-lang/sdk/pull/63646 is landed. + doc_directive_unknown: ignore linter: rules: # TODO(dkwingsmt): Remove when https://github.com/dart-lang/sdk/issues/63777 is fixed. unintended_html_in_doc_comment: false + +# These are repeated from ../../analysis_options.yaml because pana cannot see +# the shared options when the package is published. +formatter: + page_width: 100 diff --git a/packages/material_ui/analysis_options.yaml b/packages/material_ui/analysis_options.yaml index 3e17bba73b7..1dd2059e310 100644 --- a/packages/material_ui/analysis_options.yaml +++ b/packages/material_ui/analysis_options.yaml @@ -13,8 +13,21 @@ analyzer: - windows/** - macos/** - linux/** + # These are repeated from ../../analysis_options.yaml because pana cannot see + # the shared options when the package is published. + errors: + deprecated_member_use: ignore + deprecated_member_use_from_same_package: ignore + # `dart analyze` hasn't recognized the @example directive yet. + # Remove it once https://github.com/dart-lang/sdk/pull/63646 is landed. + doc_directive_unknown: ignore linter: rules: # TODO(dkwingsmt): Remove when https://github.com/dart-lang/sdk/issues/63777 is fixed. unintended_html_in_doc_comment: false + +# These are repeated from ../../analysis_options.yaml because pana cannot see +# the shared options when the package is published. +formatter: + page_width: 100