1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-03 23:50:33 +02:00

Chore: Implement eslint rule no-unused-expressions (#11533)

This commit is contained in:
Laurent Cozic
2024-12-18 14:30:05 +01:00
committed by GitHub
parent 482c9e9aab
commit 3cba4ec82c
17 changed files with 37 additions and 19 deletions

View File

@ -302,6 +302,7 @@ async function main() {
selectedCommandArgs = args;
}
// eslint-disable-next-line no-unused-expressions -- Old code before rule was applied
require('yargs')
.scriptName(scriptName)
.usage('$0 <cmd> [args]')