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:
Antoine du Hamel 2024-04-21 18:53:08 +02:00 committed by GitHub
parent 461722d64c
commit a596af0819
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
96 changed files with 337 additions and 190 deletions

View file

@ -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');