edit the CWD variable to the directory you want to lint and save
press f5 (or click run and debug)
This will open up a new test VSCode window
open up the command window (command + shift + p)
select the "Migrate Segment SDK" command
go back to your VSCode window with extension.ts. You can use breakpoints in extension.ts to see the variables, or open "Debug Console" to see a printout of linting result objects
Note: This working correctly depends on a few things:
the rules being defined in the src folder (I tried to move it to its own rules folder but "rulePaths" kept not working and eslint couldn't find the rules)
sdkMigrationRules variable containing the names of the rules we want to use (so other errors can be filtered out)
UI details
To run the UI, run the extension and click on the Dependency button on the left sidebar. This will trigger the Migrate Segment SDK command to detect all Segment references within the project.