summaryrefslogtreecommitdiff
path: root/tools/cpplint.py
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 /tools/cpplint.py
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 'tools/cpplint.py')
-rwxr-xr-xtools/cpplint.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cpplint.py b/tools/cpplint.py
index 034670dad9..aed35f3e0e 100755
--- a/tools/cpplint.py
+++ b/tools/cpplint.py
@@ -361,6 +361,7 @@ _DEFAULT_FILTERS = [
'-build/include_subdir',
'-build/include_what_you_use',
'-legal/copyright',
+ '-readability/nolint',
]
# The default list of categories suppressed for C (not C++) files.