summaryrefslogtreecommitdiffstats
path: root/eslint.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js11
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
+ }
+ }
}
];