Interface PnPSettings

Plug N Play settings to support package systems like Yarn 2.

interface PnPSettings {
    pnpFiles?: string[];
    usePnP?: boolean;
}

Hierarchy (view full)

Properties

Properties

pnpFiles?: string[]

The PnP files to search for. Note: .mjs files are not currently supported.

Default

[".pnp.js", ".pnp.cjs"]
usePnP?: boolean

Packages managers like Yarn 2 use a .pnp.cjs file to assist in loading packages stored in the repository.

When true, the spell checker will search up the directory structure for the existence of a PnP file and load it.

Default

false