Skip to content

Commit

Permalink
chore(deps): upgrade to prettier 3.5 on jhipster-lite engine and enab…
Browse files Browse the repository at this point in the history
…le experimentalOperatorPosition at start of line
  • Loading branch information
murdos committed Feb 9, 2025
1 parent 4cdb3d9 commit da79817
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 21 deletions.
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ printWidth: 140
singleQuote: true
tabWidth: 2
useTabs: false
experimentalOperatorPosition: start

plugins:
- '@prettier/plugin-xml'
Expand Down
8 changes: 4 additions & 4 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 @@ -85,7 +85,7 @@
"lint-staged": "15.4.3",
"npm-run-all2": "7.0.2",
"postcss-scss": "4.0.9",
"prettier": "3.4.2",
"prettier": "3.5.0",
"prettier-plugin-gherkin": "3.1.1",
"prettier-plugin-java": "2.6.7",
"prettier-plugin-organize-imports": "4.1.0",
Expand Down
6 changes: 3 additions & 3 deletions src/main/webapp/app/module/domain/landscape/Landscape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ export class Landscape {

private isModuleSelectable(dependenciesSelection: LandscapeSelectionTree, module: LandscapeModule): boolean {
return (
dependenciesSelection.isSelectable() &&
this.hasNoIncompatibleSelectedModuleInFeature(module.slug()) &&
this.hasNoIncompatibleDependency(module)
dependenciesSelection.isSelectable()
&& this.hasNoIncompatibleSelectedModuleInFeature(module.slug())
&& this.hasNoIncompatibleDependency(module)
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,14 @@ export default defineComponent({

const elementFlavor = (module: LandscapeElementId): string => {
return (
operationInProgressClass() +
selectionHighlightClass(module) +
unselectionHighlightClass(module) +
selectionClass(module) +
applicationClass(module) +
flavorClass() +
anchorPointClass(module) +
searchHighlightClass(module)
operationInProgressClass()
+ selectionHighlightClass(module)
+ unselectionHighlightClass(module)
+ selectionClass(module)
+ applicationClass(module)
+ flavorClass()
+ anchorPointClass(module)
+ searchHighlightClass(module)
);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ export default defineComponent({

const disabledApplication = (slug: string): boolean => {
return (
operationInProgress.value ||
empty(folderPath.value) ||
getModule(slug).properties.some(property => property.mandatory && isNotSet(property.key) && empty(property.defaultValue))
operationInProgress.value
|| empty(folderPath.value)
|| getModule(slug).properties.some(property => property.mandatory && isNotSet(property.key) && empty(property.defaultValue))
);
};

Expand Down
5 changes: 3 additions & 2 deletions src/test/resources/projects/react-app/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
font-family:
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

0 comments on commit da79817

Please sign in to comment.