Interface PnPSettings

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

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

Hierarchy (View Summary)

Properties

Properties

pnpFiles?: string[]

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

[".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.

false