]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Add Prettier formatter to the frontend 21819/head
authorTiago Melo <tmelo@suse.com>
Thu, 26 Apr 2018 14:52:27 +0000 (15:52 +0100)
committerTiago Melo <tmelo@suse.com>
Wed, 9 May 2018 10:20:24 +0000 (11:20 +0100)
commit9b3cc51dbed3e0960420a91f746b4139ff545f3c
tree160c2569dbf0fda3ee5148b618c048cf41b8dce2
parentee80c7b2ae79887536b291284cececedf84ded58
mgr/dashboard: Add Prettier formatter to the frontend

This will force the use of prettier on frontend code,
bringing a more consistent formatting to all the code.

The current configuration will apply the prettier formatting,
on all staged files, during the precommit hook.

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/.prettierrc [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/package.json
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/validators/cd-validators.ts
src/pybind/mgr/dashboard/frontend/tslint.json