question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

analysis_options exclude doesn't work

See original GitHub issue
  exclude:
    - "lib/helpers/viet_calendar.dart"

but still get warning Screen Shot 2020-06-22 at 5 52 02 PM

from https://github.com/flutter/flutter/issues/59976

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
stevemessickcommented, Jun 22, 2020

The analyzer should have an option to suppress warnings on excluded files. Optionally, change the error message to to be more informative.

0reactions
tbm98commented, Jun 22, 2020

I’ll feedback if it have any problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

analysis_options exclude isn't working, behavior differs ...
Excluding files still displays analyzer warnings in IntelliJ and in dartanalyzer, but not with flutter analyze Here's my ...
Read more >
How can I ignore files with dartanalyzer? - Stack Overflow
As you can see in the docs (https://dart.dev/guides/language/analysis-options) the correct syntax of excluding files from analyzer is:
Read more >
Dart: Files excluded in `analysis_options.yaml` are still ...
Expected behavior​​ The IDE should respect the exclude option in analysis_options. yaml by not warning about analysis errors in excluded files.
Read more >
Customizing static analysis - Dart
Use the analyzer: entry to customize static analysis: enabling stricter type checks, excluding files, ignoring specific rules, changing the severity of rules, ...
Read more >
Customize Static Analysis - Fart programming language
Excluding files. Perhaps you rely on code generated from a package that you don't own—the generated code works, but produces errors during static...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found