Skip to content

Commit fee8a11

Browse files
cjihrigtargos
authored andcommitted
tools: remove custom buffer-constructor lint rule
This rule is no longer needed. ESLint's built in no-buffer-constructor rule is enabled instead. PR-URL: #25261 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent ee43540 commit fee8a11

File tree

4 files changed

+0
-49
lines changed

4 files changed

+0
-49
lines changed

lib/.eslintrc.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ rules:
2727
message: "Use an error exported by the internal/errors module."
2828
# Custom rules in tools/eslint-rules
2929
node-core/require-globals: error
30-
node-core/buffer-constructor: error
3130
node-core/no-let-in-for-declaration: error
3231
node-core/lowercase-name-for-primitive: error
3332
node-core/non-ascii-character: error

test/parallel/test-eslint-buffer-constructor.js

-27
This file was deleted.

test/root.status

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ parallel/test-domain-with-abort-on-uncaught-exception: SLOW
3131
parallel/test-env-var-no-warnings: SLOW
3232
parallel/test-error-reporting: SLOW
3333
parallel/test-eslint-alphabetize-errors: SLOW
34-
parallel/test-eslint-buffer-constructor: SLOW
3534
parallel/test-eslint-crypto-check: SLOW
3635
parallel/test-eslint-documented-errors: SLOW
3736
parallel/test-eslint-duplicate-requires: SLOW

tools/eslint-rules/buffer-constructor.js

-20
This file was deleted.

0 commit comments

Comments
 (0)