diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2024-04-07 00:25:15 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2024-04-07 10:42:25 +0200 |
| commit | 9dae69ef3282aa7c3ebd5243b77199108ad595f9 (patch) | |
| tree | 4e18585fe3b95e6603c34287efeb00fd237be98f /eslint.config.js | |
| parent | 34f9e78c69183627a82e03e32563d15b73a33782 (diff) | |
| download | gohugo-theme-ed-9dae69ef3282aa7c3ebd5243b77199108ad595f9.tar.gz | |
Add support of E2E tests using Playwright
Diffstat (limited to 'eslint.config.js')
| -rw-r--r-- | eslint.config.js | 11 |
1 files changed, 10 insertions, 1 deletions
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 + } + } } ]; |
