Luau lint not working

As described here, the sample code in LocalUnused (7) at Linting - Luau is showing no warnings:

Script Analysis Beta is enabled.

Repro

  1. Enable Script Analysis Beta
  2. Paste this code in a Script:
local x = 1
-- Variable 'y' is never used; prefix with '_' to silence
local y = 2
print(x, x)
  1. Look into the Script Analysis Beta window
2 Likes

Thanks for the report! We’ve filed this internally and we’ll follow up here when we have an update for you.

1 Like

Things are all different now, so this topic is meaningless.