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

streetsidesoftware / cspell / 15433608964

04 Jun 2025 04:30AM UTC coverage: 92.361% (-0.8%) from 93.187%
15433608964

Pull #7414

github

web-flow
Merge 5f7a9ec95 into 6e3c5d0e0
Pull Request #7414: fix: Add init command to command-line.

12867 of 15195 branches covered (84.68%)

221 of 393 new or added lines in 13 files covered. (56.23%)

15838 of 17148 relevant lines covered (92.36%)

30053.04 hits per line

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

66.67
/packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileInMemory.ts
1
import type { CSpellSettings } from '@cspell/cspell-types';
2

3
import { ImplCSpellConfigFile } from '../CSpellConfigFile.js';
4

5
export class CSpellConfigFileInMemory extends ImplCSpellConfigFile {
6
    constructor(
7
        /** A url representing where it might exist, used to resolve imports. */
8
        readonly url: URL,
7✔
9
        readonly settings: CSpellSettings,
7✔
10
    ) {
11
        super(url, settings);
7✔
12
    }
13

14
    setSchema(schema: string): this {
NEW
15
        this.settings.$schema = schema;
×
NEW
16
        return this;
×
17
    }
18

19
    get virtual(): boolean {
20
        return true;
1✔
21
    }
22
}
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

© 2026 Coveralls, Inc