Skip to content

Commit abc02ab

Browse files
committed
fix: remove obsolete eslint-disables
1 parent c88064d commit abc02ab

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/commands/github/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ export const buildGithubQueryHandler = (
6969

7070
if (hasLicense) {
7171
const key = license.spdx_id;
72-
// eslint-disable-next-line require-atomic-updates
7372
license.url = licenseCache[key]
7473
? licenseCache[key]
7574
: await extractAndCacheLicense(license, fetchDetails);

src/commands/post/questions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
compensation: {
3939
body:
4040
'Provide the compensation amount for this job using **only** numbers.',
41-
validate: answer => {
41+
validate: (answer: string) => {
4242
const value = Number.parseFloat(answer.split('$').join(''));
4343
const minimalCompensation = Number.parseFloat(MINIMAL_COMPENSATION);
4444
return !Number.isNaN(value) && value >= minimalCompensation;

0 commit comments

Comments
 (0)