Skip to content

Commit 99eb7ea

Browse files
committed
Update list of globals
1 parent 4d5945d commit 99eb7ea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

etc/eslint/rules/stdlib.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4290,6 +4290,9 @@ rules[ 'stdlib/require-file-extensions' ] = [ 'off', { // TODO: Enable once all
42904290
rules[ 'stdlib/require-globals' ] = [ 'error', {
42914291
'globals': [
42924292
'ArrayBuffer',
4293+
'BigInt', // ES11/ES2020
4294+
'BigInt64Array', // ES11/ES2020
4295+
'BigUint64Array', // ES11/ES2020
42934296
'Buffer', // Node.js
42944297
'DataView',
42954298
'Float32Array',
@@ -4298,9 +4301,10 @@ rules[ 'stdlib/require-globals' ] = [ 'error', {
42984301
'Int16Array',
42994302
'Int32Array',
43004303
'Number',
4304+
'Promise', // ES6/ES2015
43014305
'process', // Node.js
43024306
'SharedArrayBuffer',
4303-
'Symbol',
4307+
'Symbol', // ES6/ES2015
43044308
'Uint8Array',
43054309
'Uint8ClampedArray',
43064310
'Uint16Array',

0 commit comments

Comments
 (0)