mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
tools: add lint rule to keep primordials in ASCII order
PR-URL: https://github.com/nodejs/node/pull/52592 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
parent
461722d64c
commit
a596af0819
96 changed files with 337 additions and 190 deletions
|
@ -9,8 +9,8 @@ const {
|
|||
ArrayPrototypePop,
|
||||
ArrayPrototypePush,
|
||||
ArrayPrototypeReverse,
|
||||
ArrayPrototypeSplice,
|
||||
ArrayPrototypeShift,
|
||||
ArrayPrototypeSplice,
|
||||
ArrayPrototypeUnshift,
|
||||
DateNow,
|
||||
FunctionPrototypeCall,
|
||||
|
@ -21,6 +21,7 @@ const {
|
|||
NumberIsFinite,
|
||||
ObjectSetPrototypeOf,
|
||||
RegExpPrototypeExec,
|
||||
SafeStringIterator,
|
||||
StringPrototypeCodePointAt,
|
||||
StringPrototypeEndsWith,
|
||||
StringPrototypeRepeat,
|
||||
|
@ -28,9 +29,8 @@ const {
|
|||
StringPrototypeStartsWith,
|
||||
StringPrototypeTrim,
|
||||
Symbol,
|
||||
SymbolDispose,
|
||||
SymbolAsyncIterator,
|
||||
SafeStringIterator,
|
||||
SymbolDispose,
|
||||
} = primordials;
|
||||
|
||||
const { codes } = require('internal/errors');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue