microsoft / vscode-typescript-tslint-plugin

VS Code extension that provides TSLint support using the typescript-tslint-plugin
https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin
MIT License
188 stars 35 forks source link

Support prettier v2 #131

Closed snebjorn closed 3 years ago

snebjorn commented 4 years ago

After updating to prettier@2 I'm getting these on every line

image

mjbvz commented 3 years ago

Closing as there is not enough information to investigate this

From the screenshot and description, this sounds more like a prettier issue than an issue with this extension

snebjorn commented 3 years ago

This was related to when prettier changed EOL from auto to LF

I'm unable to reproduce this now. However I think that error was correct as it was reporting that the EOL wasn't LF which prettier required. The "real" issue was that prettier-vscode didn't change CRLF to LF when formatting https://github.com/prettier/prettier-vscode/issues/1327