summaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
authorKeir Mierle <[email protected]>2025-06-13 18:08:03 -0700
committerGitHub <[email protected]>2025-06-13 18:08:03 -0700
commit99547797390df9062cc68863a11d6a691d6e2bc4 (patch)
treeb12a110cdc8c077cd2e93b7cfe43e5c5767e6c82 /eslint.config.js
parent31b28ade010711c578d4be58c0dc439badebe000 (diff)
Add a local telemetry launcher (#1015)
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js
index 443bd9ae..3988ba79 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -159,10 +159,21 @@ export default tseslint.config(
files: ['./scripts/**/*.js', 'esbuild.config.js'],
languageOptions: {
globals: {
+ ...globals.node,
process: 'readonly',
console: 'readonly',
},
},
+ rules: {
+ '@typescript-eslint/no-unused-vars': [
+ 'error',
+ {
+ argsIgnorePattern: '^_',
+ varsIgnorePattern: '^_',
+ caughtErrorsIgnorePattern: '^_',
+ },
+ ],
+ },
},
// Prettier config must be last
prettierConfig,