Switch to Typescript and webpack

This commit is contained in:
Daniel Triendl
2020-11-04 22:59:32 +01:00
parent e40a0810ff
commit 7db79afca2
21 changed files with 14701 additions and 310 deletions

28
.eslintrc.yaml Normal file
View File

@@ -0,0 +1,28 @@
---
extends:
- standard
- plugin:import/recommended
- plugin:import/typescript # this line does the trick
# or configure manually:
plugins:
- import
- promise
- standard
- '@typescript-eslint'
parser: '@typescript-eslint/parser'
parserOptions:
sourceType: module
ecmaVersion: 6
env:
browser: true
node: true
rules:
comma-dangle: off
"import/order": "error"
"no-unused-vars": "off"
"@typescript-eslint/no-unused-vars": ["error"]