summaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js
index 3988ba79..0d9c5114 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -177,6 +177,27 @@ export default tseslint.config(
},
// Prettier config must be last
prettierConfig,
+ // extra settings for scripts that we run directly with node
+ {
+ files: ['./integration-tests/**/*.js'],
+ languageOptions: {
+ globals: {
+ ...globals.node,
+ process: 'readonly',
+ console: 'readonly',
+ },
+ },
+ rules: {
+ '@typescript-eslint/no-unused-vars': [
+ 'error',
+ {
+ argsIgnorePattern: '^_',
+ varsIgnorePattern: '^_',
+ caughtErrorsIgnorePattern: '^_',
+ },
+ ],
+ },
+ },
// Custom eslint rules for this repo
{
files: ['packages/**/*.{js,jsx,ts,tsx}'],