Linter configuration
The linting process uses our own .editorconfig-file where we specify the rules that the linter should follow.
Setup linter in Visual Studio Code
The .editorconfig-file will be global for the entire repository so the only thing needed to do is to enable Roslyn analysers, and add editor config support, for your local Visual Studio Code environment.
- Press
ctrl + shift + pand enter the command> Preferences: Open User Settings. - Search for OmniSharp and make sure the two boxes are ticked like the image below.

Reboot Visual Studio Code, or press ctrl + shift + p and run the command > OmniSharp: Restart OmniSharp. The linting should now be working with our .editorconfig.
Last update: 2023-07-21