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: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected],
[email protected],
[email protected],
[email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/