summaryrefslogtreecommitdiff
path: root/src/js_native_api_v8.h
diff options
context:
space:
mode:
authorgengjiawen <technicalcute@gmail.com>2019-03-28 10:20:53 -0400
committerRefael Ackermann <refack@gmail.com>2019-04-05 08:59:00 -0400
commitd0e2650d03f823cf5cc2f55750a7d5111fb2040d (patch)
treecf4cba82834128d80e74aad72b1d809a78f6f8d0 /src/js_native_api_v8.h
parent135b79a31d51939d46b68eaea5249e28c7f67757 (diff)
downloadandroid-node-v8-d0e2650d03f823cf5cc2f55750a7d5111fb2040d.tar.gz
android-node-v8-d0e2650d03f823cf5cc2f55750a7d5111fb2040d.tar.bz2
android-node-v8-d0e2650d03f823cf5cc2f55750a7d5111fb2040d.zip
src: add NOLINT to js_native_.*
* add filter to not lint NOLINT rules PR-URL: https://github.com/nodejs/node/pull/26884 Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'src/js_native_api_v8.h')
-rw-r--r--src/js_native_api_v8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js_native_api_v8.h b/src/js_native_api_v8.h
index d746660df4..4e1779e8f0 100644
--- a/src/js_native_api_v8.h
+++ b/src/js_native_api_v8.h
@@ -1,7 +1,8 @@
#ifndef SRC_JS_NATIVE_API_V8_H_
#define SRC_JS_NATIVE_API_V8_H_
-#include <string.h>
+// This file needs to be compatible with C compilers.
+#include <string.h> // NOLINT(modernize-deprecated-headers)
#include "js_native_api_types.h"
#include "js_native_api_v8_internals.h"