Skip to content

Commit

Permalink
[stable-4.7] Bump prettier from 2.8.8 to 3.0.1 (#4100)
Browse files Browse the repository at this point in the history
* [stable-4.7] Bump prettier from 2.8.8 to 3.0.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.8...3.0.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* reenable sort imports plugin, run prettier

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Hradil <[email protected]>
  • Loading branch information
dependabot[bot] and himdel authored Aug 7, 2023
1 parent c7d4768 commit 38400d0
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ importOrder:
- "^src/"
- "^[./]"
importOrderSortSpecifiers: true
plugins:
- '@trivago/prettier-plugin-sort-imports'
27 changes: 21 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"monaco-editor-webpack-plugin": "^7.1.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.27",
"prettier": "^2.8.8",
"prettier": "^3.0.1",
"sass": "^1.64.2",
"sass-loader": "^13.3.2",
"source-map-loader": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/numeric-label/numeric-label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const label = (count, type) =>
one: 'Dependency',
other: 'Dependencies',
}),
}[type] || type);
})[type] || type;

export const CollectionNumericLabel = ({ count, newline, type }: ICNLProps) => (
<NumericLabel number={count} newline={newline} label={label(count, type)} />
Expand Down
2 changes: 1 addition & 1 deletion src/containers/ansible-remote/detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const AnsibleRemoteDetail = PageWithTabs<AnsibleRemoteType>({
({
details: <DetailsTab item={item} actionContext={actionContext} />,
access: <RemoteAccessTab item={item} actionContext={actionContext} />,
}[tab]),
})[tab],
tabs,
tabUpdateParams: (p) => {
delete p.group;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/ansible-repository/detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const AnsibleRepositoryDetail = PageWithTabs<AnsibleRepositoryType>({
'repository-versions': (
<RepositoryVersionsTab item={item} actionContext={actionContext} />
),
}[tab]),
})[tab],
tabs,
tabUpdateParams: (p) => {
delete p.repositoryVersion;
Expand Down

0 comments on commit 38400d0

Please sign in to comment.