blob: c2a0862a027d80682a63d2f03f4ee6c16ea7cce7 [file] [edit]
// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:linter/src/lint_names.dart';
import 'package:pub_semver/pub_semver.dart';
/// A registry mapping target SDK versions to pre-migration lint rules
/// that should be applied and fixes *before* the SDK constraint is bumped.
final Map<Version, List<String>> preMigrationLintsRegistry = {
Version(3, 13, 0): [
LintNames.avoid_final_parameters,
LintNames.var_with_no_type_annotation,
],
};