We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28322ce commit 606e9cdCopy full SHA for 606e9cd
script/global.d.lua
@@ -90,3 +90,7 @@ SOCKET = 0
90
91
-- Allowing the use of the root directory or home directory as the workspace
92
FORCE_ACCEPT_WORKSPACE = false
93
+
94
+-- Trust all plugins that are being loaded by workspace config files.
95
+-- This is potentially unsafe for normal use and meant for usage in CI environments only.
96
+TRUST_ALL_PLUGINS = false
script/plugin.lua
@@ -73,6 +73,9 @@ end
73
---@async
74
---@param scp scope
75
local function checkTrustLoad(scp)
76
+ if TRUST_ALL_PLUGINS then
77
+ return true
78
+ end
79
local pluginPath = scp:get('pluginPath')
80
local filePath = LOGPATH .. '/trusted'
81
local trusted = util.loadFile(filePath)
0 commit comments