mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-22 19:01:26 +00:00
chore(deps): update dependency prettier to v3.4.2 (#2843)
* Update dependency prettier to v3.3.3 * Update dependency prettier to v3.3.3 * Fixing lint. * Clean up. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dessalines <tyhou13@gmx.com>
This commit is contained in:
parent
46f42f52ad
commit
12c5036c1f
3 changed files with 19 additions and 19 deletions
|
@ -118,7 +118,7 @@
|
||||||
"husky": "^9.1.5",
|
"husky": "^9.1.5",
|
||||||
"import-sort-style-module": "^6.0.0",
|
"import-sort-style-module": "^6.0.0",
|
||||||
"lint-staged": "^15.2.9",
|
"lint-staged": "^15.2.9",
|
||||||
"prettier": "^3.4.1",
|
"prettier": "^3.4.2",
|
||||||
"prettier-plugin-import-sort": "^0.0.7",
|
"prettier-plugin-import-sort": "^0.0.7",
|
||||||
"prettier-plugin-organize-imports": "^4.0.0",
|
"prettier-plugin-organize-imports": "^4.0.0",
|
||||||
"prettier-plugin-packagejson": "^2.5.2",
|
"prettier-plugin-packagejson": "^2.5.2",
|
||||||
|
|
|
@ -269,7 +269,7 @@ importers:
|
||||||
version: 6.10.2(eslint@9.16.0)
|
version: 6.10.2(eslint@9.16.0)
|
||||||
eslint-plugin-prettier:
|
eslint-plugin-prettier:
|
||||||
specifier: ^5.2.1
|
specifier: ^5.2.1
|
||||||
version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.16.0))(eslint@9.16.0)(prettier@3.4.1)
|
version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.16.0))(eslint@9.16.0)(prettier@3.4.2)
|
||||||
globals:
|
globals:
|
||||||
specifier: ^15.9.0
|
specifier: ^15.9.0
|
||||||
version: 15.13.0
|
version: 15.13.0
|
||||||
|
@ -283,17 +283,17 @@ importers:
|
||||||
specifier: ^15.2.9
|
specifier: ^15.2.9
|
||||||
version: 15.2.10
|
version: 15.2.10
|
||||||
prettier:
|
prettier:
|
||||||
specifier: ^3.4.1
|
specifier: ^3.4.2
|
||||||
version: 3.4.1
|
version: 3.4.2
|
||||||
prettier-plugin-import-sort:
|
prettier-plugin-import-sort:
|
||||||
specifier: ^0.0.7
|
specifier: ^0.0.7
|
||||||
version: 0.0.7(prettier@3.4.1)
|
version: 0.0.7(prettier@3.4.2)
|
||||||
prettier-plugin-organize-imports:
|
prettier-plugin-organize-imports:
|
||||||
specifier: ^4.0.0
|
specifier: ^4.0.0
|
||||||
version: 4.1.0(prettier@3.4.1)(typescript@5.6.3)
|
version: 4.1.0(prettier@3.4.2)(typescript@5.6.3)
|
||||||
prettier-plugin-packagejson:
|
prettier-plugin-packagejson:
|
||||||
specifier: ^2.5.2
|
specifier: ^2.5.2
|
||||||
version: 2.5.6(prettier@3.4.1)
|
version: 2.5.6(prettier@3.4.2)
|
||||||
qs:
|
qs:
|
||||||
specifier: ^6.13.0
|
specifier: ^6.13.0
|
||||||
version: 6.13.1
|
version: 6.13.1
|
||||||
|
@ -3773,8 +3773,8 @@ packages:
|
||||||
prettier:
|
prettier:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
prettier@3.4.1:
|
prettier@3.4.2:
|
||||||
resolution: {integrity: sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==}
|
resolution: {integrity: sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
@ -6943,10 +6943,10 @@ snapshots:
|
||||||
safe-regex-test: 1.0.3
|
safe-regex-test: 1.0.3
|
||||||
string.prototype.includes: 2.0.1
|
string.prototype.includes: 2.0.1
|
||||||
|
|
||||||
eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.16.0))(eslint@9.16.0)(prettier@3.4.1):
|
eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.16.0))(eslint@9.16.0)(prettier@3.4.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint: 9.16.0
|
eslint: 9.16.0
|
||||||
prettier: 3.4.1
|
prettier: 3.4.2
|
||||||
prettier-linter-helpers: 1.0.0
|
prettier-linter-helpers: 1.0.0
|
||||||
synckit: 0.9.2
|
synckit: 0.9.2
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
|
@ -8309,29 +8309,29 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
fast-diff: 1.3.0
|
fast-diff: 1.3.0
|
||||||
|
|
||||||
prettier-plugin-import-sort@0.0.7(prettier@3.4.1):
|
prettier-plugin-import-sort@0.0.7(prettier@3.4.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
import-sort: 6.0.0
|
import-sort: 6.0.0
|
||||||
import-sort-config: 6.0.0
|
import-sort-config: 6.0.0
|
||||||
import-sort-parser-babylon: 6.0.0
|
import-sort-parser-babylon: 6.0.0
|
||||||
import-sort-parser-typescript: 6.0.0
|
import-sort-parser-typescript: 6.0.0
|
||||||
prettier: 3.4.1
|
prettier: 3.4.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
prettier-plugin-organize-imports@4.1.0(prettier@3.4.1)(typescript@5.6.3):
|
prettier-plugin-organize-imports@4.1.0(prettier@3.4.2)(typescript@5.6.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
prettier: 3.4.1
|
prettier: 3.4.2
|
||||||
typescript: 5.6.3
|
typescript: 5.6.3
|
||||||
|
|
||||||
prettier-plugin-packagejson@2.5.6(prettier@3.4.1):
|
prettier-plugin-packagejson@2.5.6(prettier@3.4.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
sort-package-json: 2.12.0
|
sort-package-json: 2.12.0
|
||||||
synckit: 0.9.2
|
synckit: 0.9.2
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
prettier: 3.4.1
|
prettier: 3.4.2
|
||||||
|
|
||||||
prettier@3.4.1: {}
|
prettier@3.4.2: {}
|
||||||
|
|
||||||
pretty-bytes@5.6.0: {}
|
pretty-bytes@5.6.0: {}
|
||||||
|
|
||||||
|
|
|
@ -176,8 +176,8 @@ function getDataTypeFromQuery(type?: string): DataType {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getSortTypeFromQuery(
|
function getSortTypeFromQuery(
|
||||||
type: string | undefined,
|
|
||||||
fallback: PostSortType,
|
fallback: PostSortType,
|
||||||
|
type?: string,
|
||||||
): PostSortType {
|
): PostSortType {
|
||||||
return type ? (type as PostSortType) : fallback;
|
return type ? (type as PostSortType) : fallback;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue