blob: 433bb94bca3ed57649b1c34c8c0d9f1c5ef1f4a6 [file] [log] [blame]
// Copyright (c) 2015, 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'Place the `super` call last in a constructor initialization list.';
class SuperGoesLast extends LintRule {
SuperGoesLast()
: super(
name: LintNames.super_goes_last,
description: _desc,
state: RuleState.removed(since: dart3),
);
@override
DiagnosticCode get diagnosticCode => LinterLintCode.removed_lint;
}