node/tools
Rich Trott d233f10f03 tools: refloat 7 Node.js patches to cpplint.py
Cherry-pick 12c8b4d154
Original commit message:
    This commit is a suggestion for adding a rule for NULL usages in the
    code base. This will currently report a number of errors which could be
    ignored using // NOLINT (readability/null_usage)

    PR-URL: https://github.com/nodejs/node/pull/17373
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>

Refs: 12c8b4d154

Cherry-pick fc81e80191
Original commit message:

    Update cpplint.py to check for inline headers when the corresponding
    header is already included.

    PR-URL: https://github.com/nodejs/node/pull/21521
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>

Refs: fc81e80191

Cherry-pick cbc3dd997e
Original commit message:

    src, tools: add check for left leaning pointers

    This commit adds a rule to cpplint to check that pointers in the code
    base lean to the left and not right, and also fixes the violations
    reported.

    PR-URL: https://github.com/nodejs/node/pull/21010
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>

Refs: cbc3dd997e

Cherry-pick 902998190a
Original commit message:

    tools: fix cpplint.py header rules

    THIS COMMIT SHOULD GO WITH THE NEXT. IT WILL FIND NEW LINT.

    PR-URL: https://github.com/nodejs/node/pull/26306
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>

Refs: 902998190a

Cherry-pick 0a25ace9c3
Original commit message:

    tools: move cpplint configuration to .cpplint

    PR-URL: https://github.com/nodejs/node/pull/27098
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>

Refs: 0a25ace9c3

Cherry-pick afa9a7206c
Original commit message:

    tools: refloat update link to google styleguide for cpplint

    This commit updates two old links to Google's C++ styleguide which
    currently result in a 404 when accessed.

    PR-URL: https://github.com/nodejs/node/pull/30876
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>

Refs: afa9a7206c

Cherry-pick e23bf8f771
Original commit message:

    tools,src: refloat forbid usage of v8::Persistent

    `v8::Persistent` comes with the surprising catch that it requires
    manual cleanup. `v8::Global` doesn’t, making it easier to use,
    and additionally provides move semantics. New code should always
    use `v8::Global`.

    PR-URL: https://github.com/nodejs/node/pull/31018
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>

PR-URL: https://github.com/nodejs/node/pull/35569
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/35719
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2020-10-23 03:47:54 -07:00
..
actions build: fix Commit Queue failure comment 2020-10-14 06:11:13 -07:00
bootstrap
clang-format
code_cache tools: add missing uv_setup_argv() calls 2020-10-06 08:27:10 +00:00
configure.d
doc doc: importModuleDynamically gets Script, not Module 2020-10-17 22:13:22 -07:00
eslint-rules test: add common.mustSucceed 2020-10-17 00:48:26 +02:00
gyp tools: update gyp-next to v0.6.2 2020-10-17 04:18:55 -07:00
icu tools,doc: enforce alphabetical order for md refs 2020-09-22 10:25:43 -07:00
inspector_protocol
macos-installer
msvs Forces Powershell to use tls1.2 2020-07-08 12:24:39 +02:00
node-lint-md-cli-rollup tools: bump remark-lint-preset-node to 1.17.1 2020-10-18 04:55:47 -07:00
node_modules tools: update ESLint to 7.11.0 2020-10-11 23:42:04 +00:00
pip
rpm
snapshot tools: add missing uv_setup_argv() calls 2020-10-06 08:27:10 +00:00
v8_gypfiles tools: disable x86 safe exception handlers in V8 2020-10-18 20:18:03 +02:00
.eslintrc.yaml
build-addons.js
certdata.txt crypto: update certdata to NSS 3.56 2020-10-13 01:37:01 +00:00
checkimports.py tools: fix C++ import checker argument expansion 2020-08-07 08:43:19 -07:00
compress_json.py
cpplint.py tools: refloat 7 Node.js patches to cpplint.py 2020-10-23 03:47:54 -07:00
create_android_makefiles
create_expfile.sh
genv8constants.py
getarch.py
getendian.py
getmachine.py
getmoduleversion.py
getnapibuildversion.py
getnodeversion.py
gyp_node.py build: toolchain.gypi and node_gyp.py cleanup 2020-07-29 09:42:36 +00:00
install.py gyp,build: consistent shared library location 2020-10-14 12:09:57 +05:30
js2c.py
license-builder.sh module: named exports for CJS via static analysis 2020-09-28 18:27:25 -07:00
license2rtf.js
lint-md.js tools: bump remark-lint-preset-node to 1.17.1 2020-10-18 04:55:47 -07:00
lint-pr-commit-message.sh
lsan_suppressions.txt
macos-firewall.sh
make-v8.sh
mk-ca-bundle.pl
mkssldef.py
osx-codesign.sh
osx-entitlements.plist tools: add debug entitlements for macOS 10.15+ 2020-08-10 16:42:14 +02:00
osx-gon-config.json.tmpl
osx-notarize.sh
osx-pkg-postinstall.sh
osx-productsign.sh
release.sh
run-valgrind.py
run-worker.js
sign.bat
specialize_node_d.py
test-npm-package.js
test-v8.bat
test.py test: add Actions annotation output 2020-08-06 20:07:49 -07:00
update-authors.js
update-babel-eslint.sh
update-eslint.sh
utils.py
valgrind.supp