vscode-bazel icon indicating copy to clipboard operation
vscode-bazel copied to clipboard

Update linter configs

Open thomasvl opened this issue 6 years ago • 3 comments

With the two suggested extension open, an alert pops up from Prettier saying:

You have legacy linter options in your VS Code settings. They are no longer being used. See [documentation for migration information](pointing to https://github.com/prettier/prettier-vscode#linter-integration). Would you like to remove them or view the logs?

thomasvl avatar Nov 18 '19 16:11 thomasvl

The alert includes a button to remove the "old" settings, but it doesn't add any new ones.

thomasvl avatar Nov 18 '19 16:11 thomasvl

A quick attempt to update things on my part results in a bunch of files being changed (and needing to make more config files). So I'm not sure how things should eventually look. Also, just using the current extensions/libs seems to want to reformat some of the files, so it seems the formatters have already evolved from the current state of things.

thomasvl avatar Dec 10 '19 15:12 thomasvl

Yeah, I was hitting the same thing with trying to get a pull request ready. I'll probably just find a way to revert some of the "bad" formatting edits made by prettier, but it would be nice to know what others are doing for submissions here.

elklein avatar Feb 04 '20 00:02 elklein

Closing this, give that the linter& formatter were updated multiple times in the meantime and I didn't see any issues around this for a while

vogelsgesang avatar Apr 24 '24 07:04 vogelsgesang