Closed maxzod closed 3 years ago
It's not that easy. The correct lint version is picked automatically based on the dart version a project uses.
Dart 2.8.0 -> lint: 1.2.0 Dart 2.9.0 -> lint: 1.3.0 Dart 2.10.0 -> lint: 1.4.0 Dart 2.12.0-0 -> lint: 1.5.1 Dart 2.12.0 -> lint: 1.5.2
Changing it to 1.5.2 will cause an error for all not yet updated to Dart 2.12.
1.5.2
That's why leaving it at lint: ^1.0.0 is fine, pub picks the latest and greatest that's compatible.
lint: ^1.0.0
It's not that easy. The correct lint version is picked automatically based on the dart version a project uses.
Changing it to
1.5.2
will cause an error for all not yet updated to Dart 2.12.That's why leaving it at
lint: ^1.0.0
is fine, pub picks the latest and greatest that's compatible.