blob: a87179c3167ab3d5e4c938accaa44904c4512cc5 [file] [log] [blame]
// 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 'package:analyzer/error/error.dart';
import 'package:analyzer/src/lint/linter.dart'; // ignore: implementation_imports
import '../analyzer.dart';
const _desc = r'Do use sound null safety.';
class EnableNullSafety extends LintRule {
EnableNullSafety()
: super(
name: LintNames.enable_null_safety,
description: _desc,
state: RuleState.removed(since: dart3),
);
@override
DiagnosticCode get diagnosticCode => LinterLintCode.removed_lint;
}