Skip to content

Follow the analysis options of the frontend plugins - #1144

Merged
JSUYA merged 2 commits into
flutter-tizen:mainfrom
JSUYA:follow-upstream-analysis-options
Sep 7, 2026
Merged

Follow the analysis options of the frontend plugins#1144
JSUYA merged 2 commits into
flutter-tizen:mainfrom
JSUYA:follow-upstream-analysis-options

Conversation

@JSUYA

@JSUYA JSUYA commented Sep 7, 2026

Copy link
Copy Markdown
Member

The root analysis_options.yaml mirrors flutter/packages, which is only the right baseline for ports of flutter/packages plugins. Give the ports of third-party plugins their own analysis_options.yaml replicating the one the frontend plugin ships:

  • flutter_inappwebview: package:flutter_lints, plus the error suppressions the frontend plugin declares.
  • sqflite: package:flutter_lints, plus its strict language modes and rules.
  • keyboard_detection: package:flutter_lints.
  • flutter_webrtc, flutter_tts: package:lints/recommended, plus their rules, error severities and strict language modes.

firebase_core keeps using the root options because flutterfire's options include a repository-local all_lint_rules.yaml that cannot be referenced from here, and flutter_app_badger keeps using them because its frontend plugin has no analysis options at all.

The root analysis_options.yaml mirrors flutter/packages, which is only the
right baseline for ports of flutter/packages plugins. Give the ports of
third-party plugins their own analysis_options.yaml replicating the one the
frontend plugin ships:

* flutter_inappwebview: package:flutter_lints, plus the error suppressions the
  frontend plugin declares.
* sqflite: package:flutter_lints, plus its strict language modes and rules.
* keyboard_detection: package:flutter_lints.
* flutter_webrtc, flutter_tts: package:lints/recommended, plus their rules,
  error severities and strict language modes.

firebase_core keeps using the root options because flutterfire's options
include a repository-local all_lint_rules.yaml that cannot be referenced from
here, and flutter_app_badger keeps using them because its frontend plugin has
no analysis options at all.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-07T08:02:08.786155Z 97ba19d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 97ba19d424

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/flutter_tts/pubspec.yaml Outdated
lints 5.0.0 and flutter_lints 5.0.0 require Dart 3.5, but flutter_tts and
keyboard_detection allow Dart 3.1 and flutter_webrtc allows Dart 3.3, so
`pub get` failed for anyone developing on the minimum supported SDK. Use the
4.0.0 line, which requires Dart 3.1, the way battery_plus and wakelock_plus
already pin theirs to their own SDK ranges.
@JSUYA
JSUYA merged commit 18edb92 into flutter-tizen:main Sep 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants