-
Notifications
You must be signed in to change notification settings - Fork 3
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
improve our code #132
Comments
what problem i should solve |
you need to clean up warnings. |
i created new pull request, can you check it |
sir ,without installing that dependency , i couldn't run yarn code-fix |
sir, can you tell me how to run yarn code-fix without installing that dependency |
maybe you not familiar with yarn.
you can use `npm run code-fix`
… |
can you give me some other task, because i can't run this command on my editor( |
ok, let's jump here: Food-Static-Data/sd#61 |
actually it's strange. I assume it's a mis-understanding from your side what you need to do. another point. did you install packages when you grab code locally? i mean in order to run a project locally- you need to save code on your computer, open a terminal at project folder and run 'npm install'. you can check this video: https://www.youtube.com/watch?v=Z1LDNELRqYA btw, this is a list of warnings that need to be fixed
|
I think maybe this warnings was resolved, because we rename our component.s But i'm sure that our code is not ideal. still not ideal :) |
i printed new warnings for you
we can discuss each case and decide what you'll need to do |
ok i will check |
so first i have to run npm install then npm run code-fix, right |
screenshot url =(https://user-images.githubusercontent.com/19423877/55276866-f1101c80-531e-11e9-8cd2-4b193277a57a.png) |
please check |
yeah, i'm getting error too, but before you see eslint warnings.
Let's break it into a small pieces - and try to "digest" some of warnings.
Tell me what line should be fixed first?
|
i think that the variable which are declared and are not used they should be removed first |
ok, put here a list of files, that require this change. What else we'll do next(as previous step will be done soon) |
this task you should complete. |
So i should run npm code-fix and solve the error ,right? |
hmm, i think we have a long conversation there... and right now you're
asking the first question.
looks like we not on the same page. can you re-read our thread, please? I
think i put a lot of details there for you
… |
sorry for that, now i rechecked the error i am only getting now( Parsing error: Unexpected token =), but can't see any problem in that |
Sorry, Sir i won't be able to solve this task |
Sir, actually I want to increase my skills on react, so if it is possible please give me some react task so that I will learn something new on react , and increase my knowledge |
you pushing me same idea again and again. looks like you know what you want. |
you can grab it: #145 |
in order to see warnings that we have (we're using module standard, but it's just a wrapper around ESLint) - you need to run
yarn code-fix
and you'll see warnings that we haveThis can be your second task @ronniebhatt
The text was updated successfully, but these errors were encountered: