Interface: WorkspaceTrustSettings
Defined in: packages/cspell-types/dist/index.d.mts:1383
To prevent the unwanted execution of untrusted code, WorkspaceTrustSettings are use to set the trust levels.
Trust setting have an impact on both cspell.config.js files and on .pnp.js files.
In an untrusted location, these files will NOT be used.
This will also prevent any associated plugins from being loaded.
Properties
trustedFiles?
optionaltrustedFiles:Glob[]
Defined in: packages/cspell-types/dist/index.d.mts:1387
Glob patterns of locations that contain ALWAYS trusted files.
trustLevel?
optionaltrustLevel:TrustLevel
Defined in: packages/cspell-types/dist/index.d.mts:1396
Sets the default trust level.
Default
"trusted"
untrustedFiles?
optionaluntrustedFiles:Glob[]
Defined in: packages/cspell-types/dist/index.d.mts:1391
Glob patterns of locations that contain NEVER trusted files.