Configure workflow for Linting, Formatting and the Pre-commit hook to formate code before the commit
Performed things,
- Enforce naming conventions for files and folder names
- Enforce naming conventions for variables and function names
- Limit the line length to a maximum of 100 characters
- Limit the max 300 lines for files
- Limit the max 30 lines for functions
- Format code
- Ignore check in non-go files
- Write GitHub CI script to run lint
- Configure the Pre-commit hook to formate code before the commit
- Configure the script to run Lint as part of the CI/CD pipeline.
- Setup to runs the linting process on each commit.