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

mongodb-js / mongodb-mcp-server / 16347477296

17 Jul 2025 02:10PM UTC coverage: 77.304% (-0.09%) from 77.39%
16347477296

Pull #378

github

web-flow
Merge 2f2bcf319 into fd3f2a4fd
Pull Request #378: chore: specify the correct minimum node requirements

496 of 685 branches covered (72.41%)

Branch coverage included in aggregate %.

2825 of 3611 relevant lines covered (78.23%)

28.48 hits per line

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

0.0
/eslint.config.js
1
import { defineConfig, globalIgnores } from "eslint/config";
×
2
import js from "@eslint/js";
×
3
import globals from "globals";
×
4
import tseslint from "typescript-eslint";
×
5
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
×
6
import vitestPlugin from "@vitest/eslint-plugin";
×
7

8
const testFiles = ["tests/**/*.test.ts", "tests/**/*.ts"];
×
9

10
const files = [...testFiles, "src/**/*.ts", "scripts/**/*.ts"];
×
11

12
export default defineConfig([
×
13
    { files, plugins: { js }, extends: ["js/recommended"] },
×
14
    { files, languageOptions: { globals: globals.node } },
×
15
    {
×
16
        files: testFiles,
×
17
        plugins: {
×
18
            vitest: vitestPlugin,
×
19
        },
×
20
        languageOptions: {
×
21
            globals: {
×
22
                ...globals.node,
×
23
            },
×
24
        },
×
25
        rules: {
×
26
            ...vitestPlugin.configs.recommended.rules,
×
27
            "vitest/valid-title": "off",
×
28
            "vitest/expect-expect": [
×
29
                "error",
×
30
                {
×
31
                    assertFunctionNames: ["expect", "expectDefined", "verifyMockCalls"],
×
32
                },
×
33
            ],
×
34
        },
×
35
    },
×
36
    tseslint.configs.recommendedTypeChecked,
×
37
    {
×
38
        files,
×
39
        languageOptions: {
×
40
            parserOptions: {
×
41
                project: "./tsconfig.json",
×
42
                tsconfigRootDir: import.meta.dirname,
×
43
            },
×
44
        },
×
45
    },
×
46
    {
×
47
        files,
×
48
        rules: {
×
49
            "@typescript-eslint/switch-exhaustiveness-check": "error",
×
50
            "@typescript-eslint/no-non-null-assertion": "error",
×
51
        },
×
52
    },
×
53
    globalIgnores([
×
54
        "node_modules",
×
55
        "dist",
×
56
        "src/common/atlas/openapi.d.ts",
×
57
        "coverage",
×
58
        "global.d.ts",
×
59
        "eslint.config.js",
×
60
        "vitest.config.ts",
×
61
        "src/types/*.d.ts",
×
62
    ]),
×
63
    eslintPluginPrettierRecommended,
×
64
]);
×
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