You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dev experience is quite polluted with the linter errors.
Frontend
There are many @typescript-eslint/no-unsafe-assignment errors because some components need to be migrated to typescript. 🦑
> [email protected] lint /Users/mansour/workspace/theodercafe/frontend
> eslint './src/**/*.{ts,tsx,js,jsx}'
/Users/mansour/workspace/theodercafe/frontend/src/App.style.js
4:30 warning 'theme' is defined but never used @typescript-eslint/no-unused-vars
/Users/mansour/workspace/theodercafe/frontend/src/App.test.js
1:8 warning 'React' was used before it was defined no-use-before-define
/Users/mansour/workspace/theodercafe/frontend/src/admin/Admin.js
1:8 warning 'React' was used before it was defined no-use-before-define
16:3 warning Unsafe member access .set on an any value @typescript-eslint/no-unsafe-member-access
16:3 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
16:50 warning Invalid type "any" of template literal expression @typescript-eslint/restrict-template-expressions
/Users/mansour/workspace/theodercafe/frontend/src/admin/QuestionEdit/QuestionEdit.js
1:8 warning 'React' was used before it was defined no-use-before-define
/Users/mansour/workspace/theodercafe/frontend/src/admin/QuestionList/QuestionList.js
1:8 warning 'React' was used before it was defined no-use-before-define
39:62 warning Invalid type "any" of template literal expression @typescript-eslint/restrict-template-expressions
39:62 warning Unsafe member access .givenName on an any value @typescript-eslint/no-unsafe-member-access
39:82 warning Invalid type "any" of template literal expression @typescript-eslint/restrict-template-expressions
39:82 warning Unsafe member access .familyName on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/frontend/src/admin/Users/UserEdit.js
1:8 warning 'React' was used before it was defined no-use-before-define
/Users/mansour/workspace/theodercafe/frontend/src/admin/Users/UserList.js
1:8 warning 'React' was used before it was defined no-use-before-define
/Users/mansour/workspace/theodercafe/frontend/src/components/About/About.js
1:8 warning 'React' was used before it was defined no-use-before-define
/Users/mansour/workspace/theodercafe/frontend/src/components/AddQuestionDialog/AddQuestionDialog.tsx
84:6 warning React Hook useEffect has a missing dependency: 'fetchCategories'. Either include it or remove the dependency array react-hooks/exhaustive-deps
/Users/mansour/workspace/theodercafe/frontend/src/components/CategoryCreate/CategoryCreate.js
1:8 warning 'React' was used before it was defined no-use-before-define
/Users/mansour/workspace/theodercafe/frontend/src/components/EmailSnackbar/EmailSnackbar.jsx
1:8 warning 'React' was used before it was defined no-use-before-define
19:14 warning Unsafe member access .target on an any value @typescript-eslint/no-unsafe-member-access
23:5 warning Unsafe member access .preventDefault on an any value @typescript-eslint/no-unsafe-member-access
23:5 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
26:27 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
26:42 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
26:58 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
31:15 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
32:13 warning Unsafe member access .code on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/frontend/src/components/FilterDrawer/FilterDrawer.js
1:8 warning 'React' was used before it was defined no-use-before-define
14:3 warning Unsafe member access .forEach on an any value @typescript-eslint/no-unsafe-member-access
14:3 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
15:9 warning Unsafe member access [attributeName] on an any value @typescript-eslint/no-unsafe-member-access
15:17 warning Computed name [attributeName] resolves to an any value @typescript-eslint/no-unsafe-member-access
19:36 warning Unsafe member access .length on an any value @typescript-eslint/no-unsafe-member-access
25:29 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
25:29 warning Unsafe member access .drawerContent on an any value @typescript-eslint/no-unsafe-member-access
26:10 warning Unsafe member access .map on an any value @typescript-eslint/no-unsafe-member-access
26:10 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
27:15 warning Unsafe member access [attribute.name] on an any value @typescript-eslint/no-unsafe-member-access
27:23 warning Unsafe member access .name on an any value @typescript-eslint/no-unsafe-member-access
27:23 warning Computed name [attribute.name] resolves to an any value @typescript-eslint/no-unsafe-member-access
32:20 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
32:20 warning Unsafe member access .name on an any value @typescript-eslint/no-unsafe-member-access
35:28 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
35:28 warning Unsafe member access [attribute.name] on an any value @typescript-eslint/no-unsafe-member-access
35:36 warning Unsafe member access .name on an any value @typescript-eslint/no-unsafe-member-access
35:36 warning Computed name [attribute.name] resolves to an any value @typescript-eslint/no-unsafe-member-access
36:36 warning Unsafe return of an any typed value @typescript-eslint/no-unsafe-return
36:36 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
36:36 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
36:55 warning Unsafe member access .name on an any value @typescript-eslint/no-unsafe-member-access
40:22 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
40:22 warning Unsafe member access .label on an any value @typescript-eslint/no-unsafe-member-access
52:33 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
52:48 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
53:21 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
53:39 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
53:39 warning Unsafe member access .drawerHeader on an any value @typescript-eslint/no-unsafe-member-access
57:30 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
63:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
64:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
65:29 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
73:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
74:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
75:29 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
82:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
83:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
84:29 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
91:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
92:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
93:29 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
101:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
102:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
103:29 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
/Users/mansour/workspace/theodercafe/frontend/src/components/FilterDrawer/style.js
2:3 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
6:8 warning Unsafe member access .mixins on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/frontend/src/components/MenuDrawer/MenuDrawer.js
1:8 warning 'React' was used before it was defined no-use-before-define
26:5 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
26:12 warning Unsafe member access .palette on an any value @typescript-eslint/no-unsafe-member-access
40:7 warning Unsafe member access .role on an any value @typescript-eslint/no-unsafe-member-access
47:5 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
48:5 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
52:34 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
52:49 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
52:49 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
53:23 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
53:23 warning Unsafe member access .drawerHeader on an any value @typescript-eslint/no-unsafe-member-access
54:30 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
54:30 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
61:43 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
61:43 warning Unsafe member access .link on an any value @typescript-eslint/no-unsafe-member-access
62:39 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
62:39 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
/Users/mansour/workspace/theodercafe/frontend/src/components/MenuIcon/MenuIcon.js
1:8 warning 'React' was used before it was defined no-use-before-define
10:34 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
10:68 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
10:68 warning Unsafe member access .profile on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/frontend/src/components/PlusOnes/PlusOnes.tsx
21:8 warning React Hook useEffect has a missing dependency: 'timeout'. Either include it or remove the dependency array react-hooks/exhaustive-deps
/Users/mansour/workspace/theodercafe/frontend/src/components/Question/Question.tsx
16:12 warning Unsafe member access [getLocale()] on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/frontend/src/index.js
1:8 warning 'React' was used before it was defined no-use-before-define
/Users/mansour/workspace/theodercafe/frontend/src/modules/PrivateRoute/PrivateRoute.js
1:8 warning 'React' was used before it was defined no-use-before-define
40:23 warning Unsafe member access .role on an any value @typescript-eslint/no-unsafe-member-access
48:27 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
57:17 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
58:23 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
59:22 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
62:25 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
/Users/mansour/workspace/theodercafe/frontend/src/pages/Alterodo/Alterodo.js
1:8 warning 'React' was used before it was defined no-use-before-define
19:11 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
24:5 warning Promises must be handled appropriately or explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
/Users/mansour/workspace/theodercafe/frontend/src/pages/Home/Home.tsx
92:6 warning React Hook useEffect has a missing dependency: 'fetchUsersPictures'. Either include it or remove the dependency array react-hooks/exhaustive-deps
/Users/mansour/workspace/theodercafe/frontend/src/pages/LoginPage/LoginPage.js
1:8 warning 'React' was used before it was defined no-use-before-define
/Users/mansour/workspace/theodercafe/frontend/src/pages/LoginPage/style.js
3:30 warning 'theme' is defined but never used @typescript-eslint/no-unused-vars
/Users/mansour/workspace/theodercafe/frontend/src/pages/Map/Map.js
1:8 warning 'React' was used before it was defined no-use-before-define
17:9 warning Unsafe member access [filter] on an any value @typescript-eslint/no-unsafe-member-access
40:30 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
40:40 warning Unsafe member access .target on an any value @typescript-eslint/no-unsafe-member-access
54:11 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
59:5 warning Promises must be handled appropriately or explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
95:9 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
95:15 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
96:11 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
96:14 warning Unsafe member access .x on an any value @typescript-eslint/no-unsafe-member-access
97:11 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
97:14 warning Unsafe member access .y on an any value @typescript-eslint/no-unsafe-member-access
98:20 warning Invalid type "any" of template literal expression @typescript-eslint/restrict-template-expressions
98:20 warning Unsafe member access .givenName on an any value @typescript-eslint/no-unsafe-member-access
98:39 warning Invalid type "any" of template literal expression @typescript-eslint/restrict-template-expressions
98:39 warning Unsafe member access .toUpperCase on an any value @typescript-eslint/no-unsafe-member-access
98:39 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
98:39 warning Unsafe member access .familyName on an any value @typescript-eslint/no-unsafe-member-access
98:39 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
102:28 warning Invalid type "any" of template literal expression @typescript-eslint/restrict-template-expressions
102:28 warning Unsafe member access .pictureUrl on an any value @typescript-eslint/no-unsafe-member-access
109:15 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
109:22 warning Unsafe member access .chart on an any value @typescript-eslint/no-unsafe-member-access
110:15 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
110:23 warning Unsafe member access .index on an any value @typescript-eslint/no-unsafe-member-access
111:16 warning Operands of '+' operation must either be both strings or both numbers. Consider using a template literal @typescript-eslint/restrict-plus-operands
111:24 warning Unsafe member access [index] on an any value @typescript-eslint/no-unsafe-member-access
111:29 warning Computed name [index] resolves to an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/frontend/src/services/api.js
11:37 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
11:42 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
11:50 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
11:56 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
14:7 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
20:5 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
25:5 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
29:5 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
36:5 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
50:23 warning Operands of '+' operation must either be both strings or both numbers. Consider using a template literal @typescript-eslint/restrict-plus-operands
61:52 warning Invalid type "any" of template literal expression @typescript-eslint/restrict-template-expressions
62:18 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
65:5 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
66:5 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
71:50 warning Invalid type "any" of template literal expression @typescript-eslint/restrict-template-expressions
72:38 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
75:5 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
76:5 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
/Users/mansour/workspace/theodercafe/frontend/src/services/authentication.ts
3:25 warning 'history' should be listed in the project's dependencies. Run 'npm i -S history' to add it import/no-extraneous-dependencies
104:6 warning React Hook useEffect has a missing dependency: 'setJwtToken'. Either include it or remove the dependency array. If 'setJwtToken' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps
143:74 warning Invalid type "URLSearchParams" of template literal expression @typescript-eslint/restrict-template-expressions
/Users/mansour/workspace/theodercafe/frontend/src/services/firebase/authentication.ts
53:5 warning Unexpected console statement no-console
74:6 warning React Hook useEffect has a missing dependency: 'enqueueSnackbar'. Either include it or remove the dependency array react-hooks/exhaustive-deps
✖ 162 problems (0 errors, 162 warnings)
Backend
> [email protected] lint /Users/mansour/workspace/theodercafe/backend
> eslint '*/**/*.{js,ts,tsx}'
/Users/mansour/workspace/theodercafe/backend/migration/1560253974596-CreateQuestions.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
10:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1561586891486-CreateCategories.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
16:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1563558299498-AddVoteColumnsToQuestions.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
9:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1563741587723-AddIsClassicColumn.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
8:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1565039057366-AddAccumulusTable.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
10:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1565680504947-AddIsValidatedColumn.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
8:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1567258986841-AddUpAndDownVoteColumnToQuestions.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
9:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1567266002464-AddIsAboutSomeoneColumnToQuestion.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
8:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1567379099964-AddUserTable.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
10:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1574145029128-AddUserColumns.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
10:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1574236263781-AddUserToQuestionChoice.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
16:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1575729756447-AddQuestioningHistoric.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
11:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1575838987623-AddUserToQuestionVotes.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
16:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1575929485559-AddOnDeleteCascada.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
27:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1576331958656-RemoveCountColumnsInQuestions.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
11:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1578828572957-AddIsJokeColumnToQuestions.ts
4:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
8:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/migration/1660755555178-FillQuestionSetQuestionData.ts
6:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
16:34 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/Users/mansour/workspace/theodercafe/backend/src/accumulus/accumulus.controller.ts
17:14 warning Unsafe member access ['name'] on an any value @typescript-eslint/no-unsafe-member-access
17:40 warning Unsafe member access ['nuages'] on an any value @typescript-eslint/no-unsafe-member-access
20:9 warning Unsafe return of type Promise<any> from function with return type Promise<Accumulus | BadRequestException> @typescript-eslint/no-unsafe-return
/Users/mansour/workspace/theodercafe/backend/src/accumulus/accumulus.gateway.ts
2:24 warning 'socket.io' should be listed in the project's dependencies. Run 'npm i -S socket.io' to add it import/no-extraneous-dependencies
3:1 warning Unsafe member access .config on an any value @typescript-eslint/no-unsafe-member-access
3:1 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
3:1 warning Require statement not part of import statement @typescript-eslint/no-var-requires
/Users/mansour/workspace/theodercafe/backend/src/auth/auth.controller.ts
24:13 warning Unsafe member access .redirect on an any value @typescript-eslint/no-unsafe-member-access
24:13 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
25:20 warning Invalid type "string | undefined" of template literal expression @typescript-eslint/restrict-template-expressions
30:13 warning Unsafe member access .redirect on an any value @typescript-eslint/no-unsafe-member-access
30:13 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
30:29 warning Invalid type "string | undefined" of template literal expression @typescript-eslint/restrict-template-expressions
/Users/mansour/workspace/theodercafe/backend/src/auth/auth.service.ts
39:74 warning Unsafe member access .message on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/backend/src/auth/google.strategy.ts
26:29 warning Invalid type "string | undefined" of template literal expression @typescript-eslint/restrict-template-expressions
33:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
37:15 warning Don't use `Function` as a type. The `Function` type accepts any function-like value.
It provides no type safety when calling the function, which can be a common source of bugs.
It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`.
If you are expecting the function to accept certain arguments, you should explicitly define the function shape @typescript-eslint/ban-types
/Users/mansour/workspace/theodercafe/backend/src/auth/jwt.admin.strategy.ts
18:47 warning Don't use `Function` as a type. The `Function` type accepts any function-like value.
It provides no type safety when calling the function, which can be a common source of bugs.
It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`.
If you are expecting the function to accept certain arguments, you should explicitly define the function shape @typescript-eslint/ban-types
23:17 warning Unsafe return of an any typed value @typescript-eslint/no-unsafe-return
28:61 warning Unsafe member access .message on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/backend/src/auth/jwt.user.strategy.ts
18:47 warning Don't use `Function` as a type. The `Function` type accepts any function-like value.
It provides no type safety when calling the function, which can be a common source of bugs.
It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`.
If you are expecting the function to accept certain arguments, you should explicitly define the function shape @typescript-eslint/ban-types
23:17 warning Unsafe return of an any typed value @typescript-eslint/no-unsafe-return
28:61 warning Unsafe member access .message on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/backend/src/category/category.controller.ts
3:26 warning 'express' should be listed in the project's dependencies. Run 'npm i -S express' to add it import/no-extraneous-dependencies
32:15 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
37:9 warning Unsafe return of an any typed value @typescript-eslint/no-unsafe-return
52:9 warning Unsafe return of type Promise<any> from function with return type Promise<Category> @typescript-eslint/no-unsafe-return
/Users/mansour/workspace/theodercafe/backend/src/category/category.entity.ts
12:17 error 'type' is defined but never used @typescript-eslint/no-unused-vars
/Users/mansour/workspace/theodercafe/backend/src/question/question.controller.ts
16:26 warning 'express' should be listed in the project's dependencies. Run 'npm i -S express' to add it import/no-extraneous-dependencies
/Users/mansour/workspace/theodercafe/backend/src/question/question.repository.ts
5:35 error 'RawAdminListQuestion' is defined but never used @typescript-eslint/no-unused-vars
/Users/mansour/workspace/theodercafe/backend/src/question/question.service.ts
5:10 error 'QuestionSet' is defined but never used @typescript-eslint/no-unused-vars
/Users/mansour/workspace/theodercafe/backend/src/questionSet/questionSet.controller.ts
2:26 warning 'express' should be listed in the project's dependencies. Run 'npm i -S express' to add it import/no-extraneous-dependencies
/Users/mansour/workspace/theodercafe/backend/src/user/emails/sendinblue.ts
3:7 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
3:21 warning Require statement not part of import statement @typescript-eslint/no-var-requires
5:7 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
5:21 warning Unsafe construction of an any type value @typescript-eslint/no-unsafe-call
5:25 warning Unsafe member access .TransactionalEmailsApi on an any value @typescript-eslint/no-unsafe-member-access
6:7 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
6:16 warning Unsafe member access .authentications on an any value @typescript-eslint/no-unsafe-member-access
7:1 warning Unsafe member access .apiKey on an any value @typescript-eslint/no-unsafe-member-access
36:15 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
36:28 warning Unsafe member access .sendTransacEmail on an any value @typescript-eslint/no-unsafe-member-access
36:28 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
38:16 warning Unsafe member access .response on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/backend/src/user/emails/templates.ts
53:35 error Irregular whitespace not allowed no-irregular-whitespace
95:32 error Irregular whitespace not allowed no-irregular-whitespace
/Users/mansour/workspace/theodercafe/backend/src/user/user.controller.ts
14:26 warning 'express' should be listed in the project's dependencies. Run 'npm i -S express' to add it import/no-extraneous-dependencies
/Users/mansour/workspace/theodercafe/backend/src/user/user.service.ts
23:9 warning Unsafe return of type Promise<any> from function with return type Promise<AdminUserList> @typescript-eslint/no-unsafe-return
68:13 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
68:24 warning Unsafe member access .name on an any value @typescript-eslint/no-unsafe-member-access
68:39 warning Unsafe member access .name on an any value @typescript-eslint/no-unsafe-member-access
69:13 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
69:25 warning Unsafe member access .name on an any value @typescript-eslint/no-unsafe-member-access
69:40 warning Unsafe member access .name on an any value @typescript-eslint/no-unsafe-member-access
70:13 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
70:25 warning Unsafe member access .photos on an any value @typescript-eslint/no-unsafe-member-access
70:53 warning Unsafe member access .photos on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/backend/src/user/user.types.ts
21:13 error 'UserLocale' is already declared in the upper scope no-shadow
/Users/mansour/workspace/theodercafe/backend/src/userToQuestionChoice/userToQuestionChoice.helpers.ts
58:26 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins
64:30 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins
68:28 warning Computed name [userIdIndex[userToQuestionChoice.userId]] resolves to an any value @typescript-eslint/no-unsafe-member-access
68:70 warning Computed name [questionIdIndex[userToQuestionChoice.questionId]] resolves to an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/backend/src/userToQuestionChoice/userToQuestionChoice.service.ts
134:15 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
134:25 warning Unsafe member access .getEigenVectors on an any value @typescript-eslint/no-unsafe-member-access
134:25 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
135:15 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
135:24 warning Unsafe member access .computeAdjustedData on an any value @typescript-eslint/no-unsafe-member-access
135:24 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
135:54 warning Unsafe member access [0] on an any value @typescript-eslint/no-unsafe-member-access
135:66 warning Unsafe member access [1] on an any value @typescript-eslint/no-unsafe-member-access
144:9 warning Unsafe member access .formattedAdjustedData on an any value @typescript-eslint/no-unsafe-member-access
144:9 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
146:18 error 'user' is already declared in the upper scope no-shadow
153:17 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
153:20 warning Unsafe member access .formattedAdjustedData on an any value @typescript-eslint/no-unsafe-member-access
171:62 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
228:41 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins
/Users/mansour/workspace/theodercafe/backend/src/userToQuestionChoice/userToQuestionChoice.types.ts
22:1 error Do not use "@ts-ignore" because it alters compilation errors @typescript-eslint/ban-ts-comment
/Users/mansour/workspace/theodercafe/backend/src/userToQuestionVote/userToQuestionVote.controller.ts
40:22 warning Unsafe member access .user on an any value @typescript-eslint/no-unsafe-member-access
40:35 warning Unsafe member access .user on an any value @typescript-eslint/no-unsafe-member-access
43:68 warning Unsafe member access .user on an any value @typescript-eslint/no-unsafe-member-access
50:22 warning Unsafe member access .user on an any value @typescript-eslint/no-unsafe-member-access
50:35 warning Unsafe member access .user on an any value @typescript-eslint/no-unsafe-member-access
53:66 warning Unsafe member access .user on an any value @typescript-eslint/no-unsafe-member-access
/Users/mansour/workspace/theodercafe/backend/test/app.e2e-spec.ts
13:9 warning Unsafe assignment of an any value @typescript-eslint/no-unsafe-assignment
14:15 warning Unsafe member access .init on an any value @typescript-eslint/no-unsafe-member-access
14:15 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
18:24 warning Unsafe member access .getHttpServer on an any value @typescript-eslint/no-unsafe-member-access
18:24 warning Unsafe call of an any typed value @typescript-eslint/no-unsafe-call
✖ 123 problems (8 errors, 115 warnings)
The text was updated successfully, but these errors were encountered:
Situation
The dev experience is quite polluted with the linter errors.
Frontend
There are many
@typescript-eslint/no-unsafe-assignment
errors because some components need to be migrated to typescript. 🦑Backend
The text was updated successfully, but these errors were encountered: