You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm somewhat confused around how the formatter versions work. The command line --language-version seems to not agree 100% with the language version in the pubspec.
My understanding was that the formatter is per language version. So, any future changes in the formatter will not change the formatting until the language version is bumped in the pubspec. However, on the GitHub CI dart format . seems to want to have the files formatted as dart format --language-version=3.7 . locally, which means the CI becomes red.
Uh oh!
There was an error while loading. Please reload this page.
I'm somewhat confused around how the formatter versions work. The command line
--language-version
seems to not agree 100% with the language version in the pubspec.I'm seeing a difference between
and
My pubspec contains:
The diff
My understanding was that the formatter is per language version. So, any future changes in the formatter will not change the formatting until the language version is bumped in the pubspec. However, on the GitHub CI
dart format .
seems to want to have the files formatted asdart format --language-version=3.7 .
locally, which means the CI becomes red.Local Dart version:
@munificent How are breaking changes to the formatter handled?
The text was updated successfully, but these errors were encountered: