React Implementation of Special Group web app.
If you want to setup node and run the application in your host os.
- Yarn >= v1 [we are using yarn as primary package manager.]
/**
If you want to clone the repo using https use https://github.com/shakyasaijal/specialgroup-frontend.git instead.
*/
sh
$ git clone git@github.com:shakyasaijal/specialgroup-frontend.git
$ cd specialgroup-frontend/
Pull the dependencies and start the server.
$ yarn
$ yarn start
Browse: http://localhost:3000
For the default eslint config we are using eslint-config-leapfrog/react. More info on the eslint config that we are using can be found on ES Lint Configuration
For viewing the lint related issues, run the following command.
$ yarn eslint
For fixing the lint related issues run the following command:
$ yarn eslint:fix
For fixing the formatting related issues run the following command:
```sh
$ yarn prettier:fix
For fixing the both lint and prettier related issues run the following command:
$ yarn lint:fix
Running this command will fix most of the lint related issues. Some of the issues might have to be fixed manually. You can find the issues that are automatically fixed and the issues that require manual fixing after executing the above command.
$ git checkout -b <YOUR_BRANCH_NAME>
Make the necessary changes, fix the lint related issues and commit to the branch that you just created.
$ yarn lint:fix
$ git add .
$ git commit -m <YOUR_COMMIT_MESSAGE>
$ git push -u origin <YOUR_BRANCH_NAME>
[Note: Pre commit hook is installed so unless lint and prettier auto fix or a programmer themselves fixes formatting related issues, commit can't be made.]