diff options
author | cjihrig <cjihrig@gmail.com> | 2018-12-28 18:04:00 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-12-30 19:17:44 -0500 |
commit | 7bb3d63304ddd708738df258de4e2aba84a792e5 (patch) | |
tree | 68bed8dbdd67aeec85bf05de0f07aba7e3c66343 /lib/.eslintrc.yaml | |
parent | 76ecec208266d2f49660e5db2a8ebbbcc1d841c7 (diff) | |
download | node-new-7bb3d63304ddd708738df258de4e2aba84a792e5.tar.gz |
tools: enable no-buffer-constructor lint rule
PR-URL: https://github.com/nodejs/node/pull/25261
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'lib/.eslintrc.yaml')
-rw-r--r-- | lib/.eslintrc.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/.eslintrc.yaml b/lib/.eslintrc.yaml index a7a1c15e90..e9b43e9bff 100644 --- a/lib/.eslintrc.yaml +++ b/lib/.eslintrc.yaml @@ -1,5 +1,6 @@ rules: prefer-object-spread: error + no-buffer-constructor: error no-restricted-syntax: # Config copied from .eslintrc.js - error |