blob: 06a0ff1a2c34c8cbd9d3cb6559d3ef74fd28c439 [file]
// Copyright (c) 2022, 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 '../analyzer.dart';
import '../linter_lint_codes.dart';
const _desc = r'Do use sound null safety.';
class EnableNullSafety extends LintRule {
EnableNullSafety()
: super(
name: LintNames.enable_null_safety,
description: _desc,
state: State.removed(since: dart3),
);
@override
LintCode get lintCode => LinterLintCode.removed_lint;
}