Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(prettier): add prettier for auto-spacing, husky to enforce #63

Merged
merged 1 commit into from Apr 11, 2021

Commits on Apr 11, 2021

  1. chore: add prettier config, format file, add lint workflow

    The prettier config was adapted from the official GitHub Actions repo,
    bent to fit the prevailing style (where possible) already in the project
    
    The intent is not to be controversial or argue about whitespace, it is just
    to have a consistent easy-to-verify style specifically to avoid all arguments
    about whitespace. If anything in here is objectionable, just name the setting
    to alter and I can edit / re-format / re-push
    
    chore: add husky and hook build/format/lint checks to pre-commit
    
    This enforces the same checks locally that will execute in CI
    
    With this, everyone should have a clean / consistent dev environment,
    and it will be clear to contributors if they submit code that is not valid
    typescript
    
    Additionally, after doing the build it adds the dist/index.js output to the
    commit list so contributors can't forget to commit it
    
    lint(prettier): trailingComma preferred as all vs none
    
    Co-authored-by: Steven <steven@ceriously.com>
    mikehardy and styfle committed Apr 11, 2021
    Copy the full SHA
    f63c29e View commit details
    Browse the repository at this point in the history