mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
a2bdcbab5f
Primitives should use lowercase in error message. Refs: https://github.com/nodejs/node/pull/16401 PR-URL: https://github.com/nodejs/node/pull/17568 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
7 lines
171 B
YAML
7 lines
171 B
YAML
rules:
|
|
# Custom rules in tools/eslint-rules
|
|
require-buffer: error
|
|
buffer-constructor: error
|
|
no-let-in-for-declaration: error
|
|
lowercase-name-for-primitive: error
|