diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 000000000..7e784f82d --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,19 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:@typescript-eslint/recommended", + "plugin:@typescript-eslint/recommended-requiring-type-checking" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "plugins": ["@typescript-eslint"], + "rules": {} +} diff --git a/.gitignore b/.gitignore index a338e5c21..426fadc86 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ # Dependency directories -node_modules/ \ No newline at end of file +node_modules/ + +dist \ No newline at end of file diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 000000000..69a5ed96d --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,13 @@ +{ + "printWidth": 120, + "tabWidth": 2, + "useTabs": false, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "bracketSpacing": true, + "jsxBracketSameLine": true, + "arrowParens": "avoid", + "vueIndentScriptAndStyle": false, + "endOfLine": "auto" +} diff --git a/index.html b/index.html index 454e4e55f..6f132fd23 100644 --- a/index.html +++ b/index.html @@ -1,16 +1,24 @@ - -
+