[VSCode] Disabling certain linter within Selene?

!! I AM USING VISUAL STUDIO CODE, NOT ROBLOX STUDIO !!

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I would like to disable the selene::multiple_statements linter

  2. What is the issue? Include screenshots / videos if possible!
    I cannot seem to disable it


    image

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Adding nolint comments.

First of all, selene has documentation, with one of the pages talking about configs. Find it here: Configuration - selene Documentation

If you dont want to read it, then here you go:

  1. Create a selene.toml file. (Anything written in the ´selene.toml´ file is global for the project.)
  2. Add a [rules] to the file.
  3. Under rules type: name_of_line = "allow"

So this is what you should write:

std = "roblox" # Use the roblox std

[rules]
multiple_statements = "allow"
4 Likes

I have clearly forgotten about these configurations, thanks for awnsering the question!