Converted the javascript to typescript for help with the developing, ty to the [foundry-vtt-types](https://github.com/League-of-Foundry-Developers/foundry-vtt-types) project.

This commit is contained in:
Marco Tenti
2021-04-08 16:51:51 +02:00
parent 2eca460637
commit 3b7b0e5a39
22 changed files with 8113 additions and 1 deletions

24
.eslintrc Normal file
View File

@@ -0,0 +1,24 @@
{
"env": {
"jquery": true,
"browser": true,
"es2020": true
},
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": ["plugin:@typescript-eslint/recommended"],
"rules": {
"no-underscore-dangle": "off",
"import/extensions": "on",
"class-methods-use-this": [
"error",
{
"exceptMethods": ["getData", "_updateObject"]
}
]
}
}