How to disable prettier error highlitings in vscode

Viewed 2276

I'm not sure what I did to trigger this prettier code formatting thing . all I know is I opened up vscode to keep working on the same project I've been working on for months and all of a sudden I'm getting error messages and highlights about my double quotes and spacing.

what I see

here is what I've tried. first i stumbled across an answer to a similar question and looked for a file named .prettierrc edited it and set everything to false . When that didn't work i deleted the file all in all. Still nothing changed. Then tried looking for prettier settings based on another suggestion of go to file>preferences>settings and searching for prettier .that also didn't work, no search results related to prettier . I've been back and forth with this and tried other suggestions on disabling prettier but none seem to work .

here is what almost worked .adding the lines rules: { 'prettier/prettier': 0, }, to .eslintrc.js but it still lives some warnings of missing semi colon among a few others.

also I don't believe in need to edit any of the files that were initially available to remove something that initially wasn't

1 Answers

this is not prettier , prettier is only for formatting most likely you're using Eslint check this discussion at github

Related