Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Update scripts for checking peer dependencies

haxzie38c6a3661c21
diff --git a/eslint.config.mjs b/eslint.config.mjs
index f157a8802..2e4200f01 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -1,43 +1,48 @@
-import globals from "globals";
-import tseslint from "typescript-eslint";
-
+import globals from 'globals';
+import tseslint from 'typescript-eslint';
/** @type {import('eslint').Linter.Config[]} */
export default [
{
- ignores: ["packages/**/dist/**", "packages/**/node_modules/**", "node_modules/**", "examples/"]
+ ignores: [
+ 'packages/**/dist/**',
+ 'packages/**/node_modules/**',
+ 'node_modules/**',
+ 'examples/',
+ 'scripts/**',
+ ],
},
- {files: ["packages/**/*.ts"]},
- {languageOptions: { globals: globals.browser }},
+ { files: ['packages/**/*.ts'] },
+ { languageOptions: { globals: globals.browser } },
...tseslint.configs.recommended,
{
rules: {
// "@typescript-eslint/no-var-requires": "off",
- "@typescript-eslint/no-require-imports": "warn",
- "@typescript-eslint/no-unsafe-function-type": "off",
- "no-prototype-builtins": "off",
- "max-lines-per-function": ["error", 250],
- "no-unused-vars": "off",
- "@typescript-eslint/ban-ts-comment": "warn",
- "no-constant-condition": "off",
- "no-ex-assign": "off",
- "no-constant-binary-expression": "off",
- "@typescript-eslint/no-empty-object-type": "warn",
- "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
- "no-unsafe-optional-chaining": "off",
- "no-extra-boolean-cast": "off",
- "no-var": "warn",
- "prefer-const": "warn",
- "no-console": "warn",
- "@typescript-eslint/no-explicit-any": "error",
- "@typescript-eslint/no-unused-vars": [
- "warn",
+ '@typescript-eslint/no-require-imports': 'warn',
+ '@typescript-eslint/no-unsafe-function-type': 'off',
+ 'no-prototype-builtins': 'off',
+ 'max-lines-per-function': ['error', 250],
+ 'no-unused-vars': 'off',
+ '@typescript-eslint/ban-ts-comment': 'warn',
+ 'no-constant-condition': 'off',
+ 'no-ex-assign': 'off',
+ 'no-constant-binary-expression': 'off',
+ '@typescript-eslint/no-empty-object-type': 'warn',
+ '@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
+ 'no-unsafe-optional-chaining': 'off',
+ 'no-extra-boolean-cast': 'off',
+ 'no-var': 'warn',
+ 'prefer-const': 'warn',
+ 'no-console': 'warn',
+ '@typescript-eslint/no-explicit-any': 'error',
+ '@typescript-eslint/no-unused-vars': [
+ 'warn',
{
- "argsIgnorePattern": "^_",
- "varsIgnorePattern": "^_",
- "caughtErrorsIgnorePattern": "^_"
- }
- ]
+ argsIgnorePattern: '^_',
+ varsIgnorePattern: '^_',
+ caughtErrorsIgnorePattern: '^_',
+ },
+ ],
},
},
-];
\ No newline at end of file
+];