Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: enable no-buffer-constructor lint rule #25261

Merged
merged 2 commits into from
Dec 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
rules:
prefer-object-spread: error
no-buffer-constructor: error
no-restricted-syntax:
# Config copied from .eslintrc.js
- error
Expand All @@ -26,7 +27,6 @@ rules:
message: "Use an error exported by the internal/errors module."
# Custom rules in tools/eslint-rules
node-core/require-globals: error
node-core/buffer-constructor: error
node-core/no-let-in-for-declaration: error
node-core/lowercase-name-for-primitive: error
node-core/non-ascii-character: error
Expand Down
27 changes: 0 additions & 27 deletions test/parallel/test-eslint-buffer-constructor.js

This file was deleted.

1 change: 0 additions & 1 deletion test/root.status
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ parallel/test-domain-with-abort-on-uncaught-exception: SLOW
parallel/test-env-var-no-warnings: SLOW
parallel/test-error-reporting: SLOW
parallel/test-eslint-alphabetize-errors: SLOW
parallel/test-eslint-buffer-constructor: SLOW
parallel/test-eslint-crypto-check: SLOW
parallel/test-eslint-documented-errors: SLOW
parallel/test-eslint-duplicate-requires: SLOW
Expand Down
20 changes: 0 additions & 20 deletions tools/eslint-rules/buffer-constructor.js

This file was deleted.