Run eslint in CI (#3487)

* Run eslint in CI

* Add linting of e2e

* Fix formatting

* Fix new warnings in e2e

* Fix more new warnings
This commit is contained in:
Jonathan Tran
2024-08-19 15:36:18 -04:00
committed by GitHub
parent c67511f67c
commit 2b711d216f
14 changed files with 26 additions and 17 deletions

View File

@ -154,10 +154,6 @@ export function buildCommandArgument<
} satisfies Omit<CommandArgument<O, T>, 'inputType'>
if (arg.inputType === 'options') {
if (!(arg.options || arg.optionsFromContext)) {
throw new Error('Options must be provided for options input type')
}
return {
inputType: arg.inputType,
...baseCommandArgument,