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

streetsidesoftware / cspell / 15422135169

03 Jun 2025 03:58PM UTC coverage: 92.429% (-0.8%) from 93.187%
15422135169

Pull #7414

github

web-flow
Merge f35b4f8b3 into 1e041585f
Pull Request #7414: fix: Add init command to command-line.

12807 of 15079 branches covered (84.93%)

185 of 336 new or added lines in 13 files covered. (55.06%)

7 existing lines in 2 files now uncovered.

15774 of 17066 relevant lines covered (92.43%)

30203.68 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

© 2025 Coveralls, Inc