VS Code and pylint?

Is anyone using VS Code as their python editor? I notice if I open a .py file from the filesystem then pylint runs, but if I open by editing a text DAT pylint does not run correctly. Anyone manage to get this working? Mind posting your vscode settings?