dart-sdk/runtime/CPPLINT.cfg
Vyacheslav Egorov d0887dc524 [cpplint] Disable runtime/references lint
Google Style Guide now prefers references to pointers because references
are non-nullable.

See https://google.github.io/styleguide/cppguide.html#Inputs_and_Outputs which now says:

> Non-optional input parameters should usually be values or const references, while non-optional
> output and input/output parameters should usually be references (which cannot be null).

This means runtime/references lint is outdated and can be disabled.

R=kustermann@google.com

Change-Id: Idec650603982387c000671aad7d77727a008f5cd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279388
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
2023-01-23 18:21:48 +00:00

14 lines
465 B
INI

# Do not continue looking up the directory hierarchy
# for more config files.
set noparent
# Do not limit function size. For example parts of
# the simulator are really large.
#
# Do not complain about whitespace. That is handled
# by the clang format presubmit check.
#
# Do not complain about non-const references. Chromium and Google code
# styles now recommend references instead of pointers.
filter=-readability/fn_size,-whitespace/indent,-runtime/references