diff --git a/.prettierrc.json b/.prettierrc.json index cce9d3c..f63740f 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,3 +1,4 @@ { + "plugins": ["prettier-plugin-organize-imports"], "semi": false } diff --git a/package-lock.json b/package-lock.json index e113f4e..791642b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "jasmine": "^5.1.0", "lint-staged": "^15.2.0", "prettier": "^3.3.0", + "prettier-plugin-organize-imports": "^3.2.4", "typescript": "~5.4.0" }, "engines": { @@ -1814,6 +1815,27 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/prettier-plugin-organize-imports": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/prettier-plugin-organize-imports/-/prettier-plugin-organize-imports-3.2.4.tgz", + "integrity": "sha512-6m8WBhIp0dfwu0SkgfOxJqh+HpdyfqSSLfKKRZSFbDuEQXDDndb8fTpRWkUrX/uBenkex3MgnVk0J3b3Y5byog==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@volar/vue-language-plugin-pug": "^1.0.4", + "@volar/vue-typescript": "^1.0.4", + "prettier": ">=2.0", + "typescript": ">=2.9" + }, + "peerDependenciesMeta": { + "@volar/vue-language-plugin-pug": { + "optional": true + }, + "@volar/vue-typescript": { + "optional": true + } + } + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", diff --git a/package.json b/package.json index 48ea59f..2b6b216 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "jasmine": "^5.1.0", "lint-staged": "^15.2.0", "prettier": "^3.3.0", + "prettier-plugin-organize-imports": "^3.2.4", "typescript": "~5.4.0" }, "engines": { diff --git a/src/application/files/.prettierrc.json b/src/application/files/.prettierrc.json index cce9d3c..f63740f 100644 --- a/src/application/files/.prettierrc.json +++ b/src/application/files/.prettierrc.json @@ -1,3 +1,4 @@ { + "plugins": ["prettier-plugin-organize-imports"], "semi": false } diff --git a/src/application/files/package.json b/src/application/files/package.json index deee19a..e975a76 100644 --- a/src/application/files/package.json +++ b/src/application/files/package.json @@ -43,6 +43,7 @@ "jest-junit": "^16.0.0", "lint-staged": "^15.2.2", "prettier": "^3.2.5", + "prettier-plugin-organize-imports": "^3.2.0", "supertest": "^7.0.0", "ts-jest": "^29.1.0", "ts-loader": "^9.5.0",