Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eslint errors in api.mjs and api_services.mjs #342

Open
lydiagarms opened this issue Oct 25, 2024 · 0 comments
Open

Fix eslint errors in api.mjs and api_services.mjs #342

lydiagarms opened this issue Oct 25, 2024 · 0 comments

Comments

@lydiagarms
Copy link
Contributor

The eslint testing found some errors in both files api.mjs and api_services.mjs, which don't seem to cause any problems in practise. The details are below. We can ignore prettier errors and warnings, but should fix everything else.

For api.mjs

9:3 warning Unexpected console statement no-console
10:3 error 'listener' is not defined no-undef
11:5 warning Unexpected console statement no-console
12:5 error 'process' is not defined no-undef
16:1 error 'process' is not defined no-undef
17:1 error 'process' is not defined no-undef
30:31 error 'process' is not defined no-undef
31:5 warning Unexpected console statement no-console

For api_services.mjs

1:1 error Definition for rule 'prettier/prettier' was not found prettier/prettier
2:8 warning 'config' is defined but never used @typescript-eslint/no-unused-vars
3:8 warning 'assert' is defined but never used @typescript-eslint/no-unused-vars
9:28 warning 'getSiblingPath' is defined but never used @typescript-eslint/no-unused-vars
10:8 warning 'fs' is defined but never used @typescript-eslint/no-unused-vars
12:10 warning 'decrypt' is defined but never used @typescript-eslint/no-unused-vars
20:2 warning 'addConstructorNullifiers' is defined but never used @typescript-eslint/no-unused-vars
24:8 warning 'web3' is defined but never used @typescript-eslint/no-unused-vars
31:5 warning 'leafIndex' is assigned a value but never used @typescript-eslint/no-unused-vars
52:31 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
64:4 warning Unexpected console statement no-console
70:5 warning Unexpected console statement no-console
71:5 warning Unexpected console statement no-console
76:5 warning Unexpected console statement no-console
77:5 warning Unexpected console statement no-console
87:31 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
97:4 warning Unexpected console statement no-console
103:5 warning Unexpected console statement no-console
104:5 warning Unexpected console statement no-console
109:5 warning Unexpected console statement no-console
110:5 warning Unexpected console statement no-console
120:34 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
134:4 warning Unexpected console statement no-console
140:5 warning Unexpected console statement no-console
141:5 warning Unexpected console statement no-console
146:5 warning Unexpected console statement no-console
147:5 warning Unexpected console statement no-console
157:34 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
171:4 warning Unexpected console statement no-console
177:5 warning Unexpected console statement no-console
178:5 warning Unexpected console statement no-console
183:5 warning Unexpected console statement no-console
184:5 warning Unexpected console statement no-console
194:56 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
204:52 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
209:3 warning Unexpected console statement no-console
210:33 error 'err' is not defined no-undef
214:59 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
220:3 warning Unexpected console statement no-console
221:33 error 'err' is not defined no-undef
225:63 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
237:61 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
248:52 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
258:56 warning 'next' is defined but never used @typescript-eslint/no-unused-vars
269:55 warning 'next' is defined but never used @typescript-eslint/no-unused-vars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant