node/tools
Rich Trott 79d487e388 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>

PR-URL: https://github.com/nodejs/node/pull/35866

PR-URL: https://github.com/nodejs/node/pull/36213
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/36235
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/36324
Reviewed-By: Beth Griggs <bgriggs@redhat.com>

PR-URL: https://github.com/nodejs/node/pull/38851
Reviewed-By: Khaidi Chu <i@2333.moe>
2021-05-31 22:12:01 -07:00
..
actions
bootstrap doc: use `HEAD` instead of `master` for links 2021-05-05 10:45:30 +02:00
clang-format
code_cache
configure.d
doc tools: add `Worker` to type-parser 2021-05-13 18:12:53 -07:00
eslint-rules tools: remove fixer for non-ascii-character ESLint custom rule 2021-04-28 10:35:32 -07:00
gyp
icu deps: update ICU to 69.1 2021-04-14 09:07:29 +00:00
inspector_protocol doc: use `HEAD` instead of `master` for links 2021-05-05 10:45:30 +02:00
macos-installer tools: set arch in Distribution.xml 2021-04-19 10:23:24 +01:00
msvs
node-lint-md-cli-rollup tools: update markdown linter rules 2021-04-26 09:19:08 -07:00
node_modules tools: update ESLint to 7.27.0 2021-05-26 18:22:04 +02:00
pip
rpm
snapshot tools: use PrintCaughtException in the snapshot builder 2021-05-26 16:22:33 +08:00
v8_gypfiles tools: remove redundant v8 config 2021-05-18 03:12:21 +00:00
.eslintrc.yaml
build-addons.js
certdata.txt
checkimports.py
compress_json.py
cpplint.py tools: refloat 7 Node.js patches to cpplint.py 2021-05-31 22:12:01 -07:00
create_android_makefiles
create_expfile.sh
genv8constants.py
getarch.py
getendian.py
getmachine.py
getmoduleversion.py
getnapibuildversion.py
getnodeversion.py
getsharedopensslhasquic.py
gyp_node.py
install.py
js2c.py
license-builder.sh doc: use `HEAD` instead of `master` for links 2021-05-05 10:45:30 +02:00
license2rtf.js
lint-md.js tools: update markdown linter rules 2021-04-26 09:19:08 -07:00
lint-pr-commit-message.sh
lint-pr-url.mjs
lint-sh.js tools: relax max-len lint rule for template strings 2021-04-07 04:16:35 -07:00
lsan_suppressions.txt
macos-firewall.sh
make-v8.sh tools: add _depot_tools to PATH (for V8 tests) 2021-04-27 15:02:10 -07:00
mk-ca-bundle.pl
mkssldef.py
osx-codesign.sh
osx-entitlements.plist
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 tools: fix type mismatch in test runner 2021-04-21 16:43:46 -04:00
update-authors.js
update-babel-eslint.sh
update-eslint.sh
update-npm.sh tools: use mktemp to create the workspace directory 2021-05-03 14:49:52 +02:00
utils.py
valgrind.supp