0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Added jsconfig.json to enable type checking

- we're experimenting with using a simple jsconfig file to enable type checking for Ghost + related repos
 - this should allow us all to see where we have typing issues, without requiring everything to be strictly typed or generating type files
This commit is contained in:
Hannah Wolfe 2021-06-09 12:20:08 +01:00
parent 971ac479dc
commit 7f16533d4f
No known key found for this signature in database
GPG key ID: 9F8C7532D0A6BA55

13
jsconfig.json Normal file
View file

@ -0,0 +1,13 @@
{
"include": ["core/**/*.js"],
"compilerOptions": {
"checkJs": true,
"module": "commonjs",
"target": "es2018",
"moduleResolution": "node"
},
"exclude": [
"core/built",
"core/client"
]
}