Feature/replace import sort with prettier plugin sort imports (#2872)

* Replace import-sort with prettier-plugin-sort-imports

* Update changelog
pull/2988/head
Thomas Kaul 3 months ago committed by GitHub
parent 6eb659d7e6
commit 865402be3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -9,7 +9,20 @@
],
"attributeSort": "ASC",
"endOfLine": "auto",
"plugins": ["prettier-plugin-organize-attributes"],
"importOrder": ["^@ghostfolio/(.*)$", "<THIRD_PARTY_MODULES>", "^[./]"],
"importOrderSeparation": true,
"overrides": [
{
"files": "*.ts",
"options": {
"importOrderParserPlugins": ["decorators-legacy", "typescript"]
}
}
],
"plugins": [
"prettier-plugin-organize-attributes",
"@trivago/prettier-plugin-sort-imports"
],
"printWidth": 80,
"singleQuote": true,
"tabWidth": 2,

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Changed
- Replaced `import-sort` with `prettier-plugin-sort-imports`
## 2.50.0 - 2024-02-11
### Added

@ -33,7 +33,6 @@
"format:check": "nx format:check",
"format:write": "nx format:write",
"help": "nx help",
"import-sort": "import-sort --write '{apps,libs}/**/*.ts'",
"lint": "nx lint",
"ng": "nx",
"nx": "nx",
@ -165,6 +164,7 @@
"@storybook/addon-essentials": "7.6.5",
"@storybook/angular": "7.6.5",
"@storybook/core-server": "7.6.5",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/big.js": "6.1.6",
"@types/body-parser": "1.19.2",
"@types/cache-manager": "3.4.2",
@ -184,9 +184,6 @@
"eslint-plugin-cypress": "2.14.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-storybook": "0.6.12",
"import-sort-cli": "6.0.0",
"import-sort-parser-typescript": "6.0.0",
"import-sort-style-module": "6.0.0",
"jest": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"jest-preset-angular": "13.1.4",
@ -206,12 +203,6 @@
"engines": {
"node": ">=18"
},
"importSort": {
".ts": {
"parser": "typescript",
"style": "module"
}
},
"prisma": {
"seed": "node prisma/seed.js"
},

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save