Add monthly to gains commands #13984
codequality.yml
on: pull_request
ESLint
1m 1s
Typescript
56s
Annotations
8 warnings
ESLint:
src/mahoji/commands/tools.ts#L318
[eslint] reported by reviewdog 🐶
'i' is already declared in the upper scope on line 317 column 53.
Raw Output:
{"ruleId":"no-shadow","severity":1,"message":"'i' is already declared in the upper scope on line 317 column 53.","line":318,"column":53,"nodeType":"Identifier","messageId":"noShadow","endLine":318,"endColumn":54}
|
ESLint:
src/mahoji/commands/tools.ts#L612
[eslint] reported by reviewdog 🐶
Unexpected value in conditional. A boolean expression is required.
Raw Output:
{"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected value in conditional. A boolean expression is required.","line":612,"column":63,"nodeType":"Identifier","messageId":"conditionErrorOther","endLine":612,"endColumn":66}
|
ESLint:
src/mahoji/commands/tools.ts#L616
[eslint] reported by reviewdog 🐶
'mon' is already declared in the upper scope on line 616 column 8.
Raw Output:
{"ruleId":"no-shadow","severity":1,"message":"'mon' is already declared in the upper scope on line 616 column 8.","line":616,"column":37,"nodeType":"Identifier","messageId":"noShadow","endLine":616,"endColumn":40}
|
ESLint:
src/mahoji/commands/tools.ts#L643
[eslint] reported by reviewdog 🐶
'id' is already declared in the upper scope on line 623 column 10.
Raw Output:
{"ruleId":"no-shadow","severity":1,"message":"'id' is already declared in the upper scope on line 623 column 10.","line":643,"column":11,"nodeType":"Identifier","messageId":"noShadow","endLine":643,"endColumn":13}
|
ESLint:
src/mahoji/commands/tools.ts#L749
[eslint] reported by reviewdog 🐶
Unexpected string value in conditional. An explicit empty string check is required.
Raw Output:
{"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected string value in conditional. An explicit empty string check is required.","line":749,"column":25,"nodeType":"Identifier","messageId":"conditionErrorString","endLine":749,"endColumn":30,"suggestions":[{"messageId":"conditionFixCompareStringLength","fix":{"range":[23825,23831],"text":"(value.length === 0)"},"desc":"Change condition to check string's length (`value.length !== 0`)"},{"messageId":"conditionFixCompareEmptyString","fix":{"range":[23825,23831],"text":"(value === \"\")"},"desc":"Change condition to check for empty string (`value !== \"\"`)"},{"messageId":"conditionFixCastBoolean","fix":{"range":[23825,23831],"text":"(!Boolean(value))"},"desc":"Explicitly cast value to a boolean (`Boolean(value)`)"}]}
|
ESLint:
src/mahoji/commands/tools.ts#L818
[eslint] reported by reviewdog 🐶
Unexpected string value in conditional. An explicit empty string check is required.
Raw Output:
{"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected string value in conditional. An explicit empty string check is required.","line":818,"column":25,"nodeType":"Identifier","messageId":"conditionErrorString","endLine":818,"endColumn":30,"suggestions":[{"messageId":"conditionFixCompareStringLength","fix":{"range":[25893,25899],"text":"(value.length === 0)"},"desc":"Change condition to check string's length (`value.length !== 0`)"},{"messageId":"conditionFixCompareEmptyString","fix":{"range":[25893,25899],"text":"(value === \"\")"},"desc":"Change condition to check for empty string (`value !== \"\"`)"},{"messageId":"conditionFixCastBoolean","fix":{"range":[25893,25899],"text":"(!Boolean(value))"},"desc":"Explicitly cast value to a boolean (`Boolean(value)`)"}]}
|
ESLint:
src/mahoji/commands/tools.ts#L931
[eslint] reported by reviewdog 🐶
Unexpected string value in conditional. An explicit empty string check is required.
Raw Output:
{"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected string value in conditional. An explicit empty string check is required.","line":931,"column":25,"nodeType":"Identifier","messageId":"conditionErrorString","endLine":931,"endColumn":30,"suggestions":[{"messageId":"conditionFixCompareStringLength","fix":{"range":[29056,29062],"text":"(value.length === 0)"},"desc":"Change condition to check string's length (`value.length !== 0`)"},{"messageId":"conditionFixCompareEmptyString","fix":{"range":[29056,29062],"text":"(value === \"\")"},"desc":"Change condition to check for empty string (`value !== \"\"`)"},{"messageId":"conditionFixCastBoolean","fix":{"range":[29056,29062],"text":"(!Boolean(value))"},"desc":"Explicitly cast value to a boolean (`Boolean(value)`)"}]}
|
ESLint:
src/mahoji/commands/tools.ts#L969
[eslint] reported by reviewdog 🐶
Unexpected string value in conditional. An explicit empty string check is required.
Raw Output:
{"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected string value in conditional. An explicit empty string check is required.","line":969,"column":12,"nodeType":"Identifier","messageId":"conditionErrorString","endLine":969,"endColumn":17,"suggestions":[{"messageId":"conditionFixCompareStringLength","fix":{"range":[30303,30309],"text":"(value.length === 0)"},"desc":"Change condition to check string's length (`value.length !== 0`)"},{"messageId":"conditionFixCompareEmptyString","fix":{"range":[30303,30309],"text":"(value === \"\")"},"desc":"Change condition to check for empty string (`value !== \"\"`)"},{"messageId":"conditionFixCastBoolean","fix":{"range":[30303,30309],"text":"(!Boolean(value))"},"desc":"Explicitly cast value to a boolean (`Boolean(value)`)"}]}
|