diff --git a/.replit b/.replit new file mode 100644 index 0000000..9978ad8 --- /dev/null +++ b/.replit @@ -0,0 +1,2 @@ +language = "nodejs" +run = "npm run serve" diff --git a/package-lock.json b/package-lock.json index b496392..1871ec0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,6 +32,7 @@ "@vue/eslint-config-typescript": "^7.0.0", "babel-eslint": "^10.1.0", "eslint": "^6.7.2", + "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-vue": "^7.0.0-alpha.0", "prettier": "^1.19.1", "raw-loader": "^4.0.2", @@ -18245,7 +18246,6 @@ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.0.tgz", "integrity": "sha512-UDK6rJT6INSfcOo545jiaOwB701uAIt2/dR7WnFQoGCVl1/EMqdANBmwUaqqQ45aXprsTGzSa39LI1PyuRBxxw==", "dev": true, - "peer": true, "dependencies": { "prettier-linter-helpers": "^1.0.0" }, @@ -18894,8 +18894,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", - "dev": true, - "peer": true + "dev": true }, "node_modules/fast-glob": { "version": "2.2.7", @@ -23775,7 +23774,6 @@ "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", "dev": true, - "peer": true, "dependencies": { "fast-diff": "^1.1.2" }, @@ -33899,7 +33897,6 @@ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.0.tgz", "integrity": "sha512-UDK6rJT6INSfcOo545jiaOwB701uAIt2/dR7WnFQoGCVl1/EMqdANBmwUaqqQ45aXprsTGzSa39LI1PyuRBxxw==", "dev": true, - "peer": true, "requires": { "prettier-linter-helpers": "^1.0.0" } @@ -34361,8 +34358,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", - "dev": true, - "peer": true + "dev": true }, "fast-glob": { "version": "2.2.7", @@ -38256,7 +38252,6 @@ "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", "dev": true, - "peer": true, "requires": { "fast-diff": "^1.1.2" } diff --git a/package.json b/package.json index d09e8ea..f9fbcff 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "@vue/eslint-config-typescript": "^7.0.0", "babel-eslint": "^10.1.0", "eslint": "^6.7.2", + "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-vue": "^7.0.0-alpha.0", "prettier": "^1.19.1", "raw-loader": "^4.0.2", diff --git a/vue.config.js b/vue.config.js index b707485..34b03af 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,5 +7,11 @@ module.exports = { .plugin("tsconfig-paths") // eslint-disable-next-line @typescript-eslint/no-var-requires .use(require("tsconfig-paths-webpack-plugin")); + // Remove this if/when all "core" code has no non-ignored more type errors + // https://github.com/vuejs/vue-cli/issues/3157#issuecomment-657090338 + config.plugins.delete('fork-ts-checker'); + }, + devServer: { + disableHostCheck: true } };