WorldHealthOrganization / app

COVID-19 App
Other
2.13k stars 510 forks source link

git pre-commit hooks + basic config #1671

Open brunobowden opened 3 years ago

brunobowden commented 3 years ago

Summary

Add basic pre-commit hooks to the repo. To catch, for example, broken symlinks (https://github.com/WorldHealthOrganization/app/pull/1670) Link: https://github.com/pre-commit/pre-commit-hooks

Possible config file. Should be run against every file in the existing tree to see what issues might come up.

# .pre-commit-config.yaml
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.3.0  # Use the ref you want to point at
    hooks:
    -   id: trailing-whitespace
    -   id: check-added-large-files
    -   id: check-case-conflict
    -   id: check-executables-have-shebangs
    -   id: check-json
    -   id: check-symlinks
    -   id: detect-private-key
    -   id: end-of-file-fixer

Checklist:

vuuzlemich commented 2 years ago

Get to know Vuuzle Media Corp Limited. Please check it out, Have a good day!

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/?fbclid=IwAR1_WYA2Cf_7AR6_nQzaaOhDBDFe2YXTsxuZLurmaBwjaRDV9kVBXTJpCzo

https://vuuzletvph.com/what-is-the-secret-of-nft-tokens-and-why-they-are-bought-for-millions-of-dollars/?fbclid=IwAR1torFs0xhEfE5sWJ2uVTitiNWJC7xLgMpxgZSPsNokgO3IzZnBvu38uxQ

https://vucocash.com/

http://www.vucocash.com/