commit | bb5534a22cf152f5d8c45de42b05b8e0be678d0c | [log] [tgz] |
---|---|---|
author | Randall Leeds <randall@apache.org> | Sat Apr 03 21:45:26 2021 -0700 |
committer | Randall Leeds <randall@apache.org> | Sat Apr 03 21:45:26 2021 -0700 |
tree | 0f3aa7987ce1076bf85912f72f65ac58f36cb24e | |
parent | 3811161e9cd6710e52550d4b3301efb107f16e01 [diff] |
Add globalThis to the JavaScript ESLint setup
diff --git a/.eslintrc.js b/.eslintrc.js index 0acd180..d40dd77 100644 --- a/.eslintrc.js +++ b/.eslintrc.js
@@ -85,6 +85,9 @@ es2017: true, node: true, }, + globals: { + globalThis: 'readonly', + }, parserOptions: { ecmaVersion: 2019, },