Skip to content

M2-7011: feat conditional logic extend item type #606

M2-7011: feat conditional logic extend item type

M2-7011: feat conditional logic extend item type #606

GitHub Actions / ESLint failed Oct 31, 2024 in 0s

80 errors and 1043 warnings

ESLint found 80 errors and 1043 warnings

Annotations

Check failure on line 1 in src/entities/activity/lib/services/timeToMinutes.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/activity/lib/services/timeToMinutes.ts#L1

Replace `·hours:·number;·minutes:·number·` with `⏎··hours:·number;⏎··minutes:·number;⏎` (prettier/prettier)

Check failure on line 2 in src/entities/activity/lib/services/timeToMinutes.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/activity/lib/services/timeToMinutes.ts#L2

Delete `··` (prettier/prettier)

Check failure on line 3 in src/entities/activity/lib/services/timeToMinutes.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/activity/lib/services/timeToMinutes.ts#L3

Replace `··};` with `};⏎` (prettier/prettier)

Check failure on line 1 in src/entities/conditional-logic/model/conditions.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/conditional-logic/model/conditions.ts#L1

Replace `"@app/entities/activity/lib/services/timeToMinutes"` with `'@app/entities/activity/lib/services/timeToMinutes'` (prettier/prettier)

Check failure on line 122 in src/entities/conditional-logic/model/conditions.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/conditional-logic/model/conditions.ts#L122

Insert `,` (prettier/prettier)

Check failure on line 132 in src/entities/conditional-logic/model/conditions.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/conditional-logic/model/conditions.ts#L132

Delete `··` (prettier/prettier)

Check failure on line 38 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L38

Replace `time·&&·typeof·time.hours·===·'number'·&&·typeof·time.minutes·===·'number'` with `(⏎······time·&&·typeof·time.hours·===·'number'·&&·typeof·time.minutes·===·'number'⏎····)` (prettier/prettier)

Check failure on line 41 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L41

Replace `·hours:·number;·minutes:·number` with `⏎······hours:·number;⏎······minutes:·number;⏎···` (prettier/prettier)

Check failure on line 42 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L42

Delete `··` (prettier/prettier)

Check failure on line 46 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L46

Delete `··` (prettier/prettier)

Check failure on line 50 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L50

Replace `hours:·number,·minutes:·number):·{·hours:·number,·minutes:·number,` with `⏎····hours:·number,⏎····minutes:·number,⏎··):·{·hours:·number;·minutes:·number;` (prettier/prettier)

Check failure on line 56 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L56

Replace `·hours:·number,·minutes:·number,·period?:·'AM'·|·'PM'` with `⏎····hours:·number;⏎····minutes:·number;⏎····period?:·'AM'·|·'PM';⏎·` (prettier/prettier)

Check failure on line 59 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L59

Delete `·` (prettier/prettier)

Check failure on line 61 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L61

Delete `·` (prettier/prettier)

Check failure on line 74 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L74

Replace `timeStr:·string` with `⏎····timeStr:·string,⏎··` (prettier/prettier)

Check failure on line 76 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L76

'minutes' is never reassigned. Use 'const' instead (prefer-const)

Check failure on line 77 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L77

Delete `··` (prettier/prettier)

Check failure on line 84 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L84

Delete `··` (prettier/prettier)

Check failure on line 262 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L262

Delete `····` (prettier/prettier)

Check failure on line 266 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L266

Delete `····` (prettier/prettier)

Check failure on line 268 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L268

Replace `·?·timeToMinutes(answerTime)` with `⏎········?·timeToMinutes(answerTime)⏎·······` (prettier/prettier)

Check failure on line 269 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L269

Delete `····` (prettier/prettier)

Check failure on line 270 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L270

Replace `·normalizedAnswerTime·!==·null·&&·normalizedAnswerTime·>·normalizedTime` with `·(⏎········normalizedAnswerTime·!==·null·&&·normalizedAnswerTime·>·normalizedTime⏎······)` (prettier/prettier)

Check failure on line 276 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L276

Delete `····` (prettier/prettier)

Check failure on line 277 in src/features/pass-survey/model/AnswerValidator.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/features/pass-survey/model/AnswerValidator.ts#L277

Replace `convert24HourTo12Hour(time.hours,·time.minutes)` with `⏎········convert24HourTo12Hour(time.hours,·time.minutes),⏎······` (prettier/prettier)