Skip to content

Commit

Permalink
adjust prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Oct 31, 2024
1 parent e3002be commit 185fd78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions generators/ionic/generator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ export default class extends BaseApplicationGenerator {

get [BaseApplicationGenerator.POST_WRITING]() {
return this.asPostWritingTaskGroup({
addPrettierConfig({ source }) {
source.mergePrettierConfig({
overrides: [{ files: '*.html', options: { parser: 'angular' } }],
});
},
customizePackageJson({ application }) {
const { baseName } = this.jhipsterConfig;
this.packageJson.merge({
Expand Down

0 comments on commit 185fd78

Please sign in to comment.