Cmd-. an eslint error, select "Disable @peggyjs/no-unused-rules for the entire file", you get this added to the top of the file:
/** eslint-disable @peggyjs/no-unused-rules */
This doesn't work because of the extra asterisk at the beginning. What is desired is this:
/* eslint-disable @peggyjs/no-unused-rules */
See https://github.com/microsoft/vscode-eslint/blob/1fa8e21b20f83987d349ac500a571194695117a3/server/src/eslintServer.ts#L699 for where the insertion happens. getBlockComment should return [ "/*", "*/" ] as far as I can see, so I don't know why this is happening.
Cmd-. an eslint error, select "Disable @peggyjs/no-unused-rules for the entire file", you get this added to the top of the file:
/** eslint-disable @peggyjs/no-unused-rules */This doesn't work because of the extra asterisk at the beginning. What is desired is this:
/* eslint-disable @peggyjs/no-unused-rules */See https://github.com/microsoft/vscode-eslint/blob/1fa8e21b20f83987d349ac500a571194695117a3/server/src/eslintServer.ts#L699 for where the insertion happens.
getBlockCommentshould return[ "/*", "*/" ]as far as I can see, so I don't know why this is happening.