Ghost/.github
Daniel Lockyer a37b2cd24e Switched to Husky + lint-staged for git hooks
- up until this commit, git hooks were only used by a handful of people
  because they were a pain:
  - they'd only be set up when you did `yarn setup`
  - the existing hooks ran `yarn lint` on all projects, which was
    incredibly slow
- as a result, not many of us actually had them enabled, but this would
  cause issues in CI because people were pushing un-linted commits
- other JS projects tend to use husky to automate the git hook setup and
  lint-staged to speed up linting on changed files
- this commit switches to using them both
  - `lint-staged` only runs `eslint` on staged JS files that are about to
    be committed - if there's a linting error, it will stop the commit
  - I've configured the pre-commit hook to successfully exit in CI because we
    don't want to run pre-commit hooks right now
- this means we can remove Grunt - yay!
2022-10-10 15:10:48 +07:00
..
hooks Switched to Husky + lint-staged for git hooks 2022-10-10 15:10:48 +07:00
ISSUE_TEMPLATE
workflows Increased frequency of stale bot execution to hourly 2022-09-29 16:10:49 +07:00
AUTO_ASSIGN Removed Members packages from auto-assign rules 2022-07-22 12:40:29 +02:00
CODEOWNERS Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2022-08-05 16:06:26 +01:00
dev.js Added note about fetching the Stripe secret token 2022-10-06 16:56:05 +07:00
FUNDING.yml
PULL_REQUEST_TEMPLATE.md Updated hiring links 2022-09-30 19:56:26 +01:00
SUPPORT.md