summaryrefslogtreecommitdiff
path: root/lib/.eslintrc.yaml
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-12-28 18:04:00 -0500
committercjihrig <cjihrig@gmail.com>2018-12-30 19:17:44 -0500
commit7bb3d63304ddd708738df258de4e2aba84a792e5 (patch)
tree68bed8dbdd67aeec85bf05de0f07aba7e3c66343 /lib/.eslintrc.yaml
parent76ecec208266d2f49660e5db2a8ebbbcc1d841c7 (diff)
downloadnode-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.yaml1
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