Remove the ESLint "amd" environment (PR 17055 follow-up)

Please see https://eslint.org/docs/latest/use/configure/language-options#specifying-environments
This commit is contained in:
Jonas Jenwald 2023-10-15 11:46:47 +02:00
parent d5acbbccd3
commit 93f24dd5d7
2 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,6 @@
"browser": true, "browser": true,
"es2022": true, "es2022": true,
"worker": true, "worker": true,
"amd": true,
}, },
"globals": { "globals": {

View File

@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
/* globals require:readonly */
/* eslint-disable import/no-commonjs */ /* eslint-disable import/no-commonjs */
(typeof window !== "undefined" (typeof window !== "undefined"