diff --git a/package.json b/package.json index 0254e8d15..ae2227feb 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'", "build-only": "vite build", "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", - "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" + "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", + "format": "prettier ./src --write" }, "dependencies": { "@arcgis/core": "^4.28.10", diff --git a/tsconfig.app.json b/tsconfig.app.json index a4299392b..6c08e6884 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -8,6 +8,8 @@ "paths": { "@/*": ["./src/*"] }, - "lib": ["dom", "es2015", "es2018", "es2018.promise"] + "lib": ["dom", "es2015", "es2018", "es2018.promise"], + "ignoreDeprecations": "5.0", + "verbatimModuleSyntax": true } } diff --git a/tsconfig.config.json b/tsconfig.config.json index 424084aa5..47bd2ee27 100644 --- a/tsconfig.config.json +++ b/tsconfig.config.json @@ -1,8 +1,15 @@ { "extends": "@vue/tsconfig/tsconfig.node.json", - "include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"], + "include": [ + "vite.config.*", + "vitest.config.*", + "cypress.config.*", + "playwright.config.*" + ], "compilerOptions": { "composite": true, - "types": ["node"] + "types": ["node"], + "ignoreDeprecations": "5.0", + "verbatimModuleSyntax": true } } diff --git a/tsconfig.vitest.json b/tsconfig.vitest.json index d080d611e..60f9b9a8d 100644 --- a/tsconfig.vitest.json +++ b/tsconfig.vitest.json @@ -4,6 +4,8 @@ "compilerOptions": { "composite": true, "lib": [], - "types": ["node", "jsdom"] + "types": ["node", "jsdom"], + "ignoreDeprecations": "5.0", + "verbatimModuleSyntax": true } }