summaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js
index 16577628..4078fdff 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -173,6 +173,16 @@ export default tseslint.config(
],
},
},
+ // extra settings for scripts that we run directly with node
+ {
+ files: ['./scripts/**/*.js'],
+ languageOptions: {
+ globals: {
+ process: 'readonly',
+ console: 'readonly',
+ },
+ },
+ },
// Prettier config must be last
prettierConfig,
// Custom eslint rules for this repo