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:
parent
971ac479dc
commit
7f16533d4f
1 changed files with 13 additions and 0 deletions
13
jsconfig.json
Normal file
13
jsconfig.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"include": ["core/**/*.js"],
|
||||
"compilerOptions": {
|
||||
"checkJs": true,
|
||||
"module": "commonjs",
|
||||
"target": "es2018",
|
||||
"moduleResolution": "node"
|
||||
},
|
||||
"exclude": [
|
||||
"core/built",
|
||||
"core/client"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue