https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33625 Bug ID: 33625 Summary: Enforce formatting on vue js files Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: ERM Assignee: jonathan.druart+koha@gmail.com Reporter: jonathan.druart+koha@gmail.com CC: jonathan.druart+koha@gmail.com, jonathan.field@ptfs-europe.com, martin.renvoize@ptfs-europe.com, matt.blenkinsop@ptfs-europe.com, pedro.amorim@ptfs-europe.com We have a pre-commit git hook, a QA test and an unit test (in xt/vue_tidy.t) to make sure .vue files will always be correctly formatted, but we don't have anything for the .js and .ts files that were pretty at the beginning but are no longer. It should be: t/cypress/**/*.ts koha-tmpl/intranet-tmpl/prog/js/vue/*.js koha-tmpl/intranet-tmpl/prog/js/vue/**/*.js (maybe exclude dist?) With the following command: yarn run prettier --trailing-comma es5 --arrow-parens avoid --write FILES -- You are receiving this mail because: You are watching all bug changes.