fix: sets up gh-actions linting and fixes pre-commit hook #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes this, atleast for macOS
![Screenshot 2023-08-23 at 10 54 15](https://private-user-images.githubusercontent.com/69514522/262614280-2f9ccef4-633e-4850-8d20-d0684a56104f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Nzk1MzksIm5iZiI6MTczOTQ3OTIzOSwicGF0aCI6Ii82OTUxNDUyMi8yNjI2MTQyODAtMmY5Y2NlZjQtNjMzZS00ODUwLThkMjAtZDA2ODRhNTYxMDRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIwNDAzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0ZDg4MTVhMjg2Y2EyODhlOGFjMjc3ZjkxOTBkZWM4ZmY1YTM0YzA4ZDgzZjdhMzdhYzBlOWEyZDg0MDVmZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.IsmbM3rteKX8gYGWr5nBpBlmUNUgo5Hy-QdBlfhQW9w)
pre-commit file was not created with husky add command. The filesystem flag marking the file as an executable was not set.
Fixed by running
"chmod +x ./.husky/pre-commit" from next-frontend folder