Base React Boilerplate template
This template comes with airbnb eslint rules, in addition to a couple of my preferred standards. It also has a pre-commit husky hook setup that prettifies code before submission and will not let you commit with out fixes lint issues ( to bypass --no-verify
)
If you'd like to rename the folder structure, which I imagine you would since boilerplate is a terrible name for a main folder, replace the words boilerplate, with the new folder name:
- In the
client\package.json
file change the lint script"lint": "eslint [folder name here]",
- Under
lint-staged
changeeslint [folder name]/src/ --fix"
- In the
client\webpack.config.js
changeMAIN_DIR_FOLDER
fromboilerplate
to the folder you want
#Server This has the ability to be setup with a node.js server, if you're looking for that please see other template