[Project][Codeformat] Added prettier as partial formatter for JS 79/203179/2
authorPiotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
Wed, 10 Apr 2019 09:00:29 +0000 (11:00 +0200)
committerPiotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
Wed, 10 Apr 2019 10:21:29 +0000 (12:21 +0200)
commit4a4d1f96504fa825a4932ce58a80bb2e967b3fcb
tree8afe1fcc0156955716498f942d37cef8bf2dcaee
parentf6a27a0ad1d9d4c0be606a1ce81db00c0188d895
[Project][Codeformat] Added prettier as partial formatter for JS

[Feature] Existing solution check the format using eslint and fix
some issues with predefined rules (which match the requirements
of review.tizen.org CodingRule_Auto bot rules.
However the tool checks the validity, it does not provide auto
formating of too long lines issues.
To ensure such feature, the new tool was introduced and executed before
eslint validation.
Thanks to prettier, the line breaks are unified and handled the same
way in whole project.

Change-Id: I077036521307ef28fda5388ecab01b8d850ad3e3
tools/codestyle/js_eslint_formatter.sh
tools/codestyle/prettier.config.js [new file with mode: 0644]