Ghost/ghost/core
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
..
content 🎨 Updated Casper to v5.3.2 2022-10-07 16:00:52 +01:00
core Added audience feedback feature flag 2022-10-10 09:27:45 +02:00
test Removed emailClicks feature flag (#15556) 2022-10-07 14:27:57 +02:00
.c8rc.json Extracted shared API framework to separate package 2022-08-11 17:44:59 +02:00
.eslintignore Added member attribution script (#15242) 2022-08-16 15:44:51 +02:00
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00
.gitignore Added copied release assets into .gitignore 2022-08-10 14:19:16 +02:00
.npmignore Cleaned up npmignore entries for Casper 2022-09-01 08:22:01 +01:00
config.development.json Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
ghost.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
index.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
jsconfig.json Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
loggingrc.js Switched to original version for metrics 2022-08-04 19:22:57 +02:00
MigratorConfig.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
package.json Switched to Husky + lint-staged for git hooks 2022-10-10 15:10:48 +07:00