Content-Length: 288064 | pFad | http://github.com/flutter/flutter/issues/141928

9C [feat] new `--exclude` flag for `flutter analyze` · Issue #141928 · flutter/flutter · GitHub
Skip to content

[feat] new --exclude flag for flutter analyze #141928

@opxdelwin

Description

@opxdelwin

Edit by @christopherfujino, this is currently blocked by dart-lang/sdk#54826


Use case

Rather than excluding a certain file from analysis for the entire project, We can enable the devs to exclude certain file from analysis only for a single instance of flutter analyze.

Ran into this trouble where I wanted to exclude one file from analyze when done via github actions, as certain firebase_config files aren't in the repo, but kept locally.

Proposal

Create a new flag --exclude <relative file location> for flutter analyze to exclude this file for this specific flutter analyze run

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterr: invalidIssue is closed as not validteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/141928

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy