Refactoring rrweb-player (#26)

* enable drag and drop in controller

* setup svelte v3 workflow and entry point

* add ts eslint config and do compatibility fallbacks in API

* rewrite replayer in svelte v3

* fix css import

* fix fullscreen API
This commit is contained in:
yz-yu
2020-08-09 13:35:25 +08:00
committed by GitHub
parent d92bc733df
commit 7aa760e731
16 changed files with 2436 additions and 645 deletions

View File

@@ -1,7 +1,8 @@
{
"extends": "google",
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 8,
"ecmaVersion": 2019,
"sourceType": "module"
},
"rules": {
@@ -10,5 +11,15 @@
"object-curly-spacing": "off",
"indent": "off"
},
"plugins": ["html"]
"env": {
"es6": true,
"browser": true
},
"plugins": ["svelte3", "@typescript-eslint"],
"overrides": [
{
"files": ["*.svelte"],
"processor": "svelte3/svelte3"
}
]
}