Edit rule settings open blank settings.json file issue

I’ve installed sonarlint for VS 2017 and to edit the rules, I want to edit the rule settings. when I do it from the settings menu, it opens the blank settings.json…

any idea, why is it happening and how to get a list of all rules so that we can turn on/off based on the scope?