[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [smarthome-dev] Proposal: JavaScript coding guidelines
|
Hi Henning,
is it able to add the code formatting rules that fits to "JavaScript
Standard Style" to the formatter used by the Eclipse IDE?
Best regards,
Markus
2017-04-26 15:17 GMT+02:00 Henning Treu <henning.treu@xxxxxxxxxxxxxx>:
> Hi list,
>
> currently the JavaScript in PaperUI does not follow specific code style
> conventions. At least there is no project guidelines defining them and no
> tool support to enforce them. The BasicUI does define linter rules and
> linting is part of the grunt build process.
> For PaperUI I propose to use a predefined set for code style which is known
> as standardjs. The documentation for standardjs can be found here:
> https://standardjs.com/
> It is not only a set of rules but comes with tool support in form of the
> "standard" command. This will report style mismatch and give developers the
> opportunity to auto-format their code.
> Please let me know what you think about this approach in general and the
> code styles defined by standardjs in particular.
>
> Cheers.
> Henning
>
>
>
> _______________________________________________
> smarthome-dev mailing list
> smarthome-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/smarthome-dev