Closed nesterone closed 8 years ago
Thanks, @nesterone . But it doesn't work for me :(
I merged pull request, and pull'd it from GitHub. When I tried npm install
I got some warnings and install didn't work. I tried to delete "node_modules" folder and after this that warnings went away.
Then I tried to write npm install
, but I got some kind of error ("UNMET PEER DEPENDENCY eslint-plugin -react@5.0.1 extraneous".
I tried to search for this error in the internet, but I didn't find anything useful.
So I updated my node.js to the newest version and I also installed eslint-plugin-react via cmd and after this npm install
worked:
After this I wrote not valid code, checked it with the help of npm run lint
, it said that there are some errors and I tried to commit this file, and commit worked even with lint problems:
Done
Looks like you have some side effect after merging pre-commit
hook, because some of your exercises got conflicts with DeuseX
branch in my repo
Pull Request
npm install
npm run lint
After that poin, you won't be able to commit unlinted code