|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/App.test.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/App.tsx
6 problems (0 errors, 6 warnings)
|
| 256:55 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 269:35 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 270:27 |
Warning |
Unsafe member access .payload on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 272:30 |
Warning |
Unsafe member access .payload on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 273:34 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `To`. |
@typescript-eslint/no-unsafe-argument
|
| 273:39 |
Warning |
Unsafe member access .payload on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/ErrorBoundary.tsx
19 problems (0 errors, 19 warnings)
|
| 9:12 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 10:11 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 13:39 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 13:64 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 13:64 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 14:24 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 19:44 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 20:34 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 23:30 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 23:41 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 26:41 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 26:48 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 29:13 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 29:20 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 29:27 |
Warning |
Unsafe member access .toString on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 35:13 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 51:63 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 51:80 |
Warning |
Unsafe member access .toString on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 54:47 |
Warning |
Unsafe member access .componentStack on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/NotFoundPage.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/ThemeProvider.tsx
2 problems (0 errors, 2 warnings)
|
| 47:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 53:22 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/analytics/events.ts
1 problem (0 errors, 1 warning)
|
| 49:54 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/Api.tsx
3 problems (0 errors, 3 warnings)
|
| 172:50 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 189:52 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 258:40 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/Request.tsx
18 problems (0 errors, 18 warnings)
|
| 17:30 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 20:13 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 23:25 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 33:32 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 36:12 |
Warning |
Unsafe array destructuring of a tuple element with an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 36:40 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 53:18 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 82:13 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 106:28 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 106:28 |
Warning |
'any' overrides all other types in this union type. |
@typescript-eslint/no-redundant-type-constituents
|
| 120:36 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 128:37 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 135:9 |
Warning |
'displayError' is never reassigned. Use 'const' instead. |
prefer-const
|
| 140:9 |
Warning |
'displaySuccess' is never reassigned. Use 'const' instead. |
prefer-const
|
| 142:9 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 143:24 |
Warning |
Unsafe member access .response on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 144:24 |
Warning |
Unsafe member access .message on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 154:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/cache/Cache.tsx
16 problems (0 errors, 16 warnings)
|
| 55:19 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 55:38 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 55:43 |
Warning |
Unsafe member access [key] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 55:58 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 55:63 |
Warning |
Unsafe member access .id on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 67:23 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 67:42 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 67:47 |
Warning |
Unsafe member access [key] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 67:62 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 67:67 |
Warning |
Unsafe member access .id on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 68:21 |
Warning |
Computed name [id] resolves to an any value. |
@typescript-eslint/no-unsafe-member-access
|
| 82:31 |
Warning |
'removed' is assigned a value but never used. |
@typescript-eslint/no-unused-vars
|
| 122:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 136:54 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 198:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 243:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/cache/clubs.ts
1 problem (0 errors, 1 warning)
|
| 34:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/cache/positions.ts
2 problems (0 errors, 2 warnings)
|
| 36:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 38:29 |
Warning |
Unsafe member access .response on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/cache/requirements.ts
3 problems (0 errors, 3 warnings)
|
| 38:24 |
Warning |
Unnecessary conditional, the types have no overlap. |
@typescript-eslint/no-unnecessary-condition
|
| 57:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 99:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/clubApi.ts
16 problems (0 errors, 16 warnings)
|
| 11:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 17:77 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 17:77 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 28:45 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 28:45 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 46:49 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 46:49 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 62:70 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 62:70 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 73:45 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 73:45 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 86:49 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 86:49 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 93:71 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 93:71 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 132:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/coachApi.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/courseApi.ts
6 problems (0 errors, 6 warnings)
|
| 11:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 60:66 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 60:66 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 98:64 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 175:9 |
Warning |
'url' is never reassigned. Use 'const' instead. |
prefer-const
|
| 179:9 |
Warning |
'headers' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/emailApi.ts
2 problems (0 errors, 2 warnings)
|
| 7:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 30:23 |
Warning |
void is only valid as a return type or generic type argument. |
@typescript-eslint/no-invalid-void-type
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/eventApi.ts
16 problems (0 errors, 16 warnings)
|
| 12:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 25:51 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 25:51 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 32:84 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 32:84 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 39:63 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 39:63 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 46:63 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 46:63 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 53:60 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 53:60 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 68:62 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 68:62 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 76:82 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 76:82 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 180:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/examApi.tsx
1 problem (0 errors, 1 warning)
|
| 7:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/explorerApi.tsx
5 problems (0 errors, 5 warnings)
|
| 15:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 21:84 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 21:84 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 30:65 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 30:65 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/gameApi.ts
31 problems (0 errors, 31 warnings)
|
| 8:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 16:57 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 16:57 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 24:74 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 24:74 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 37:38 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 37:38 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 51:57 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 51:57 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 60:77 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 60:77 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 76:51 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 76:51 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 97:51 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 97:51 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 113:51 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 113:51 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 125:51 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 125:51 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 141:51 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 141:51 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 155:38 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 155:38 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 222:29 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 223:16 |
Warning |
Unsafe member access .count on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 344:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 374:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 400:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 418:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 434:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 523:18 |
Warning |
An interface declaring no members is equivalent to its supertype. |
@typescript-eslint/no-empty-interface
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/graduationApi.ts
4 problems (0 errors, 4 warnings)
|
| 8:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 75:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 91:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 102:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/newsfeedApi.tsx
9 problems (0 errors, 9 warnings)
|
| 8:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 18:47 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 18:47 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 31:54 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 31:54 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 42:47 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 42:47 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 55:47 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 55:47 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/notificationApi.ts
6 problems (0 errors, 6 warnings)
|
| 11:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 19:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 19:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 26:69 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 26:69 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 62:25 |
Warning |
void is only valid as a return type or generic type argument. |
@typescript-eslint/no-invalid-void-type
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/paymentApi.ts
1 problem (0 errors, 1 warning)
|
| 9:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/requirementApi.ts
6 problems (0 errors, 6 warnings)
|
| 8:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 14:72 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 14:72 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 35:45 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 35:45 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 71:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/scoreboardApi.ts
6 problems (0 errors, 6 warnings)
|
| 12:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 18:46 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 22:11 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 35:12 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 36:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 37:19 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/tournamentApi.ts
13 problems (0 errors, 13 warnings)
|
| 16:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 40:83 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 40:83 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 49:38 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 49:38 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 58:47 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 58:47 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 68:47 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 68:47 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 86:32 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 86:37 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 86:37 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 258:23 |
Warning |
void is only valid as a return type or generic type argument. |
@typescript-eslint/no-invalid-void-type
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/userApi.ts
29 problems (0 errors, 29 warnings)
|
| 15:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 21:50 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 21:55 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 21:55 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 27:48 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 27:48 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 33:70 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 33:70 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 72:38 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 72:38 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 91:38 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 91:38 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 110:38 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 110:38 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 117:79 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 117:79 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 122:68 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 122:68 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 129:82 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 129:82 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 140:54 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 140:54 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 151:55 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 151:55 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 162:55 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 162:55 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 218:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 248:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
| 271:9 |
Warning |
'params' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/api/yearReviewApi.ts
1 problem (0 errors, 1 warning)
|
| 10:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/auth/Auth.tsx
22 problems (0 errors, 22 warnings)
|
| 50:72 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 52:53 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 63:52 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 74:17 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 95:15 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 97:17 |
Warning |
Unsafe member access .code on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 98:14 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 98:18 |
Warning |
Unsafe member access .message on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 131:71 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 138:17 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `string`. |
@typescript-eslint/no-unsafe-argument
|
| 138:37 |
Warning |
Unsafe member access .idToken on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 143:41 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `string`. |
@typescript-eslint/no-unsafe-argument
|
| 143:61 |
Warning |
Unsafe member access .idToken on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 156:19 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 167:9 |
Warning |
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. |
@typescript-eslint/no-floating-promises
|
| 177:34 |
Warning |
Promise returned in function argument where a void return was expected. |
@typescript-eslint/no-misused-promises
|
| 177:34 |
Warning |
Promise executor functions should not be async. |
no-async-promise-executor
|
| 180:23 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 187:17 |
Warning |
Expected the Promise rejection reason to be an Error. |
@typescript-eslint/prefer-promise-reject-errors
|
| 250:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 251:66 |
Warning |
Unsafe member access .response on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 253:29 |
Warning |
Unsafe member access .response on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/auth/ForgotPasswordPage.tsx
15 problems (0 errors, 15 warnings)
|
| 60:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 62:25 |
Warning |
Unsafe member access .code on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 64:32 |
Warning |
Unsafe member access .code on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 70:35 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string | undefined>`. |
@typescript-eslint/no-unsafe-argument
|
| 70:39 |
Warning |
Unsafe member access .message on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 113:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 157:41 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 166:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 240:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 243:25 |
Warning |
Unsafe member access .code on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 246:34 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string | undefined>`. |
@typescript-eslint/no-unsafe-argument
|
| 246:38 |
Warning |
Unsafe member access .message on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 277:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 289:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 301:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/auth/SigninPage.tsx
11 problems (0 errors, 11 warnings)
|
| 21:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 21:46 |
Warning |
Unsafe member access .redirectUri on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 38:34 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 58:52 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 61:21 |
Warning |
Unsafe member access .code on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 62:21 |
Warning |
Unsafe member access .code on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 73:37 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `string`. |
@typescript-eslint/no-unsafe-argument
|
| 102:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 113:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 137:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 145:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/auth/SignupPage.tsx
9 problems (0 errors, 9 warnings)
|
| 21:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 21:46 |
Warning |
Unsafe member access .redirectUri on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 63:25 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 63:42 |
Warning |
Unsafe member access .user on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 70:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 77:37 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `string`. |
@typescript-eslint/no-unsafe-argument
|
| 111:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 121:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 132:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/auth/VerifyEmailPage.tsx
18 problems (0 errors, 18 warnings)
|
| 13:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 13:27 |
Warning |
This assertion is unnecessary since it does not change the type of the expression. |
@typescript-eslint/no-unnecessary-type-assertion
|
| 13:50 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 15:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 15:45 |
Warning |
Unsafe member access .username on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 16:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 16:42 |
Warning |
Unsafe member access .email on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 17:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 17:45 |
Warning |
Unsafe member access .password on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 54:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 56:25 |
Warning |
Unsafe member access .message on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 57:34 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string | undefined>`. |
@typescript-eslint/no-unsafe-argument
|
| 57:38 |
Warning |
Unsafe member access .message on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 59:25 |
Warning |
Unsafe member access .code on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 79:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 81:25 |
Warning |
Unsafe member access .message on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 82:47 |
Warning |
Unsafe member access .message on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 128:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/Board.tsx
20 problems (0 errors, 20 warnings)
|
| 33:12 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 43:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 50:5 |
Warning |
Unsafe return of type `Map<any, any>` from function with return type `Map<Key, Key[]>`. |
@typescript-eslint/no-unsafe-return
|
| 77:9 |
Warning |
'result' is never reassigned. Use 'const' instead. |
prefer-const
|
| 131:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 132:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 242:46 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 244:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 245:49 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 246:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 249:29 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 261:54 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 263:52 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 288:21 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 288:28 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 299:29 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 342:64 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 350:115 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 397:35 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 398:36 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/boardThemes.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/KeyboardHandler.tsx
2 problems (0 errors, 2 warnings)
|
| 46:37 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 66:52 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/Nag.ts
3 problems (0 errors, 3 warnings)
|
| 210:13 |
Warning |
'stdNag' is never reassigned. Use 'const' instead. |
prefer-const
|
| 254:9 |
Warning |
'lhsNum' is never reassigned. Use 'const' instead. |
prefer-const
|
| 255:9 |
Warning |
'rhsNum' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/PgnBoard.tsx
9 problems (0 errors, 9 warnings)
|
| 31:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 65:18 |
Warning |
Component definition is missing display name |
react/display-name
|
| 108:13 |
Warning |
React Hook useMemo has missing dependencies: 'disableTakebacks' and 'initKey'. Either include them or remove the dependency array. |
react-hooks/exhaustive-deps
|
| 133:22 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 139:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 139:54 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 166:32 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 169:20 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 173:23 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/PlayerHeader.tsx
16 problems (0 errors, 16 warnings)
|
| 29:36 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 37:21 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 44:18 |
Warning |
Template literal expression is unnecessary and can be simplified. |
@typescript-eslint/no-useless-template-literals
|
| 125:68 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 134:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 145:30 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 151:9 |
Warning |
'clockCommand' is never reassigned. Use 'const' instead. |
prefer-const
|
| 160:52 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 161:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 165:42 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 171:52 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 172:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 176:42 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 305:9 |
Warning |
'materialDifference' is never reassigned. Use 'const' instead. |
prefer-const
|
| 308:37 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 310:37 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/ResizableBoardArea.tsx
1 problem (0 errors, 1 warning)
|
| 41:26 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/ResizableContainer.tsx
2 problems (0 errors, 2 warnings)
|
| 47:78 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 58:82 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/ResizeHandle.tsx
6 problems (0 errors, 6 warnings)
|
| 15:22 |
Warning |
Component definition is missing display name |
react/display-name
|
| 15:33 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 21:36 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 32:40 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 33:38 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 36:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/VariationDialog.tsx
9 problems (0 errors, 9 warnings)
|
| 60:21 |
Warning |
'index' is never reassigned. Use 'const' instead. |
prefer-const
|
| 72:22 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 75:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 82:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 97:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 103:68 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 110:30 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 118:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 124:76 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/annotations/AnnotationWarnings.tsx
8 problems (0 errors, 8 warnings)
|
| 25:19 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 27:19 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 33:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 61:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 91:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 98:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 103:55 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 131:60 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/annotations/warningRules.ts
8 problems (0 errors, 8 warnings)
|
| 13:12 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 63:67 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 64:68 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 73:78 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 90:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 102:46 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 106:21 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 118:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/boardButtons/BoardButtons.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/boardButtons/ControlButtons.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/boardButtons/StartButtons.tsx
2 problems (0 errors, 2 warnings)
|
| 35:27 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 40:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/boardButtons/StatusIcon.tsx
14 problems (0 errors, 14 warnings)
|
| 16:42 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 16:56 |
Warning |
Type number trivially inferred from a number literal, remove type annotation. |
@typescript-eslint/no-inferrable-types
|
| 17:24 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 24:32 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 25:13 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 42:69 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 62:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 100:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 120:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 133:38 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 135:48 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 135:60 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 138:48 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 138:60 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/ClockEditor.tsx
15 problems (0 errors, 15 warnings)
|
| 24:9 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 37:26 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 39:28 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 48:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 50:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 50:59 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 66:47 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 67:41 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 73:28 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 75:31 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 83:32 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 85:35 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 102:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 111:31 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 112:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/ClockTextField.tsx
11 problems (0 errors, 11 warnings)
|
| 37:9 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 46:23 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 48:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 54:9 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 65:25 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 81:25 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 97:25 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 129:9 |
Warning |
'seconds' is never reassigned. Use 'const' instead. |
prefer-const
|
| 130:9 |
Warning |
'minutes' is never reassigned. Use 'const' instead. |
prefer-const
|
| 131:9 |
Warning |
'hours' is never reassigned. Use 'const' instead. |
prefer-const
|
| 163:9 |
Warning |
'hours' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/ClockUsage.tsx
16 problems (0 errors, 16 warnings)
|
| 21:49 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 22:56 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 26:22 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 41:37 |
Warning |
Invalid type "ReactNode" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 45:25 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 61:21 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 68:18 |
Warning |
Template literal expression is unnecessary and can be simplified. |
@typescript-eslint/no-useless-template-literals
|
| 84:36 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 166:33 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 168:22 |
Warning |
Unsafe member access .label on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 169:24 |
Warning |
Unsafe member access .label on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 173:31 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 176:19 |
Warning |
Unsafe member access .originalDatum on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 212:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 252:21 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read. |
@typescript-eslint/prefer-nullish-coalescing
|
| 262:21 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/Editor.tsx
24 problems (0 errors, 24 warnings)
|
| 47:54 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 97:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 119:46 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 119:84 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 121:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 126:56 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 155:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 165:47 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 167:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 185:30 |
Warning |
Redundant Boolean call. |
no-extra-boolean-cast
|
| 186:30 |
Warning |
Redundant Boolean call. |
no-extra-boolean-cast
|
| 188:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 188:47 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 197:67 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 212:67 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 228:42 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 247:48 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 248:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 248:53 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 256:43 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 258:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 258:53 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 265:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 265:53 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/Tags.tsx
10 problems (0 errors, 10 warnings)
|
| 73:20 |
Warning |
'params.row.value' may evaluate to '[object Object]' when stringified. |
@typescript-eslint/no-base-to-string
|
| 93:32 |
Warning |
'value' may evaluate to '[object Object]' when stringified. |
@typescript-eslint/no-base-to-string
|
| 138:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 162:64 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 164:47 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 171:43 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 197:36 |
Warning |
Unsafe member access .name on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 198:36 |
Warning |
Unsafe member access .name on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 202:53 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `string`. |
@typescript-eslint/no-unsafe-argument
|
| 202:64 |
Warning |
Unsafe member access .name on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/Underboard.tsx
15 problems (0 errors, 15 warnings)
|
| 107:20 |
Warning |
Component definition is missing display name |
react/display-name
|
| 120:21 |
Warning |
Redundant Boolean call. |
no-extra-boolean-cast
|
| 186:35 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 187:36 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 199:55 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 199:62 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 199:76 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string>`. |
@typescript-eslint/no-unsafe-argument
|
| 233:26 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 240:26 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 246:26 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 247:26 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 250:26 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 253:26 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 261:26 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 261:26 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/comments/Comment.tsx
17 problems (0 errors, 17 warnings)
|
| 80:52 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 105:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 125:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 134:56 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 166:34 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 167:30 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 170:40 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 181:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 190:34 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 191:30 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 201:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 228:50 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 241:52 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 265:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 272:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 285:67 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 297:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/comments/CommentEditor.tsx
8 problems (0 errors, 8 warnings)
|
| 17:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 46:41 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 47:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 61:63 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 71:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 97:48 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 97:85 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 103:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/comments/Comments.tsx
10 problems (0 errors, 10 warnings)
|
| 33:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 79:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 98:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 112:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 126:54 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 148:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 196:25 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 200:40 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 234:48 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 234:85 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/comments/Replies.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/comments/ReplyEditor.tsx
3 problems (0 errors, 3 warnings)
|
| 20:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 58:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 82:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/settings/AdminSettings.tsx
5 problems (0 errors, 5 warnings)
|
| 31:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 45:55 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 66:45 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 79:22 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 98:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/settings/EditorSettings.tsx
1 problem (0 errors, 1 warning)
|
| 24:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/settings/GameSettings.tsx
5 problems (0 errors, 5 warnings)
|
| 34:77 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 62:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 80:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 105:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 133:59 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/settings/KeyboardShortcuts.tsx
17 problems (0 errors, 17 warnings)
|
| 286:9 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 490:34 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 490:39 |
Warning |
Unsafe member access .blur on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 491:9 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 491:27 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 491:32 |
Warning |
Unsafe member access .blur on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 535:25 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 602:23 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 610:21 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 623:34 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 624:32 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 638:32 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 669:37 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 689:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 712:52 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 742:66 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 749:59 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/settings/RequestReviewDialog.tsx
13 problems (0 errors, 13 warnings)
|
| 46:27 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 50:56 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 112:13 |
Warning |
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. |
@typescript-eslint/no-floating-promises
|
| 131:39 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 136:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 178:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 200:50 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 261:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 269:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 320:45 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 333:22 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 386:13 |
Warning |
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. |
@typescript-eslint/no-floating-promises
|
| 390:50 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/settings/Settings.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/boardTools/underboard/settings/ViewerSettings.tsx
8 problems (0 errors, 8 warnings)
|
| 105:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 120:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 136:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 149:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 164:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 174:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 190:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 200:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/explorer/Database.tsx
18 problems (0 errors, 18 warnings)
|
| 88:24 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 90:36 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 92:30 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 92:38 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 95:36 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 97:38 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 97:54 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 97:70 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 117:34 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 126:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 127:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 128:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 135:24 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 135:32 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 180:52 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 293:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 308:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 448:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/explorer/Explorer.tsx
6 problems (0 errors, 6 warnings)
|
| 17:49 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 31:50 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 38:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 58:50 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 73:47 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 73:54 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<"dojo" | "lichess">`. |
@typescript-eslint/no-unsafe-argument
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/explorer/Header.tsx
10 problems (0 errors, 10 warnings)
|
| 88:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 101:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 130:68 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 131:68 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 133:37 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 155:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 174:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 199:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 213:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 228:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/Comment.tsx
1 problem (0 errors, 1 warning)
|
| 28:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/Ellipsis.tsx
1 problem (0 errors, 1 warning)
|
| 5:20 |
Warning |
Operands of '+' operations must be a number or string. Got `string` + `number`. |
@typescript-eslint/restrict-plus-operands
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/GameComment.tsx
2 problems (0 errors, 2 warnings)
|
| 24:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 29:9 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/Interrupt.tsx
2 problems (0 errors, 2 warnings)
|
| 9:43 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 10:24 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/Lines.tsx
14 problems (0 errors, 14 warnings)
|
| 34:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 45:34 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 56:40 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 71:37 |
Warning |
Invalid type "8" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 74:37 |
Warning |
Invalid type "1.5" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 75:31 |
Warning |
Invalid type "8" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 100:9 |
Warning |
'd' is never reassigned. Use 'const' instead. |
prefer-const
|
| 100:19 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 117:32 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 126:45 |
Warning |
Invalid type "1.5" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 127:39 |
Warning |
Invalid type "8" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 130:38 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 142:53 |
Warning |
Invalid type "1.5" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 166:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/Markdown.tsx
10 problems (0 errors, 10 warnings)
|
| 180:22 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 182:15 |
Warning |
Unsafe member access .inline on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 183:19 |
Warning |
Unsafe member access .first on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 199:28 |
Warning |
Unsafe member access .inline on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 200:23 |
Warning |
Unsafe member access .inline on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 202:16 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 202:22 |
Warning |
Unsafe member access .p on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 204:23 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 204:29 |
Warning |
Unsafe member access .fontSize on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 208:20 |
Warning |
Unsafe member access .children on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/MoveButton.tsx
14 problems (0 errors, 14 warnings)
|
| 33:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 34:48 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 59:16 |
Warning |
Component definition is missing display name |
react/display-name
|
| 72:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 116:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 120:19 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 161:19 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 274:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 306:33 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 321:9 |
Warning |
'moveText' is never reassigned. Use 'const' instead. |
prefer-const
|
| 325:26 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 327:27 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 329:27 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 358:20 |
Warning |
Operands of '+' operations must be a number or string. Got `string` + `number`. |
@typescript-eslint/restrict-plus-operands
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/MoveDisplay.tsx
5 problems (0 errors, 5 warnings)
|
| 80:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 92:53 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 95:52 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 101:37 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 109:35 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/MoveNumber.tsx
1 problem (0 errors, 1 warning)
|
| 14:20 |
Warning |
Operands of '+' operations must be a number or string. Got `string` + `number`. |
@typescript-eslint/restrict-plus-operands
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/PgnText.tsx
2 problems (0 errors, 2 warnings)
|
| 77:31 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 78:35 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/Result.tsx
1 problem (0 errors, 1 warning)
|
| 23:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pgnText/Variation.tsx
1 problem (0 errors, 1 warning)
|
| 49:26 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/pieceIcons/PieceIcon.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/pgn/resize.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/puzzle/ChatBubble.tsx
1 problem (0 errors, 1 warning)
|
| 4:46 |
Warning |
Don't use `{}` as a type. `{}` actually means "any non-nullish value".
- If you want a type meaning "any object", you probably want `object` instead.
- If you want a type meaning "any value", you probably want `unknown` instead.
- If you want a type meaning "empty object", you probably want `Record<string, never>` instead.
- If you really want a type meaning "any non-nullish value", you probably want `NonNullable<unknown>` instead. |
@typescript-eslint/ban-types
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/puzzle/Coach.tsx
1 problem (0 errors, 1 warning)
|
| 11:22 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/puzzle/HintSection.tsx
5 problems (0 errors, 5 warnings)
|
| 97:37 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 105:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 142:39 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 160:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 246:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/board/puzzle/PuzzleBoard.tsx
5 problems (0 errors, 5 warnings)
|
| 115:28 |
Warning |
Returning a void expression from a function is forbidden. Please move it before the `return` statement. |
@typescript-eslint/no-confusing-void-expression
|
| 144:20 |
Warning |
Returning a void expression from a function is forbidden. Please move it before the `return` statement. |
@typescript-eslint/no-confusing-void-expression
|
| 148:20 |
Warning |
Returning a void expression from a function is forbidden. Please move it before the `return` statement. |
@typescript-eslint/no-confusing-void-expression
|
| 190:20 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 210:23 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/AvailabilityBooker.tsx
11 problems (0 errors, 11 warnings)
|
| 62:41 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 65:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 110:40 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 110:55 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 124:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 146:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 154:20 |
Warning |
Returning a void expression from a function is forbidden. Please move it before the `return` statement. |
@typescript-eslint/no-confusing-void-expression
|
| 176:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 229:42 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 276:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 298:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/CalendarPage.tsx
34 problems (0 errors, 34 warnings)
|
| 40:43 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 50:37 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 51:23 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 113:40 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 114:23 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 141:9 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 154:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 155:34 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 156:34 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 186:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 187:34 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 188:34 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 209:9 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 216:33 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 255:49 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 256:49 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 267:20 |
Warning |
Unnecessary conditional, both sides of the expression are literal values. |
@typescript-eslint/no-unnecessary-condition
|
| 280:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 284:38 |
Warning |
Unsafe member access .canceled on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 343:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 343:47 |
Warning |
Unsafe member access .id on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 344:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 344:61 |
Warning |
Unsafe member access .discordMessageId on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 345:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 345:66 |
Warning |
Unsafe member access .privateDiscordEventId on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 346:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 346:65 |
Warning |
Unsafe member access .publicDiscordEventId on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 357:53 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `Event`. |
@typescript-eslint/no-unsafe-argument
|
| 361:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 362:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 363:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 364:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 440:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 487:50 |
Warning |
Avoid referencing unbound methods which may cause unintentional scoping of `this`.
If your function does not access `this`, you can annotate it with `this: void`, or consider using an arrow function instead. |
@typescript-eslint/unbound-method
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/CalendarTutorial.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/CoachingBooker.tsx
6 problems (0 errors, 6 warnings)
|
| 40:69 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 50:41 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 67:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 88:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 179:53 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 180:33 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/EventBooker.tsx
3 problems (0 errors, 3 warnings)
|
| 10:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 19:36 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 36:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/displayDate.tsx
1 problem (0 errors, 1 warning)
|
| 72:29 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/AvailabilityEditor.tsx
6 problems (0 errors, 6 warnings)
|
| 105:9 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 110:9 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 115:5 |
Warning |
Unsafe return of type `[any, Record<string, string>]` from function with return type `[Event | null, Record<string, string>]`. |
@typescript-eslint/no-unsafe-return
|
| 217:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 234:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 254:44 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/CoachingEditor.tsx
12 problems (0 errors, 12 warnings)
|
| 70:9 |
Warning |
Type number trivially inferred from a number literal, remove type annotation. |
@typescript-eslint/no-inferrable-types
|
| 86:9 |
Warning |
Type number trivially inferred from a number literal, remove type annotation. |
@typescript-eslint/no-inferrable-types
|
| 97:9 |
Warning |
Type number trivially inferred from a number literal, remove type annotation. |
@typescript-eslint/no-inferrable-types
|
| 117:9 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 122:9 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 127:5 |
Warning |
Unsafe return of type `[any, Record<string, string>]` from function with return type `[Event | null, Record<string, string>]`. |
@typescript-eslint/no-unsafe-return
|
| 161:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 173:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 262:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 284:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 299:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 313:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/DojoEventEditor.tsx
4 problems (0 errors, 4 warnings)
|
| 45:9 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 50:9 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 55:5 |
Warning |
Unsafe return of type `[any, Record<string, string>]` from function with return type `[Event | null, Record<string, string>]`. |
@typescript-eslint/no-unsafe-return
|
| 110:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/EventEditor.tsx
5 problems (0 errors, 5 warnings)
|
| 51:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 56:61 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `Event | undefined`. |
@typescript-eslint/no-unsafe-argument
|
| 129:34 |
Warning |
Avoid referencing unbound methods which may cause unintentional scoping of `this`.
If your function does not access `this`, you can annotate it with `this: void`, or consider using an arrow function instead. |
@typescript-eslint/unbound-method
|
| 138:33 |
Warning |
Promise-returning function provided to attribute where a void return was expected. |
@typescript-eslint/no-misused-promises
|
| 167:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/form/CohortsFormSection.tsx
2 problems (0 errors, 2 warnings)
|
| 41:50 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 55:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/form/DescriptionFormSection.tsx
1 problem (0 errors, 1 warning)
|
| 31:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/form/LocationFormSection.tsx
2 problems (0 errors, 2 warnings)
|
| 32:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 33:35 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/form/MaxParticipantsFormSection.tsx
2 problems (0 errors, 2 warnings)
|
| 34:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 35:35 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/form/TimesFormSection.tsx
3 problems (0 errors, 3 warnings)
|
| 31:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 44:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 60:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/form/TitleFormSection.tsx
1 problem (0 errors, 1 warning)
|
| 29:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventEditor/useEventEditor.ts
24 problems (0 errors, 24 warnings)
|
| 7:7 |
Warning |
'ONE_HOUR' is assigned a value but never used. |
@typescript-eslint/no-unused-vars
|
| 14:32 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 201:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 206:68 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 209:9 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 212:9 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 215:69 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 216:78 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 218:12 |
Warning |
Invalid type "number | """ of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 218:42 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 230:13 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 252:13 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 267:18 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 272:18 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 276:53 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 279:50 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 283:45 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 295:17 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 301:73 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 303:21 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 322:29 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 335:71 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 348:65 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 355:17 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/AvailabilityViewer.tsx
4 problems (0 errors, 4 warnings)
|
| 16:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 19:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 32:30 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 33:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/CoachingViewer.tsx
7 problems (0 errors, 7 warnings)
|
| 27:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 48:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 54:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 55:69 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 89:45 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 90:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 110:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/DojoEventViewer.tsx
1 problem (0 errors, 1 warning)
|
| 11:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/Field.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/LigaTournamentViewer.tsx
12 problems (0 errors, 12 warnings)
|
| 23:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 23:65 |
Warning |
Unsafe member access .ligaTournament on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 24:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 35:35 |
Warning |
Unsafe member access .location on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 42:31 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 42:52 |
Warning |
Unsafe member access .location on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 46:47 |
Warning |
Unsafe member access .location on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 51:35 |
Warning |
Unsafe member access .description on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 57:47 |
Warning |
Unsafe member access .description on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 78:34 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 78:65 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 102:58 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/MeetingViewer.tsx
4 problems (0 errors, 4 warnings)
|
| 17:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 26:14 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 31:83 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 47:56 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/OwnerField.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/ParticipantsList.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/PriceField.tsx
1 problem (0 errors, 1 warning)
|
| 14:69 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/eventViewer/ProcessedEventViewer.tsx
4 problems (0 errors, 4 warnings)
|
| 19:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 20:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 29:48 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 38:16 |
Warning |
Unnecessary conditional, both sides of the expression are literal values. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/filters/CalendarFilters.tsx
26 problems (0 errors, 26 warnings)
|
| 90:5 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 98:5 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 106:5 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 114:5 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 122:5 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 178:69 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 180:26 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 189:49 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `string`. |
@typescript-eslint/no-unsafe-argument
|
| 194:49 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `string`. |
@typescript-eslint/no-unsafe-argument
|
| 324:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 325:34 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 347:50 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 347:58 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 347:58 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 347:64 |
Warning |
Unsafe member access .breakpoints on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 357:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 357:49 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 445:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 456:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 485:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 497:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 528:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 552:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 571:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 595:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 616:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/calendar/filters/TimezoneFilter.tsx
17 problems (0 errors, 17 warnings)
|
| 21:44 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 21:57 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 22:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 22:70 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 56:13 |
Warning |
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. |
@typescript-eslint/no-floating-promises
|
| 63:13 |
Warning |
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. |
@typescript-eslint/no-floating-promises
|
| 69:37 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 69:63 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 71:9 |
Warning |
'minHourNum' is never reassigned. Use 'const' instead. |
prefer-const
|
| 71:36 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 72:9 |
Warning |
'maxHourNum' is never reassigned. Use 'const' instead. |
prefer-const
|
| 72:37 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 81:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 111:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 124:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 141:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 158:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/chat/ChatPage.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/AllClubsTab.tsx
1 problem (0 errors, 1 warning)
|
| 29:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/ClubDetailsPage.tsx
15 problems (0 errors, 15 warnings)
|
| 36:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 70:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 91:55 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 91:83 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 105:29 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 111:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 147:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 154:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 160:65 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 185:53 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 231:61 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 231:79 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 263:50 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 272:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 281:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/ClubFilters.tsx
4 problems (0 errors, 4 warnings)
|
| 58:24 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 105:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 115:25 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 130:29 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/ClubGrid.tsx
1 problem (0 errors, 1 warning)
|
| 66:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/ClubJoinRequestDialog.tsx
2 problems (0 errors, 2 warnings)
|
| 43:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 63:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/CreateClubPage.tsx
15 problems (0 errors, 15 warnings)
|
| 72:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 85:13 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 96:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 160:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 206:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 218:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 225:32 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 236:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 248:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 257:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 265:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 273:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 283:59 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 292:59 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 301:59 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/JoinRequestsTab.tsx
3 problems (0 errors, 3 warnings)
|
| 112:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 162:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 174:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/LeaveClubDialog.tsx
1 problem (0 errors, 1 warning)
|
| 43:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/ListClubsPage.tsx
5 problems (0 errors, 5 warnings)
|
| 43:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 46:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 47:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 47:63 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 65:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/LocationChip.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/MemberCountChip.tsx
1 problem (0 errors, 1 warning)
|
| 13:23 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/MyClubsTab.tsx
1 problem (0 errors, 1 warning)
|
| 17:53 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/ScoreboardTab.tsx
1 problem (0 errors, 1 warning)
|
| 12:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/clubs/UrlChip.tsx
1 problem (0 errors, 1 warning)
|
| 16:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/coaches/CoachPortalPage.tsx
1 problem (0 errors, 1 warning)
|
| 10:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/coaches/courseEditor/CourseEditorPage.tsx
40 problems (0 errors, 40 warnings)
|
| 84:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 94:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 125:59 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 138:47 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 139:50 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 140:69 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 145:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 314:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 315:30 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 344:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 413:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 440:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 462:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 475:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 483:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 493:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 500:29 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 523:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 532:60 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 540:56 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 549:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 562:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 591:50 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 616:50 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 637:50 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 651:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 662:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 701:53 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 710:60 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 722:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 734:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 759:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 766:89 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 789:46 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 793:45 |
Warning |
Missing "key" prop for element in iterator |
react/jsx-key
|
| 804:57 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 818:65 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 833:65 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 846:61 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 859:60 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/coaches/courseEditor/CoursesCard.tsx
3 problems (0 errors, 3 warnings)
|
| 12:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 23:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 40:42 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/coaches/courseEditor/PurchaseCoursePreview.tsx
3 problems (0 errors, 3 warnings)
|
| 48:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 58:57 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 58:71 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string>`. |
@typescript-eslint/no-unsafe-argument
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/coaches/stripe/AccountStatusCard.tsx
3 problems (0 errors, 3 warnings)
|
| 29:16 |
Warning |
Unnecessary conditional, both sides of the expression are literal values. |
@typescript-eslint/no-unnecessary-condition
|
| 60:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 74:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/coaches/stripe/ConnectStripeAccount.tsx
1 problem (0 errors, 1 warning)
|
| 20:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/coaches/stripe/DashboardCard.tsx
1 problem (0 errors, 1 warning)
|
| 24:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/coaches/stripe/PayoutsCard.tsx
1 problem (0 errors, 1 warning)
|
| 70:46 |
Warning |
Operands of '+' operations must be a number or string. Got `number` + `string`. |
@typescript-eslint/restrict-plus-operands
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/coaches/stripe/StripeInfo.tsx
2 problems (0 errors, 2 warnings)
|
| 15:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 27:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/customers/CoachesTab.tsx
8 problems (0 errors, 8 warnings)
|
| 31:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 70:55 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 72:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 83:40 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 97:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 99:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 107:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 131:50 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/customers/CoachingCalendar.tsx
13 problems (0 errors, 13 warnings)
|
| 126:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 126:47 |
Warning |
Unsafe member access .id on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 127:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 127:61 |
Warning |
Unsafe member access .discordMessageId on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 128:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 128:66 |
Warning |
Unsafe member access .privateDiscordEventId on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 129:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 129:65 |
Warning |
Unsafe member access .publicDiscordEventId on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 140:53 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `Event`. |
@typescript-eslint/no-unsafe-argument
|
| 144:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 145:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 146:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 147:21 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/customers/CoachingList.tsx
6 problems (0 errors, 6 warnings)
|
| 32:9 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 40:20 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 114:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 139:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 165:34 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 166:29 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/customers/CoachingPage.tsx
4 problems (0 errors, 4 warnings)
|
| 13:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 16:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 17:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 17:63 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/coaching/customers/UpcomingSessions.tsx
1 problem (0 errors, 1 warning)
|
| 33:38 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/config.ts
1 problem (0 errors, 1 warning)
|
| 119:40 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/list/CourseFilters.tsx
8 problems (0 errors, 8 warnings)
|
| 74:50 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 74:58 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 74:58 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 74:64 |
Warning |
Unsafe member access .breakpoints on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 114:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 145:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 170:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 215:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/list/CourseListItem.tsx
4 problems (0 errors, 4 warnings)
|
| 65:49 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 95:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 118:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 206:19 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/list/ListCoursesPage.tsx
1 problem (0 errors, 1 warning)
|
| 28:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/localStorage.ts
7 problems (0 errors, 7 warnings)
|
| 13:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 14:5 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 14:31 |
Warning |
Unsafe member access [courseId] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 23:9 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 23:9 |
Warning |
'checkoutSessionIds' is never reassigned. Use 'const' instead. |
prefer-const
|
| 24:24 |
Warning |
Unsafe member access [courseId] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 30:5 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/Contents.tsx
2 problems (0 errors, 2 warnings)
|
| 18:37 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 18:53 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/CoursePage.tsx
25 problems (0 errors, 25 warnings)
|
| 26:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 44:38 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 59:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 73:63 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 74:48 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 79:61 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 81:72 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 110:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 147:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 161:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 188:33 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 190:30 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 191:29 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 192:19 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 197:26 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 198:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 199:15 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 205:26 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 206:25 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 211:25 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 213:30 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 215:19 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 220:26 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 221:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 222:15 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/ExercisesModule.tsx
5 problems (0 errors, 5 warnings)
|
| 17:9 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 19:9 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 22:21 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 62:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 69:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/ModelGamesModule.tsx
2 problems (0 errors, 2 warnings)
|
| 14:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 27:45 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/Module.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/PgnSelector.tsx
4 problems (0 errors, 4 warnings)
|
| 26:15 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 45:26 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 60:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 106:26 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/PgnViewerModule.tsx
1 problem (0 errors, 1 warning)
|
| 7:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/PurchaseCoursePage.tsx
1 problem (0 errors, 1 warning)
|
| 47:57 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/PurchaseOption.tsx
1 problem (0 errors, 1 warning)
|
| 40:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/SparringPositionsModule.tsx
1 problem (0 errors, 1 warning)
|
| 7:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/courses/view/VideoModule.tsx
2 problems (0 errors, 2 warnings)
|
| 6:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 27:45 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/club.ts
2 problems (0 errors, 2 warnings)
|
| 47:14 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 52:19 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/course.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/event.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/exam.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/explorer.ts
14 problems (0 errors, 14 warnings)
|
| 185:41 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 186:5 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 186:23 |
Warning |
Unsafe member access .results on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 186:52 |
Warning |
Unsafe member access .moves on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 194:37 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 195:5 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 195:23 |
Warning |
Unsafe member access .results on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 227:24 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 230:27 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 231:27 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 232:27 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 233:30 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 250:19 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 251:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/follower.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/game.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/graduation.ts
3 problems (0 errors, 3 warnings)
|
| 14:15 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 22:35 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 23:16 |
Warning |
Unsafe member access .newCohort on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/notification.ts
24 problems (0 errors, 24 warnings)
|
| 55:18 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 69:18 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 125:18 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 143:23 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 143:64 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 143:77 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 143:118 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 145:23 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 145:63 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 145:76 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 145:116 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 150:23 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 152:23 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 152:65 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 152:78 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 152:120 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 154:23 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 156:23 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 161:9 |
Warning |
'count' is never reassigned. Use 'const' instead. |
prefer-const
|
| 167:23 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 169:23 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 171:50 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 175:50 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 181:50 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/payment.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/requirement.ts
19 problems (0 errors, 19 warnings)
|
| 22:13 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 57:13 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 63:25 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 85:13 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 88:19 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 94:36 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 95:16 |
Warning |
Unsafe member access .numberOfCohorts on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 99:9 |
Warning |
Unnecessary conditional, the types have no overlap. |
@typescript-eslint/no-unnecessary-condition
|
| 99:41 |
Warning |
Unnecessary conditional, the types have no overlap. |
@typescript-eslint/no-unnecessary-condition
|
| 148:13 |
Warning |
Unnecessary conditional, the types have no overlap. |
@typescript-eslint/no-unnecessary-condition
|
| 181:19 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 183:15 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 183:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 247:13 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 247:36 |
Warning |
Unnecessary conditional, the types have no overlap. |
@typescript-eslint/no-unnecessary-condition
|
| 285:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 303:36 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 309:9 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 310:9 |
Warning |
Unnecessary conditional, the types have no overlap. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/scoreboard.ts
3 problems (0 errors, 3 warnings)
|
| 7:18 |
Warning |
An interface declaring no members is equivalent to its supertype. |
@typescript-eslint/no-empty-interface
|
| 26:42 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 27:16 |
Warning |
Unsafe member access .progress on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/statistics.ts
3 problems (0 errors, 3 warnings)
|
| 16:26 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 19:28 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 36:14 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/timeline.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/tournament.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/user.ts
33 problems (0 errors, 33 warnings)
|
| 17:18 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 20:55 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 22:9 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 22:34 |
Warning |
Unsafe member access .signInUserSession on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 23:9 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 23:35 |
Warning |
Unsafe member access .username on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 24:9 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 42:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 44:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 46:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 48:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 50:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 52:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 54:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 56:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 58:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 104:15 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 127:23 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 219:40 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 220:5 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 241:32 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 259:34 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 270:29 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 281:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 650:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 672:72 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 692:24 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 702:16 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 710:9 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 710:39 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 717:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 738:9 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 738:39 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/database/yearReview.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/dojoDigest/UnsubscribePage.tsx
2 problems (0 errors, 2 warnings)
|
| 26:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 65:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/edit/EditGamePage.tsx
6 problems (0 errors, 6 warnings)
|
| 41:28 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 54:50 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 58:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 77:28 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 86:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 123:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/edit/GameSubmissionForm.tsx
11 problems (0 errors, 11 warnings)
|
| 96:17 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 135:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 168:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 183:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 198:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 218:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 228:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 239:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 252:53 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 274:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 318:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/edit/SubmitGamePreflight.tsx
19 problems (0 errors, 19 warnings)
|
| 44:16 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 44:16 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 99:13 |
Warning |
'errors' is never reassigned. Use 'const' instead. |
prefer-const
|
| 115:17 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 159:55 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 163:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 165:55 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 166:58 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 173:55 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 177:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 179:55 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 180:58 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 187:56 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 191:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 193:55 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 194:58 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 213:57 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 214:63 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 215:66 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/explorer/ExplorerPage.tsx
1 problem (0 errors, 1 warning)
|
| 53:50 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/list/GameListItem.tsx
2 problems (0 errors, 2 warnings)
|
| 27:35 |
Warning |
Unsafe member access .white on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 39:35 |
Warning |
Unsafe member access .black on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/list/ListGamesPage.tsx
9 problems (0 errors, 9 warnings)
|
| 48:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 70:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 120:40 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 146:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 272:55 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 273:55 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 381:27 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 381:35 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 381:44 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/list/ListGamesTutorial.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/list/SearchFilters.tsx
43 problems (0 errors, 43 warnings)
|
| 102:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 172:53 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 262:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 271:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 370:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 452:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 510:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 522:62 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 530:37 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 532:73 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 533:70 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 534:68 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 535:68 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 548:43 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 549:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 550:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 551:45 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 552:41 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 553:41 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 556:42 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 557:49 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 558:13 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 562:40 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 563:45 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 572:35 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 572:35 |
Warning |
This assertion is unnecessary since it does not change the type of the expression. |
@typescript-eslint/no-unnecessary-type-assertion
|
| 583:17 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 583:17 |
Warning |
This assertion is unnecessary since it does not change the type of the expression. |
@typescript-eslint/no-unnecessary-type-assertion
|
| 584:17 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 584:17 |
Warning |
This assertion is unnecessary since it does not change the type of the expression. |
@typescript-eslint/no-unnecessary-type-assertion
|
| 610:13 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 614:13 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 618:13 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 622:13 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 626:13 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 650:55 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 651:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 660:55 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 661:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 669:55 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 670:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 677:55 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 678:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/list/pagination.ts
17 problems (0 errors, 17 warnings)
|
| 11:47 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 11:47 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 22:18 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 23:22 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 32:52 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 32:58 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 33:60 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 33:66 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 39:37 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 50:42 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 50:48 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 52:59 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 52:65 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 55:37 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 56:41 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 106:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 112:9 |
Warning |
'rowCount' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/review/ReviewQueuePage.tsx
5 problems (0 errors, 5 warnings)
|
| 45:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 104:32 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 131:61 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 216:47 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 217:47 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/view/DeleteGameButton.tsx
3 problems (0 errors, 3 warnings)
|
| 44:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 61:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 70:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/view/GamePage.tsx
2 problems (0 errors, 2 warnings)
|
| 12:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 45:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/games/view/PgnErrorBoundary.tsx
20 problems (0 errors, 20 warnings)
|
| 24:12 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 25:11 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 31:5 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 31:5 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 38:44 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 39:34 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 42:30 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 42:41 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 45:41 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 45:48 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 48:13 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 48:20 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 48:27 |
Warning |
Unsafe member access .toString on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 62:49 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 74:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 87:63 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 87:80 |
Warning |
Unsafe member access .toString on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 90:47 |
Warning |
Unsafe member access .componentStack on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 96:27 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 108:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/help/AuthenticatedHelp.tsx
16 problems (0 errors, 16 warnings)
|
| 111:40 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 126:40 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 177:48 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 307:54 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 308:43 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 310:73 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
| 310:87 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
| 311:65 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
| 311:84 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
| 387:61 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 397:61 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 409:53 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 450:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 463:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 476:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 489:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/help/HelpItem.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/help/HelpPage.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/help/SupportTicket.tsx
6 problems (0 errors, 6 warnings)
|
| 50:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 66:39 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 86:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 98:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 110:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 122:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/help/UnauthenticatedHelp.tsx
6 problems (0 errors, 6 warnings)
|
| 18:9 |
Warning |
'Custom' is assigned a value but never used. |
@typescript-eslint/no-unused-vars
|
| 56:45 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 58:40 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 100:61 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 110:61 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 122:53 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/index.tsx
1 problem (0 errors, 1 warning)
|
| 11:34 |
Warning |
Use a ! assertion to more succinctly remove null and undefined from the type. |
@typescript-eslint/non-nullable-type-assertion-style
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/landing/JoinToday.tsx
5 problems (0 errors, 5 warnings)
|
| 12:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 32:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 32:62 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 33:39 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 33:61 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/landing/LandingPage.tsx
5 problems (0 errors, 5 warnings)
|
| 22:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 75:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 75:63 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 90:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 90:63 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/landing/Sensei.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/landing/Testimonials.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/landing/WhatsIncluded.tsx
3 problems (0 errors, 3 warnings)
|
| 121:25 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 137:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 137:58 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string>`. |
@typescript-eslint/no-unsafe-argument
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/loading/LoadingPage.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/material/BooksPage.tsx
2 problems (0 errors, 2 warnings)
|
| 66:62 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 90:38 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/material/CoursesTab.tsx
1 problem (0 errors, 1 warning)
|
| 41:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/material/MaterialPage.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/material/MemorizeGamesPage.tsx
6 problems (0 errors, 6 warnings)
|
| 27:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 51:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 59:63 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 60:30 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 68:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 110:63 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/material/ModelGamesPage.tsx
5 problems (0 errors, 5 warnings)
|
| 16:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 36:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 44:69 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 57:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 108:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/material/RatingConversionsPage.tsx
5 problems (0 errors, 5 warnings)
|
| 21:15 |
Warning |
'Custom' is assigned a value but never used. |
@typescript-eslint/no-unused-vars
|
| 59:89 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 61:80 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 69:49 |
Warning |
Invalid type "number | "0"" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 69:62 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/material/SparringPage.tsx
10 problems (0 errors, 10 warnings)
|
| 229:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 235:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 242:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 247:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 252:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 260:21 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 265:21 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 270:21 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 275:21 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 280:21 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/material/books.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/meeting/CancelMeetingButton.tsx
4 problems (0 errors, 4 warnings)
|
| 46:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 57:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 66:33 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 74:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/meeting/GroupMeetingPage.tsx
1 problem (0 errors, 1 warning)
|
| 6:38 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/meeting/ListMeetingsPage.tsx
4 problems (0 errors, 4 warnings)
|
| 13:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 23:43 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 50:47 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 53:68 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/meeting/MeetingListItem.tsx
1 problem (0 errors, 1 warning)
|
| 34:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/meeting/MeetingMessages.tsx
6 problems (0 errors, 6 warnings)
|
| 14:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 20:48 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 24:57 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 37:45 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 82:65 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 88:56 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/meeting/MeetingPage.tsx
6 problems (0 errors, 6 warnings)
|
| 98:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 103:38 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 135:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 158:30 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 162:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 250:37 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/meeting/StripeCancelationPage.tsx
1 problem (0 errors, 1 warning)
|
| 18:13 |
Warning |
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. |
@typescript-eslint/no-floating-promises
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/navbar/Navbar.tsx
6 problems (0 errors, 6 warnings)
|
| 19:44 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 19:52 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 19:52 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 19:58 |
Warning |
Unsafe member access .breakpoints on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 41:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 41:49 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/navbar/NavbarMenu.tsx
39 problems (0 errors, 39 warnings)
|
| 74:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 99:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 104:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 109:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 114:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 119:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 124:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 129:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 134:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 141:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 146:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 151:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 158:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 163:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 168:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 173:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 178:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 183:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 188:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 193:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 198:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 203:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 210:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 220:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 225:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 230:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 247:24 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 260:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 376:70 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 424:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 453:9 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 559:46 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 567:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 575:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 628:9 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 651:46 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 692:58 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 702:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 715:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/navbar/PawnIcon.tsx
11 problems (0 errors, 11 warnings)
|
| 5:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 6:11 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 9:28 |
Warning |
Component definition is missing display name |
react/display-name
|
| 11:17 |
Warning |
Unsafe array destructuring of a tuple element with an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 13:15 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 18:60 |
Warning |
Invalid type "any" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 18:69 |
Warning |
Invalid type "any" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 29:21 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 29:33 |
Warning |
Unsafe member access .map on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 30:25 |
Warning |
Missing "key" prop for element in iterator |
react/jsx-key
|
| 38:41 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/navbar/ProfileButton.tsx
4 problems (0 errors, 4 warnings)
|
| 57:9 |
Warning |
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. |
@typescript-eslint/no-floating-promises
|
| 82:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 89:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 97:58 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/navbar/SocialIcons.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/navbar/UnauthenticatedMenu.tsx
17 problems (0 errors, 17 warnings)
|
| 51:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 55:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 59:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 66:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 71:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 76:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 81:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 93:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 97:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 101:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 113:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 128:9 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 217:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 220:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 234:9 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 278:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 281:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/detail/CommentEditor.tsx
5 problems (0 errors, 5 warnings)
|
| 26:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 44:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 56:30 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 60:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 68:41 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/detail/CommentList.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/detail/GameNewsfeedItem.tsx
1 problem (0 errors, 1 warning)
|
| 23:26 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/detail/GraduationNewsfeedItem.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/detail/NewsfeedDetailPage.tsx
2 problems (0 errors, 2 warnings)
|
| 11:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 29:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/detail/NewsfeedItem.tsx
2 problems (0 errors, 2 warnings)
|
| 56:9 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 59:9 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/detail/NewsfeedItemHeader.tsx
4 problems (0 errors, 4 warnings)
|
| 21:43 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 32:9 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 58:69 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 61:87 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/detail/ReactionList.tsx
13 problems (0 errors, 13 warnings)
|
| 79:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 82:59 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 93:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 97:77 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 98:66 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 118:13 |
Warning |
Unexpected lexical declaration in case block. |
no-case-declarations
|
| 150:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 156:56 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 157:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 158:21 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 188:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 205:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 245:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/list/LoadMoreButton.tsx
5 problems (0 errors, 5 warnings)
|
| 26:17 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 26:43 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 48:28 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 51:28 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 72:24 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/list/MultipleSelectChip.tsx
1 problem (0 errors, 1 warning)
|
| 25:13 |
Warning |
Use 'includes()' method instead. |
@typescript-eslint/prefer-includes
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/list/NewsfeedList.tsx
15 problems (0 errors, 15 warnings)
|
| 20:5 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 58:59 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 71:25 |
Warning |
Use 'includes()' method instead. |
@typescript-eslint/prefer-includes
|
| 88:63 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 121:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 124:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 127:35 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 128:38 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 133:33 |
Warning |
Do not access Object.prototype method 'hasOwnProperty' from target object. |
no-prototype-builtins
|
| 154:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 178:40 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 179:38 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 184:35 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 199:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 225:59 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/newsfeed/list/NewsfeedListPage.tsx
2 problems (0 errors, 2 warnings)
|
| 18:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 19:43 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/notifications/NotificationButton.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/notifications/NotificationDescription.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/notifications/NotificationListItem.tsx
12 problems (0 errors, 12 warnings)
|
| 50:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 60:31 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 60:75 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 65:31 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 65:74 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 70:38 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 76:34 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 76:81 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 82:31 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 82:76 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 87:36 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 91:36 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/notifications/NotificationPage.tsx
1 problem (0 errors, 1 warning)
|
| 15:21 |
Warning |
Missing "key" prop for element in iterator |
react/jsx-key
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/Avatar.tsx
6 problems (0 errors, 6 warnings)
|
| 57:44 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 59:24 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 63:61 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 97:42 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 99:24 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 102:54 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/GamesTab.tsx
3 problems (0 errors, 3 warnings)
|
| 28:25 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 141:51 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 142:51 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/GraduationDialog.tsx
5 problems (0 errors, 5 warnings)
|
| 26:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 57:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 90:61 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 112:50 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 122:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/ProfilePage.tsx
12 problems (0 errors, 12 warnings)
|
| 40:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 49:25 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 66:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 79:55 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 81:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 115:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 117:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 144:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 193:65 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 196:65 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 197:53 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 197:71 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/SwitchCohortPrompt.tsx
5 problems (0 errors, 5 warnings)
|
| 38:33 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 39:33 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 51:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 60:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 70:51 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/activity/ActivityPieChart.tsx
12 problems (0 errors, 12 warnings)
|
| 28:42 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 28:65 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 30:31 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 53:15 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 53:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 72:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 75:45 |
Warning |
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined. |
@typescript-eslint/no-unnecessary-condition
|
| 140:35 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 146:34 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 172:25 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 205:56 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 230:56 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/activity/ActivityTab.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/activity/ActivityTimeline.tsx
5 problems (0 errors, 5 warnings)
|
| 23:15 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 23:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 26:73 |
Warning |
'viewer' is defined but never used. |
@typescript-eslint/no-unused-vars
|
| 40:35 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 100:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/activity/PieChart.tsx
2 problems (0 errors, 2 warnings)
|
| 25:48 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 55:36 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/activity/activity.ts
35 problems (0 errors, 35 warnings)
|
| 161:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 201:9 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 207:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 212:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 215:25 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 233:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 278:9 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 284:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 289:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 292:25 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 319:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 322:35 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 360:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 398:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 400:50 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 478:25 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 483:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 510:9 |
Warning |
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined. |
@typescript-eslint/no-unnecessary-condition
|
| 515:13 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 524:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 529:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 544:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 587:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 594:25 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 604:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 637:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 641:13 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 641:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 641:27 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 661:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 675:45 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 677:17 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 677:18 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 677:31 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 681:17 |
Warning |
'name' is never reassigned. Use 'const' instead. |
prefer-const
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/activity/useTimeline.ts
3 problems (0 errors, 3 warnings)
|
| 31:41 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 32:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 38:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/clubs/ClubsTab.tsx
1 problem (0 errors, 1 warning)
|
| 22:52 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/coach/CoachTab.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/creator/DiscordForm.tsx
4 problems (0 errors, 4 warnings)
|
| 49:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 90:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 100:33 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 112:33 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/creator/ExtraRatingSystemsForm.tsx
6 problems (0 errors, 6 warnings)
|
| 28:9 |
Warning |
'Custom' is assigned a value but never used. |
@typescript-eslint/no-unused-vars
|
| 62:12 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 69:12 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 96:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 126:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 139:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/creator/PersonalInfoForm.tsx
8 problems (0 errors, 8 warnings)
|
| 13:44 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 13:57 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 14:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 14:70 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 48:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 60:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 70:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 77:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/creator/PreferredRatingSystemForm.tsx
5 problems (0 errors, 5 warnings)
|
| 119:9 |
Warning |
'Custom' is assigned a value but never used. |
@typescript-eslint/no-unused-vars
|
| 141:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 161:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 177:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 186:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/creator/ProfileCreatorPage.tsx
5 problems (0 errors, 5 warnings)
|
| 69:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 77:9 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 80:47 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 104:39 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 105:39 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/creator/ReferralSourceForm.tsx
3 problems (0 errors, 3 warnings)
|
| 70:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 85:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 103:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/editor/NotificationSettingsEditor.tsx
15 problems (0 errors, 15 warnings)
|
| 12:25 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 17:9 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 17:41 |
Warning |
Unsafe member access [component] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 30:31 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 31:33 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 35:9 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 35:30 |
Warning |
Unsafe member access [component] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 35:71 |
Warning |
Unsafe member access [component] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 37:9 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 37:53 |
Warning |
Unsafe member access [component] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 38:9 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 38:57 |
Warning |
Unsafe member access [component] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 41:26 |
Warning |
Unsafe member access [components[components.length - 1]] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 48:15 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 158:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/editor/ProfileEditorPage.tsx
52 problems (0 errors, 52 warnings)
|
| 109:49 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 110:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 111:33 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 111:58 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 112:35 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 112:62 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 113:41 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 117:9 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 134:9 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 149:9 |
Warning |
'n' is never reassigned. Use 'const' instead. |
prefer-const
|
| 167:22 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 167:27 |
Warning |
Unsafe member access [key] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 168:24 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 168:29 |
Warning |
Unsafe member access [key] on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 186:44 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 186:57 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 187:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 187:70 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 199:13 |
Warning |
'reader' is never reassigned. Use 'const' instead. |
prefer-const
|
| 214:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 225:60 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 297:13 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 308:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 357:41 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 366:62 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 372:63 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 376:63 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 403:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 413:44 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 414:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 415:47 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 416:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 417:42 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 418:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 558:52 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 628:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 640:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 655:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 670:58 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 679:50 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 709:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 726:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 751:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 779:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 796:57 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 813:49 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 816:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 836:49 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 839:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 856:82 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 858:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 900:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/editor/SubscriptionManager.tsx
4 problems (0 errors, 4 warnings)
|
| 25:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 31:24 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 57:64 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 65:22 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/followers/FollowersList.tsx
7 problems (0 errors, 7 warnings)
|
| 28:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 33:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 44:9 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 44:27 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 58:83 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 59:62 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 108:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/followers/FollowersPage.tsx
2 problems (0 errors, 2 warnings)
|
| 18:25 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 31:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/info/Bio.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/info/CoachChip.tsx
2 problems (0 errors, 2 warnings)
|
| 2:10 |
Warning |
'Sports' is defined but never used. |
@typescript-eslint/no-unused-vars
|
| 11:9 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/info/CountChip.tsx
2 problems (0 errors, 2 warnings)
|
| 16:27 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 16:64 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/info/CreatedAtChip.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/info/DiscordChip.tsx
10 problems (0 errors, 10 warnings)
|
| 5:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 6:11 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 9:35 |
Warning |
Component definition is missing display name |
react/display-name
|
| 11:17 |
Warning |
Unsafe array destructuring of a tuple element with an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 13:15 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 20:33 |
Warning |
Invalid type "any" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 20:42 |
Warning |
Invalid type "any" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 34:21 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 34:33 |
Warning |
Unsafe member access .map on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 35:25 |
Warning |
Missing "key" prop for element in iterator |
react/jsx-key
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/info/InactiveChip.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/info/MetricsDashboard.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/info/TimezoneChip.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/info/UserInfo.tsx
2 problems (0 errors, 2 warnings)
|
| 37:22 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 43:22 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/progress/CustomTaskEditor.tsx
10 problems (0 errors, 10 warnings)
|
| 36:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 49:13 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 83:13 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 106:46 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 124:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 155:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 167:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 182:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 199:57 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 202:57 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/progress/CustomTaskProgressItem.tsx
5 problems (0 errors, 5 warnings)
|
| 25:5 |
Warning |
'isCurrentUser' is defined but never used. |
@typescript-eslint/no-unused-vars
|
| 43:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 82:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 94:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 102:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/progress/InputSlider.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/progress/ProgressCategory.tsx
5 problems (0 errors, 5 warnings)
|
| 22:19 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 70:29 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 97:33 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 97:52 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 121:59 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/progress/ProgressDialog.tsx
5 problems (0 errors, 5 warnings)
|
| 49:33 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 65:28 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 71:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 88:39 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 98:39 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/progress/ProgressHistory.tsx
18 problems (0 errors, 18 warnings)
|
| 143:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 157:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 170:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 204:13 |
Warning |
'itemErrors' is never reassigned. Use 'const' instead. |
prefer-const
|
| 268:46 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 296:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 310:37 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 310:74 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 312:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 313:27 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 314:27 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 315:29 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 360:13 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 366:13 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 413:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 443:40 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 457:37 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 457:68 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/progress/ProgressItem.tsx
10 problems (0 errors, 10 warnings)
|
| 103:13 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 107:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 132:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 152:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 156:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 167:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 177:33 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 190:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 211:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 295:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/progress/ProgressTab.tsx
7 problems (0 errors, 7 warnings)
|
| 35:19 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 66:21 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 67:46 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 151:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 183:50 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 183:70 |
Warning |
Invalid type "boolean" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 217:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/progress/ProgressUpdater.tsx
10 problems (0 errors, 10 warnings)
|
| 116:9 |
Warning |
'hoursInt' is never reassigned. Use 'const' instead. |
prefer-const
|
| 117:9 |
Warning |
'minutesInt' is never reassigned. Use 'const' instead. |
prefer-const
|
| 175:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 201:41 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 215:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 241:58 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 255:58 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 264:33 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 264:64 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 268:36 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/stats/DojoScoreCard.tsx
3 problems (0 errors, 3 warnings)
|
| 113:47 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 113:69 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 124:35 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/stats/RatingCard.tsx
4 problems (0 errors, 4 warnings)
|
| 80:29 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 154:29 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 159:34 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 362:45 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/stats/StatsTab.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/stats/TacticsScoreCard.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/tutorials/ProfilePageTutorial.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/yearReview/DojoPointSection.tsx
6 problems (0 errors, 6 warnings)
|
| 22:29 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 45:43 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 74:45 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 81:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 117:54 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 117:84 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/yearReview/GameSection.tsx
2 problems (0 errors, 2 warnings)
|
| 32:29 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 32:48 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/yearReview/GraduationSection.tsx
1 problem (0 errors, 1 warning)
|
| 8:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/yearReview/Percentiles.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/yearReview/TimeSection.tsx
2 problems (0 errors, 2 warnings)
|
| 19:22 |
Warning |
Array type using 'Array<T>' is forbidden. Use 'T[]' instead. |
@typescript-eslint/array-type
|
| 47:24 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/yearReview/YearReviewPage.tsx
4 problems (0 errors, 4 warnings)
|
| 22:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 39:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 142:28 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 167:75 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/yearReview/YearReviewRedirect.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/yearReview/ratings/RatingCard.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/profile/yearReview/ratings/RatingsSection.tsx
10 problems (0 errors, 10 warnings)
|
| 46:23 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 64:22 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 64:36 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 81:23 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 85:30 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 87:25 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 109:20 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 138:32 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 145:33 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 172:47 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/react-app-env.d.ts
4 problems (0 errors, 4 warnings)
|
| 4:1 |
Warning |
Do not use a triple slash reference for react, use `import` style instead. |
@typescript-eslint/triple-slash-reference
|
| 54:17 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 59:17 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
| 64:17 |
Warning |
A record is preferred over an index signature. |
@typescript-eslint/consistent-indexed-object-style
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/recent/FeaturedGames.tsx
2 problems (0 errors, 2 warnings)
|
| 21:34 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 22:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/recent/RecentGraduates.tsx
8 problems (0 errors, 8 warnings)
|
| 57:13 |
Warning |
'prevGraduation' is never reassigned. Use 'const' instead. |
prefer-const
|
| 103:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 110:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 189:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 190:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 221:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 235:44 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 235:60 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/recent/RecentPage.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/reportWebVitals.ts
1 problem (0 errors, 1 warning)
|
| 5:5 |
Warning |
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. |
@typescript-eslint/no-floating-promises
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/requirements/CustomTaskDisplay.tsx
5 problems (0 errors, 5 warnings)
|
| 15:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 40:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 47:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 62:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 69:33 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/requirements/DeleteCustomTaskModal.tsx
3 problems (0 errors, 3 warnings)
|
| 29:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 34:76 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 51:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/requirements/Position.tsx
5 problems (0 errors, 5 warnings)
|
| 62:26 |
Warning |
Template literal expression is unnecessary and can be simplified. |
@typescript-eslint/no-useless-template-literals
|
| 73:22 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `string`. |
@typescript-eslint/no-unsafe-argument
|
| 73:32 |
Warning |
Unsafe member access .challenge on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 76:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 114:50 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/requirements/RequirementDisplay.tsx
23 problems (0 errors, 23 warnings)
|
| 26:36 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 37:36 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 46:13 |
Warning |
Use the 'String#endsWith' method instead. |
@typescript-eslint/prefer-string-starts-ends-with
|
| 51:32 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 75:27 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 94:58 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 103:27 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 122:51 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 123:20 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 141:13 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 153:22 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 179:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 184:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 211:13 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 215:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 232:34 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 232:62 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 237:33 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 266:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 271:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 306:18 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 311:69 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 323:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/requirements/RequirementModal.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/requirements/RequirementPage.tsx
3 problems (0 errors, 3 warnings)
|
| 12:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 24:32 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 28:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/CohortIcon.tsx
3 problems (0 errors, 3 warnings)
|
| 75:25 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read. |
@typescript-eslint/prefer-nullish-coalescing
|
| 86:60 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 89:60 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/GraduationChips.tsx
3 problems (0 errors, 3 warnings)
|
| 14:9 |
Warning |
'Custom' is assigned a value but never used. |
@typescript-eslint/no-unused-vars
|
| 35:31 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 35:67 |
Warning |
Invalid type "number | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/Scoreboard.tsx
11 problems (0 errors, 11 warnings)
|
| 122:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 129:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 210:13 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 311:21 |
Warning |
Missing "key" prop for element in array |
react/jsx-key
|
| 319:29 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 327:17 |
Warning |
Missing "key" prop for element in array |
react/jsx-key
|
| 335:25 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 528:25 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 529:25 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 533:52 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 540:17 |
Warning |
Unnecessary conditional, the types have no overlap. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/ScoreboardCheck.tsx
3 problems (0 errors, 3 warnings)
|
| 26:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 29:39 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 46:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/ScoreboardPage.tsx
8 problems (0 errors, 8 warnings)
|
| 19:6 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 24:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 25:24 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 34:14 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 46:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 60:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 72:8 |
Warning |
React Hook useEffect has missing dependencies: 'dataRequest' and 'graduationsRequest'. Either include them or remove the dependency array. |
react-hooks/exhaustive-deps
|
| 84:10 |
Warning |
Unnecessary conditional, the types have no overlap. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/ScoreboardProgress.tsx
6 problems (0 errors, 6 warnings)
|
| 34:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 37:39 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 66:36 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 66:62 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 66:76 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 74:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/ScoreboardTutorial.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/ScoreboardViewSelector.tsx
3 problems (0 errors, 3 warnings)
|
| 38:44 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 53:23 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 54:23 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/club/ClubScoreboardPage.tsx
4 problems (0 errors, 4 warnings)
|
| 13:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 38:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 53:53 |
Warning |
Invalid type "string | undefined" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 57:48 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/scoreboardData.tsx
10 problems (0 errors, 10 warnings)
|
| 43:28 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 48:33 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 51:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 127:28 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 170:29 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 177:13 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 177:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 200:13 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 222:15 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 231:66 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/search/SeachPage.tsx
39 problems (0 errors, 39 warnings)
|
| 31:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 31:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 37:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 37:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 58:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 58:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 65:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 65:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 73:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 73:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 80:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 80:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 87:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 87:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 94:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 94:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 101:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 101:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 108:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 108:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 115:59 |
Warning |
This is the default value for this type parameter, so it can be omitted. |
@typescript-eslint/no-unnecessary-type-arguments
|
| 115:59 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 129:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 131:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 133:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 135:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 137:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 139:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 141:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 143:9 |
Warning |
The case statement does not have a shared enum type with the switch predicate. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 158:22 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 172:12 |
Warning |
Unnecessary cast: Array#reduce accepts a type parameter for the default value. |
@typescript-eslint/prefer-reduce-type-parameter
|
| 220:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 240:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 257:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 268:41 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 279:57 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 312:44 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 312:48 |
Warning |
Unsafe member access .username on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/statistics/Chart.tsx
1 problem (0 errors, 1 warning)
|
| 60:43 |
Warning |
Invalid type "string | number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/scoreboard/statistics/StatisticsPage.tsx
13 problems (0 errors, 13 warnings)
|
| 23:53 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 32:53 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 47:19 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 49:15 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 49:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 137:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 147:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 267:21 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 268:21 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 281:81 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 291:86 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 382:47 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 398:28 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/setupTests.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/style/Icon.tsx
1 problem (0 errors, 1 warning)
|
| 50:19 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/style/style.ts
10 problems (0 errors, 10 warnings)
|
| 23:13 |
Warning |
Use an `interface` instead of a `type`. |
@typescript-eslint/consistent-type-definitions
|
| 40:9 |
Warning |
'tokens' is never reassigned. Use 'const' instead. |
prefer-const
|
| 45:26 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 56:21 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 57:29 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 60:17 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read. |
@typescript-eslint/prefer-nullish-coalescing
|
| 61:17 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read. |
@typescript-eslint/prefer-nullish-coalescing
|
| 62:17 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read. |
@typescript-eslint/prefer-nullish-coalescing
|
| 63:17 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read. |
@typescript-eslint/prefer-nullish-coalescing
|
| 64:17 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tactics/CompletedTacticsExamPgnSelector.tsx
6 problems (0 errors, 6 warnings)
|
| 62:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 68:57 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 87:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 107:52 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 107:66 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 124:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tactics/ExamStatistics.tsx
12 problems (0 errors, 12 warnings)
|
| 40:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 53:28 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 61:54 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 61:74 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 64:24 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 106:8 |
Warning |
React Hook useMemo has a missing dependency: 'isLight'. Either include it or remove the dependency array. |
react-hooks/exhaustive-deps
|
| 116:60 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 122:22 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 137:50 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 153:56 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 153:77 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 229:59 |
Warning |
Invalid type "any" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tactics/TacticsExamPage.tsx
32 problems (0 errors, 32 warnings)
|
| 79:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 81:44 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `Exam | (() => Exam)`. |
@typescript-eslint/no-unsafe-argument
|
| 81:65 |
Warning |
Unsafe member access .exam on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 87:38 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 90:40 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 97:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 104:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 131:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 137:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 148:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 185:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 189:42 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 189:46 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 201:23 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 203:39 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 209:72 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 214:72 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 233:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 259:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 333:73 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 425:66 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 431:59 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 437:30 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 441:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 467:29 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 467:48 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 487:59 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 493:82 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 516:68 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 551:50 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 551:57 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 551:64 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tactics/TacticsExamPgnSelector.tsx
14 problems (0 errors, 14 warnings)
|
| 96:60 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 106:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 107:51 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 127:52 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 127:66 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 154:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 169:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 188:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 196:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 204:36 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 218:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 219:25 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 248:33 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 248:41 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tactics/instructions/Instructions.tsx
8 problems (0 errors, 8 warnings)
|
| 47:38 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 54:36 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 91:25 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
| 91:38 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
| 119:38 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 129:82 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 158:25 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
| 158:38 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tactics/instructions/TacticsInstructionsPage.tsx
8 problems (0 errors, 8 warnings)
|
| 10:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 14:37 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 17:9 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 17:42 |
Warning |
Unsafe member access .exam on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 21:11 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 21:38 |
Warning |
Unsafe member access .exam on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 41:68 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
| 41:81 |
Warning |
`"` can be escaped with `"`, `“`, `"`, `”`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tactics/list/ExamsTable.tsx
23 problems (0 errors, 23 warnings)
|
| 52:23 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 93:23 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `number`. |
@typescript-eslint/no-unsafe-argument
|
| 94:31 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 96:23 |
Warning |
Invalid type "any" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 96:41 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 120:39 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `number`. |
@typescript-eslint/no-unsafe-argument
|
| 127:19 |
Warning |
Invalid type "any" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 145:83 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 151:26 |
Warning |
Redundant Boolean call. |
no-extra-boolean-cast
|
| 151:70 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 177:26 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 188:39 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 190:31 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 190:49 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 201:35 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 225:31 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 238:28 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 249:8 |
Warning |
React Hook useMemo has a missing dependency: 'exams'. Either include it or remove the dependency array. |
react-hooks/exhaustive-deps
|
| 252:13 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 252:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 258:24 |
Warning |
Redundant Boolean call. |
no-extra-boolean-cast
|
| 258:68 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 299:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tactics/list/ListTacticsExamsPage.tsx
4 problems (0 errors, 4 warnings)
|
| 80:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 85:8 |
Warning |
React Hook useEffect has a missing dependency: 'examType'. Either include it or remove the dependency array. |
react-hooks/exhaustive-deps
|
| 109:8 |
Warning |
React Hook useMemo has a missing dependency: 'cohortRanges'. Either include it or remove the dependency array. |
react-hooks/exhaustive-deps
|
| 116:52 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tactics/tactics.ts
18 problems (0 errors, 18 warnings)
|
| 24:63 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 31:73 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 37:54 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 116:14 |
Warning |
'move' is never reassigned. Use 'const' instead. |
prefer-const
|
| 119:22 |
Warning |
'variation' is never reassigned. Use 'const' instead. |
prefer-const
|
| 131:67 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 143:77 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 155:18 |
Warning |
Invalid operand for a '+' operation. Operands must each be a number or string. Got `any`. |
@typescript-eslint/restrict-plus-operands
|
| 157:65 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 185:14 |
Warning |
'move' is never reassigned. Use 'const' instead. |
prefer-const
|
| 190:22 |
Warning |
'variation' is never reassigned. Use 'const' instead. |
prefer-const
|
| 228:18 |
Warning |
Invalid operand for a '+' operation. Operands must each be a number or string. Got `any`. |
@typescript-eslint/restrict-plus-operands
|
| 251:14 |
Warning |
'move' is never reassigned. Use 'const' instead. |
prefer-const
|
| 253:22 |
Warning |
'variation' is never reassigned. Use 'const' instead. |
prefer-const
|
| 288:7 |
Warning |
'PolgarM1ReqId' is assigned a value but never used. |
@typescript-eslint/no-unused-vars
|
| 289:7 |
Warning |
'PolgarM2ReqId' is assigned a value but never used. |
@typescript-eslint/no-unused-vars
|
| 381:10 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 443:40 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/CalendarTab.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/InfoTab.tsx
2 problems (0 errors, 2 warnings)
|
| 9:42 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 27:38 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/LeaderboardTab.tsx
8 problems (0 errors, 8 warnings)
|
| 68:29 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 72:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 105:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 117:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 131:29 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 162:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 168:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 179:45 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/MonthDateButton.tsx
1 problem (0 errors, 1 warning)
|
| 58:20 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/TournamentCalendarFilters.tsx
7 problems (0 errors, 7 warnings)
|
| 53:50 |
Warning |
Unexpected any. Specify a different type. |
@typescript-eslint/no-explicit-any
|
| 53:58 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 53:58 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 53:64 |
Warning |
Unsafe member access .breakpoints on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 109:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 141:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 174:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/TournamentsPage.tsx
3 problems (0 errors, 3 warnings)
|
| 16:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 20:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 20:63 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/YearDateButton.tsx
1 problem (0 errors, 1 warning)
|
| 25:20 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/DetailsPage.tsx
13 problems (0 errors, 13 warnings)
|
| 28:55 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 54:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 83:33 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 84:64 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 111:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 112:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 113:43 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 116:59 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 139:48 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 170:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 184:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 198:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 207:65 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/EntrantsTable.tsx
1 problem (0 errors, 1 warning)
|
| 44:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/InfoPage.tsx
4 problems (0 errors, 4 warnings)
|
| 58:59 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 69:36 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 113:33 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 114:83 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/ListPage.tsx
1 problem (0 errors, 1 warning)
|
| 22:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/PairingsTable.tsx
10 problems (0 errors, 10 warnings)
|
| 12:48 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 27:48 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 45:17 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 48:17 |
Warning |
Unsafe return of an `any` typed value. |
@typescript-eslint/no-unsafe-return
|
| 69:18 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 69:31 |
Warning |
Unsafe member access .startsWith on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 70:21 |
Warning |
Unsafe call of an `any` typed value. |
@typescript-eslint/no-unsafe-call
|
| 70:34 |
Warning |
Unsafe member access .startsWith on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 73:72 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 97:59 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/RegistrationPage.tsx
21 problems (0 errors, 21 warnings)
|
| 36:22 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 36:42 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 38:82 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 56:41 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 56:61 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 57:50 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 114:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 133:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 144:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 145:52 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 146:32 |
Warning |
Redundant Boolean call. |
no-extra-boolean-cast
|
| 146:53 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 155:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 157:32 |
Warning |
Redundant Boolean call. |
no-extra-boolean-cast
|
| 166:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 187:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 202:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 221:45 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 225:49 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 248:24 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 284:29 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/StandingsTable.tsx
17 problems (0 errors, 17 warnings)
|
| 32:29 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 33:34 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 38:22 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 44:36 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 48:22 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 89:42 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 92:46 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 95:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 98:47 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 101:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 107:43 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 110:54 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 226:14 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 245:21 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 256:21 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 275:22 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 278:51 |
Warning |
Invalid operand for a '+' operation. Operands must each be a number or string. Got `never`. |
@typescript-eslint/restrict-plus-operands
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/SubmitResultsPage.tsx
23 problems (0 errors, 23 warnings)
|
| 64:26 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string>`. |
@typescript-eslint/no-unsafe-argument
|
| 64:36 |
Warning |
Unsafe member access .players on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 65:26 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string>`. |
@typescript-eslint/no-unsafe-argument
|
| 65:36 |
Warning |
Unsafe member access .players on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 66:23 |
Warning |
Unsafe assignment of an `any` value. |
@typescript-eslint/no-unsafe-assignment
|
| 66:42 |
Warning |
Unsafe member access .status on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 69:38 |
Warning |
Unsafe member access .winner on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 71:38 |
Warning |
Unsafe member access .winner on an `any` value. |
@typescript-eslint/no-unsafe-member-access
|
| 75:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 131:39 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 131:65 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 131:73 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 134:97 |
Warning |
Invalid type "number | "standings"" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 137:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 164:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 179:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 193:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 205:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 216:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 228:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 242:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 261:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 275:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/admin/AdminPage.tsx
3 problems (0 errors, 3 warnings)
|
| 31:25 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 67:49 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 67:56 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string>`. |
@typescript-eslint/no-unsafe-argument
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/admin/BannedPlayersTab.tsx
5 problems (0 errors, 5 warnings)
|
| 41:17 |
Warning |
Missing "key" prop for element in array |
react/jsx-key
|
| 45:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 66:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 93:71 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 106:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/admin/CompleteTournament.tsx
7 problems (0 errors, 7 warnings)
|
| 33:13 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 38:58 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 45:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 57:70 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 62:66 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 78:53 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 83:44 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/admin/Editor.tsx
9 problems (0 errors, 9 warnings)
|
| 31:48 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 96:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 105:60 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 132:56 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 145:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 161:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 174:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 181:69 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 193:46 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/admin/EmailPairingsButton.tsx
4 problems (0 errors, 4 warnings)
|
| 38:38 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 41:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 60:38 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 61:32 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/admin/PairingsTab.tsx
19 problems (0 errors, 19 warnings)
|
| 42:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 43:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 44:43 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 47:59 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 50:9 |
Warning |
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined. |
@typescript-eslint/no-unnecessary-condition
|
| 50:59 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 59:38 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 69:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 83:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 96:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 104:61 |
Warning |
Invalid type "number" of template literal expression. |
@typescript-eslint/restrict-template-expressions
|
| 160:17 |
Warning |
Missing "key" prop for element in array |
react/jsx-key
|
| 176:59 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 188:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 189:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 197:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 231:33 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 252:42 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 266:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tournaments/openClassical/admin/PlayersTab.tsx
17 problems (0 errors, 17 warnings)
|
| 52:18 |
Warning |
Unnecessary conditional, value is always falsy. |
@typescript-eslint/no-unnecessary-condition
|
| 68:17 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 71:17 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 74:17 |
Warning |
The two values in this comparison do not have a shared enum type. |
@typescript-eslint/no-unsafe-enum-comparison
|
| 91:56 |
Warning |
Unsafe argument of type `any` assigned to a parameter of type `Blob | MediaSource`. |
@typescript-eslint/no-unsafe-argument
|
| 97:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 138:47 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 139:57 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 143:17 |
Warning |
Unnecessary conditional, value is always truthy. |
@typescript-eslint/no-unnecessary-condition
|
| 143:67 |
Warning |
Unnecessary optional chain on a non-nullish value. |
@typescript-eslint/no-unnecessary-condition
|
| 154:17 |
Warning |
Missing "key" prop for element in array |
react/jsx-key
|
| 165:17 |
Warning |
Missing "key" prop for element in array |
react/jsx-key
|
| 194:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 207:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 221:38 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 255:67 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 272:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tutorial/Tutorial.tsx
5 problems (0 errors, 5 warnings)
|
| 17:18 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
| 24:14 |
Warning |
Prefer using an optional chain expression instead, as it's more concise and easier to read. |
@typescript-eslint/prefer-optional-chain
|
| 44:29 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
| 44:37 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 62:40 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tutorial/TutorialContext.tsx
1 problem (0 errors, 1 warning)
|
| 16:67 |
Warning |
Forbidden non-null assertion. |
@typescript-eslint/no-non-null-assertion
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tutorial/TutorialTooltip.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/tutorial/tutorialNames.ts
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/upsell/PriceMatrix.tsx
2 problems (0 errors, 2 warnings)
|
| 119:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 162:48 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/upsell/PricingPage.tsx
2 problems (0 errors, 2 warnings)
|
| 30:51 |
Warning |
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator. |
@typescript-eslint/prefer-nullish-coalescing
|
| 53:21 |
Warning |
Prefer the safe `: unknown` for a catch callback variable. |
@typescript-eslint/use-unknown-in-catch-callback-variable
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/upsell/SellingPoint.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/upsell/UpsellAlert.tsx
0 problems
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/upsell/UpsellDialog.tsx
3 problems (0 errors, 3 warnings)
|
| 81:28 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
| 86:24 |
Warning |
`'` can be escaped with `'`, `‘`, `'`, `’`. |
react/no-unescaped-entities
|
| 103:40 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|
|
[+] /home/danimal/projects/work/linting/chess-dojo-scheduler/frontend/src/upsell/UpsellPage.tsx
1 problem (0 errors, 1 warning)
|
| 15:54 |
Warning |
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function. |
@typescript-eslint/no-confusing-void-expression
|