Closed kanryu closed 1 year ago
Annoying, I know.
See https://github.com/dart-lang/source_gen#configuring-combining_builder
@kevmoo Thanks for an important member like you to answer me. :)
Your answer wasn't a direct solution to my question, but it provided an important hint.
I noticed that I can customize the execution of 'dart analyze', so I add into analysis_options.yaml
.
reference: https://dart.dev/guides/language/analysis-options
For many projects, including mine, adding this setting will solve this problem.
analysis_options.yaml
analyzer: exclude: - 'build/**' - '**/*.g.dart' - '**/*.freezed.dart'
enjoy! :)
Hi, I made a new Dart project using json_serializable.
https://github.com/kanryu/paypay_uo
It's working fine, but running
dart analyze
shows the problem.Please let me know if there is a way around this issue.
dart version