Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 8e4c1f0

Browse files
committed
Turned on performance-unnecessary-value-param everywhere.
1 parent c1200c4 commit 8e4c1f0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.clang-tidy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ clang-analyzer-*,\
2828
readability-identifier-naming,\
2929
clang-diagnostic-*,\
3030
google-objc-*,\
31-
google-explicit-constructor"
31+
google-explicit-constructor,\
32+
performance-unnecessary-value-param"
3233

3334
CheckOptions:
3435
- key: modernize-use-default-member-init.UseAssignment

ci/lint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ DART_BIN="${SRC_DIR}/third_party/dart/tools/sdks/dart-sdk/bin"
3434
DART="${DART_BIN}/dart"
3535
# TODO(https://github.com/flutter/flutter/issues/113848): Migrate all platforms
3636
# to have this as an error.
37-
MAC_HOST_WARNINGS_AS_ERRORS="performance-move-const-arg,performance-unnecessary-value-param"
37+
MAC_HOST_WARNINGS_AS_ERRORS="performance-move-const-arg"
3838

39+
FLUTTER_LINT_PRINT_FIX=1
3940
# FLUTTER_LINT_PRINT_FIX will make it so that fix is executed and the generated
4041
# diff is printed to stdout if clang-tidy fails. This is helpful for enabling
4142
# new lints.

0 commit comments

Comments
 (0)