diff --git a/esphome/core/string_ref.h b/esphome/core/string_ref.h index 52ddbb8133..d502c4d27f 100644 --- a/esphome/core/string_ref.h +++ b/esphome/core/string_ref.h @@ -222,7 +222,7 @@ inline float stof(const StringRef &str, size_t *pos = nullptr) { inline double stod(const StringRef &str, size_t *pos = nullptr) { return internal::parse_number(str, pos, std::strtod); } -// NOLINTEND(readability-identifier-naming) +// NOLINTEND(readability-identifier-naming,google-runtime-int) #ifdef USE_JSON // NOLINTNEXTLINE(readability-identifier-naming)