diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-10 15:37:51 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-14 17:15:33 +0100 |
commit | 1fa5004e813d621660a5e0df364efd87bcdacfc0 (patch) | |
tree | d724086a6ddc82fee94350cf50a095fc9924c7f7 /doc/api/path.md | |
parent | 1a0004d08ee4dd9e0752780adc587ed1b24f86d7 (diff) | |
download | node-new-1fa5004e813d621660a5e0df364efd87bcdacfc0.tar.gz |
lib,test: improve faulty assert usage detection
This improves our custom eslint rules to detect assertions to detect
assertions with only a single argument and fixes false negatives in
case unary expressions are used.
Some rules were extended to also lint our docs and tools and the lib
rule was simplified to prohibit most assertion calls.
PR-URL: https://github.com/nodejs/node/pull/26569
Refs: https://github.com/nodejs/node/pull/26565
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'doc/api/path.md')
0 files changed, 0 insertions, 0 deletions