From 9dae69ef3282aa7c3ebd5243b77199108ad595f9 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 7 Apr 2024 00:25:15 +0200 Subject: Add support of E2E tests using Playwright --- eslint.config.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'eslint.config.js') diff --git a/eslint.config.js b/eslint.config.js index 8982429..51753f5 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -99,9 +99,18 @@ module.exports = [ } }, { - files: ['eslint.config.js'], + files: ['eslint.config.js', 'playwright.config.js'], languageOptions: { 'sourceType': 'commonjs' } + }, + { + files: ['playwright.config.js'], + languageOptions: { + globals: { + // Browser global variables + ...globals.node + } + } } ]; -- cgit v1.2.3