This website requires JavaScript.
Explore
Help
Sign In
TryGhost
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
mirror of
https://github.com/TryGhost/Ghost.git
synced
2024-12-25 03:44:29 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
d8b629c713
Ghost
/
ghost
/
post-revisions
/
.eslintrc.js
7 lines
93 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Added post-revisions package This package will be used to contain the logic for determining when a revisions should be generated for a post. It will be used by the Post model during saving and will not handle the storage of revisions
2023-04-17 13:12:55 +03:00
module
.
exports
=
{
plugins
:
[
'ghost'
]
,
extends
:
[
Switched TypeScript eslint config to custom plugin refs https://github.com/TryGhost/DevOps/issues/50 - this switches the .eslint configs from `node` to `ts`, which is a new config to support eslint for TypeScript - also makes minor changes to adhere to these new rules
2023-07-25 16:05:21 +03:00
'plugin:ghost/ts'
Enabled `no-explicit-any` for majority of packages refs https://github.com/TryGhost/DevOps/issues/50 - we should default to keeping the rule on and so I've excluded lines that currently use `any` to avoid the need to go and fix them all up
2023-07-27 17:36:01 +03:00
]
Added post-revisions package This package will be used to contain the logic for determining when a revisions should be generated for a post. It will be used by the Post model during saving and will not handle the storage of revisions
2023-04-17 13:12:55 +03:00
}
;
Reference in New Issue
Copy Permalink