• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mongodb-js / mongodb-mcp-server / 18978566012

31 Oct 2025 04:18PM UTC coverage: 80.142% (+0.2%) from 79.922%
18978566012

Pull #653

github

web-flow
Merge f636ea300 into f56f77206
Pull Request #653: chore: update atlas tools output to json - MCP-264

1349 of 1803 branches covered (74.82%)

Branch coverage included in aggregate %.

37 of 60 new or added lines in 6 files covered. (61.67%)

46 existing lines in 7 files now uncovered.

6428 of 7901 relevant lines covered (81.36%)

70.31 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/eslint.config.js
1
import path from "path";
×
2
import { defineConfig, globalIgnores } from "eslint/config";
×
3
import js from "@eslint/js";
×
4
import globals from "globals";
×
5
import tseslint from "typescript-eslint";
×
6
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
×
7
import vitestPlugin from "@vitest/eslint-plugin";
×
8
import noConfigImports from "./eslint-rules/no-config-imports.js";
×
UNCOV
9
import enforceZodV4 from "./eslint-rules/enforce-zod-v4.js";
×
10

UNCOV
11
const testFiles = ["tests/**/*.test.ts", "tests/**/*.ts"];
×
12

UNCOV
13
const files = [...testFiles, "src/**/*.ts", "scripts/**/*.ts"];
×
14

15
export default defineConfig([
×
16
    { files, plugins: { js }, extends: ["js/recommended"] },
×
17
    { files, languageOptions: { globals: globals.node } },
×
18
    {
×
19
        files: testFiles,
×
20
        plugins: {
×
21
            vitest: vitestPlugin,
×
22
        },
×
23
        languageOptions: {
×
24
            globals: {
×
25
                ...globals.node,
×
26
            },
×
27
        },
×
28
        rules: {
×
29
            ...vitestPlugin.configs.recommended.rules,
×
30
            "vitest/valid-title": "off",
×
31
            "vitest/expect-expect": [
×
32
                "error",
×
33
                {
×
34
                    assertFunctionNames: ["expect", "expectDefined", "verifyMockCalls"],
×
35
                },
×
36
            ],
×
37
        },
×
38
    },
×
39
    tseslint.configs.recommendedTypeChecked,
×
40
    {
×
41
        files,
×
42
        languageOptions: {
×
43
            parserOptions: {
×
44
                project: "./tsconfig.json",
×
45
                tsconfigRootDir: import.meta.dirname,
×
46
            },
×
47
        },
×
48
    },
×
49
    {
×
50
        files,
×
51
        rules: {
×
52
            "@typescript-eslint/switch-exhaustiveness-check": "error",
×
53
            "@typescript-eslint/no-non-null-assertion": "error",
×
54
            "@typescript-eslint/consistent-type-imports": ["error", { prefer: "type-imports" }],
×
55
            "@typescript-eslint/consistent-type-exports": [
×
56
                "error",
×
57
                {
×
58
                    fixMixedExportsWithInlineTypeSpecifier: false,
×
59
                },
×
60
            ],
×
61
            eqeqeq: "error",
×
62
            "no-self-compare": "error",
×
63
            "no-unassigned-vars": "error",
×
64
            "@typescript-eslint/await-thenable": "error",
×
65
            "@typescript-eslint/explicit-function-return-type": "error",
×
66
        },
×
67
    },
×
68
    {
×
69
        files: ["src/**/*.ts"],
×
70
        plugins: {
×
71
            "no-config-imports": {
×
72
                rules: {
×
73
                    "no-config-imports": noConfigImports,
×
74
                },
×
75
            },
×
76
            "enforce-zod-v4": {
×
77
                rules: {
×
78
                    "enforce-zod-v4": enforceZodV4,
×
79
                },
×
80
            },
×
81
        },
×
82
        rules: {
×
83
            "no-config-imports/no-config-imports": "error",
×
84
            "enforce-zod-v4/enforce-zod-v4": "error",
×
85
        },
×
86
    },
×
87
    globalIgnores([
×
88
        "node_modules",
×
89
        "dist",
×
90
        "src/common/atlas/openapi.d.ts",
×
91
        "coverage",
×
92
        "global.d.ts",
×
93
        "eslint.config.js",
×
UNCOV
94
        "vitest.config.ts",
×
UNCOV
95
        "src/types/*.d.ts",
×
UNCOV
96
        "tests/integration/fixtures/",
×
UNCOV
97
        "eslint-rules",
×
UNCOV
98
    ]),
×
UNCOV
99
    eslintPluginPrettierRecommended,
×
UNCOV
100
]);
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc