summaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
authormatt korwel <[email protected]>2025-06-16 08:27:29 -0700
committerGitHub <[email protected]>2025-06-16 15:27:29 +0000
commitdf938d6ee833ded59f6d12528105e6165ed76a92 (patch)
tree712b82037a378b74f5fd68ed5b06f1aae56a88c9 /eslint.config.js
parenta600588c200f85e9f3bfe46ef7f836387e7349e5 (diff)
Preflight and integration npx (#1096)
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}'],