Skip to content

Commit 2d6ef50

Browse files
committed
Revert "migrate to eslintrc.js"
This reverts commit 237afd6.
1 parent 237afd6 commit 2d6ef50

File tree

3 files changed

+7
-44
lines changed

3 files changed

+7
-44
lines changed

.eslintrc.js

Lines changed: 0 additions & 43 deletions
This file was deleted.

.eslintrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "zardoy",
3+
"rules": {
4+
"curly": "off"
5+
}
6+
}

src/sendCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const sendCommand = async <Response, K = any>(
2222
const message = 'Special commands are not supported in Volar takeover mode'
2323
if (passthroughExposedApiCommands.includes(command as any)) {
2424
// don't spam in case of api command
25-
console.error(`[${command}] ${message}`)
25+
console.error(message)
2626
} else {
2727
throw new Error(message)
2828
}

0 commit comments

Comments
 (0)