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

Remove lint warnings that may give away the solution #27

Open
Vages opened this issue Sep 3, 2022 · 1 comment
Open

Remove lint warnings that may give away the solution #27

Vages opened this issue Sep 3, 2022 · 1 comment

Comments

@Vages
Copy link
Owner

Vages commented Sep 3, 2022

Currently, we get the following warnings:

svelte-snake-workshop/src/routes/task-3.3/problem/+page.svelte
  3:3  error  'DIRECTION' is defined but never used  no-unused-vars
svelte-snake-workshop/src/routes/task-3.6/problem/+page.svelte
  27:6  error  'headDirectionQueue' is assigned a value but never used  no-unused-vars

I am not sure if these are to be considered spoilers, but they seem to give away the solution (at least partially).

Possible solution: Delete the imports and rewrite the tasks with hints.

@Vages
Copy link
Owner Author

Vages commented Sep 3, 2022

I'm still on the fence about this.

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