mobx.dart
mobx.dart copied to clipboard
Custom line-length for generated code
Hi thanks for the wonderful lib! I would appreciate it if the generated .g.dart code could be 120-character in width. I can make a PR for this.
How to implement this: https://github.com/dart-lang/build/issues/3250
@fzyzcjy If the analyzer is giving an issue, in the analysis_options.yaml you can include this
analyzer:
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"
- "**/*.chopper.dart"
- "**/*.mocks.dart"