Ghost/ghost/stats-service
Fabien "egg" O'Carroll 104f84f252 Added eslint rule for file naming convention
As discussed with the product team we want to enforce kebab-case file names for
all files, with the exception of files which export a single class, in which
case they should be PascalCase and reflect the class which they export.

This will help find classes faster, and should push better naming for them too.

Some files and packages have been excluded from this linting, specifically when
a library or framework depends on the naming of a file for the functionality
e.g. Ember, knex-migrator, adapter-manager
2023-05-09 12:34:34 -04:00
..
lib Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
test Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
.eslintrc.js Moved Stats Service from Ghost 2022-04-21 13:10:33 +01:00
index.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
package.json Update dependency @types/sinon to v10.0.14 2023-05-01 15:01:17 +02:00
README.md Cleanup Stats-Service package files 2022-09-20 14:28:11 +01:00

Stats

Stats service

Usage

Test

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