Add basic typescript integration

This commit is contained in:
Isidor Nygren 2022-04-21 16:23:37 +02:00
parent a937b82cd2
commit a817ed17a2
8 changed files with 46 additions and 12 deletions

View file

@ -4,7 +4,7 @@
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "standard", "standard-jsx", "react-app"],
"extends": ["eslint:recommended", "standard", "standard-jsx", "react-app", "plugin:@typescript-eslint/recommended"],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": "7",
@ -13,7 +13,7 @@
},
"sourceType": "module"
},
"plugins": ["flowtype", "react", "react-hooks"],
"plugins": ["flowtype", "react", "react-hooks", "@typescript-eslint"],
"rules": {
"indent": ["error", 4,
{