[Koha-bugs] [Bug 36400] Centralize {js, ts, vue} formatting config in .prettierrc.js

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 22 16:07:41 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36400

--- Comment #4 from Brendan Lawlor <blawlor at clamsnet.org> ---
Tested using vscode:

Before the patch:
npx prettier ./koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue

git diff --compact-summary ./koha-tmpl/
intranet-tmpl/prog/js/vue/components/KohaTable.vue
 .../prog/js/vue/components/KohaTable.vue          | 110 +++++++++----------
 1 file changed, 55 insertions(+), 55 deletions(-)

After the patch:
npx prettier -c .prettierrc.js -w
./koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue

Checking formatting...
[warn] Ignored unknown option { editorconfig: "false" }.
[warn] Ignored unknown option { editorconfig: "false" }.
All matched files use Prettier code style!

No changes made to the vue file

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list