Clean up engine's analysis_options.yaml (#161554)

Now that we have a monorepo we can vastly simplify the engine's
`analysis_options.yaml` file: It can just import the general rule set
(instead of recreating it) and then we can apply the engine-specific
rules on top of it. This also makes it easier to tell where the engine
rule set differs from the general one.

No more `# DIFFERENT FROM FLUTTER/FLUTTER` comments. 🥳 

Depends on https://github.com/flutter/flutter/pull/161560, which has to
be submitted first.
This commit is contained in:
Michael Goderbauer
2025-01-14 16:08:24 -08:00
committed by GitHub
parent b3189905ab
commit a328b36f39
2 changed files with 16 additions and 251 deletions

View File

@@ -8,7 +8,6 @@
# which should be kept in sync with this file:
#
# - analysis_options.yaml (this file)
# - engine/src/flutter/analysis_options.yaml
# - https://github.com/flutter/packages/blob/main/analysis_options.yaml
#
# This file contains the analysis options used for code in the flutter/flutter