Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 23, 03:00 UTC
Update scripts for checking peer dependencies
haxzie committed
May 15, 2025 at 16:39 UTC
38c6a3661c21adf5be80dfe8359713ea45f17894
1 file changed
+36
-31
eslint.config.mjs
+36
-31
@@ -1,43 +1,48 @@
1
-import globals from "globals";
2
-import tseslint from "typescript-eslint";
3
-
1
+import globals from 'globals';
2
+import tseslint from 'typescript-eslint';
3
4
/** @type {import('eslint').Linter.Config[]} */
5
export default [
6
{
8
- ignores: ["packages/**/dist/**", "packages/**/node_modules/**", "node_modules/**", "examples/"]
7
+ ignores: [
8
+ 'packages/**/dist/**',
9
+ 'packages/**/node_modules/**',
10
+ 'node_modules/**',
11
+ 'examples/',
12
+ 'scripts/**',
13
+ ],
14
},
10
- {files: ["packages/**/*.ts"]},
11
- {languageOptions: { globals: globals.browser }},
15
+ { files: ['packages/**/*.ts'] },
16
+ { languageOptions: { globals: globals.browser } },
17
...tseslint.configs.recommended,
18
{
19
rules: {
20
// "@typescript-eslint/no-var-requires": "off",
16
- "@typescript-eslint/no-require-imports": "warn",
17
- "@typescript-eslint/no-unsafe-function-type": "off",
18
- "no-prototype-builtins": "off",
19
- "max-lines-per-function": ["error", 250],
20
- "no-unused-vars": "off",
21
- "@typescript-eslint/ban-ts-comment": "warn",
22
- "no-constant-condition": "off",
23
- "no-ex-assign": "off",
24
- "no-constant-binary-expression": "off",
25
- "@typescript-eslint/no-empty-object-type": "warn",
26
- "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
27
- "no-unsafe-optional-chaining": "off",
28
- "no-extra-boolean-cast": "off",
29
- "no-var": "warn",
30
- "prefer-const": "warn",
31
- "no-console": "warn",
32
- "@typescript-eslint/no-explicit-any": "error",
33
- "@typescript-eslint/no-unused-vars": [
34
- "warn",
21
+ '@typescript-eslint/no-require-imports': 'warn',
22
+ '@typescript-eslint/no-unsafe-function-type': 'off',
23
+ 'no-prototype-builtins': 'off',
24
+ 'max-lines-per-function': ['error', 250],
25
+ 'no-unused-vars': 'off',
26
+ '@typescript-eslint/ban-ts-comment': 'warn',
27
+ 'no-constant-condition': 'off',
28
+ 'no-ex-assign': 'off',
29
+ 'no-constant-binary-expression': 'off',
30
+ '@typescript-eslint/no-empty-object-type': 'warn',
31
+ '@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
32
+ 'no-unsafe-optional-chaining': 'off',
33
+ 'no-extra-boolean-cast': 'off',
34
+ 'no-var': 'warn',
35
+ 'prefer-const': 'warn',
36
+ 'no-console': 'warn',
37
+ '@typescript-eslint/no-explicit-any': 'error',
38
+ '@typescript-eslint/no-unused-vars': [
39
+ 'warn',
40
{
36
- "argsIgnorePattern": "^_",
37
- "varsIgnorePattern": "^_",
38
- "caughtErrorsIgnorePattern": "^_"
39
- }
40
- ]
41
+ argsIgnorePattern: '^_',
42
+ varsIgnorePattern: '^_',
43
+ caughtErrorsIgnorePattern: '^_',
44
+ },
45
+ ],
46
},
47
},
43
-];
\ No newline at end of file
48
+];