Skip to content

Commit

Permalink
Lint-staged for pug in tikui
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Oct 18, 2024
1 parent ad71602 commit 865fbe0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class TikuiModuleFactory {
//@formatter:off
public JHipsterModule buildModule(JHipsterModuleProperties properties) {
return moduleBuilder(properties)
.preCommitActions(stagedFilesFilter("{src/**/,}*.pug"), preCommitCommands("eslint --fix", "prettier --write"))
.packageJson()
.addDependency(packageName("@tikui/core"), COMMON)
.addDevDependency(packageName("@prettier/plugin-pug"), COMMON)
Expand Down

0 comments on commit 865fbe0

Please sign in to comment.