10000 ignore false postive avoid_returning_this lint (#3408) · dart-lang/build@4abae27 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4abae27

Browse files
authored
ignore false postive avoid_returning_this lint (#3408)
1 parent e4d6b8d commit 4abae27

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

build/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 2.3.2-dev
2+
13
## 2.3.1
24

35
- Allow the latest `package:analyzer`.

build/lib/src/builder/builder.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class BuilderOptions {
5454
///
5555
/// The `isRoot` value will also be overridden to value from [other].
5656
BuilderOptions overrideWith(BuilderOptions? other) {
57+
// ignore: avoid_returning_this
5758
if (other == null) return this;
5859
return BuilderOptions(
5960
{}

build/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: build
2-
version: 2.3.1
2+
version: 2.3.2-dev
33
description: A package for authoring build_runner compatible code generators.
44
repository: https://github.com/dart-lang/build/tree/master/build
55

0 commit comments

Comments
 (0)
0