Files
sdk/pkg/status_file/analysis_options.yaml
Robert Nystrom 9f11b2fd45 Migrate pkg/status_file to primary constructors and new constructor syntax.
Unlike my previous couple of CLs, I went ahead here and also migrated
most of the classes to use primary constructors since so many of them
were small and well suited for it.

In the process, I found and fixed one bug in the assist to convert to a
primary constructor:

https://dart-review.googlesource.com/c/sdk/+/506760

So I guess this CL has already paid its way. :)

Change-Id: I9b7d08e27f4ddce3f19127aaf4f14fe627b75dab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/506743
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
2026-05-27 15:56:27 -07:00

15 lines
433 B
YAML

# Copyright (c) 2017, 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.
include: package:lints/recommended.yaml
analyzer:
errors:
# Allow having TODOs in the code
todo: ignore
linter:
rules:
- unnecessary_const_in_enum_constructor
- unnecessary_type_name_in_constructor