Ghost/ghost/collections
Daniel Lockyer 6dc1d08590 Re-enabled general eslint rules in TS config
refs https://github.com/TryGhost/DevOps/issues/50

- when creating a TS config in our `eslint-plugin-ghost` dependency, I
  only extended the recommended config, which left out a lot of
  stylistic things we used to enforce in JS
- this fixes that by bumping the dependency to a version which extends
  those shared configs, and fixes all the code that currently goes
  against those rules
2023-09-08 13:47:42 +02:00
..
src Re-enabled general eslint rules in TS config 2023-09-08 13:47:42 +02:00
test Optimized PostEditedEvent processing in collections 2023-09-08 13:46:44 +08:00
.eslintrc.js Enabled no-explicit-any for majority of packages 2023-07-27 16:49:08 +02:00
package.json Optimized PostEditedEvent processing in collections 2023-09-08 13:46:44 +08:00
README.md
tsconfig.json

Collections

Manages everything to do with Collections

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests