Closed Nikhil-Kumaran closed 5 years ago
Hey, thank you so much for taking time to contribute. Everything looks good.
We make it mandatory for all contributors to update learning.md for other people to learn from the PR. Can you update that alone
@bhavaniravi Sure I'll add that.
@bhavaniravi Done
We make it mandatory for all contributors to update learning.md for other people to learn from the PR. Can you update that alone
gatsby develop
runs without errorsgatsby build
runs without errors@bhavaniravi Explanation: I have added a pre-commit hook to lint and format JS/JSX files using eslint and prettier on each commit. This will be useful because, multiple people use different coding styles(Single/Double quotes, spacing) or might make silly mistakes(declaring a variable and not using it) and we need to have a consistent coding style. So on each commit the formatting and linting will happen only on the changed files.