Results: Define Coding Guidelines for JavaScript

(Tymoteusz Motylewski) #1


Currently we have no guidelines for TYPO3 Core JS files. This result in inconsistency in how code is formatted and makes JS harder to maintain and review new changes.

Unfortunately there is no “One standard to rule them all” in JS world like PSR2 in PHP. One of the most popular standards is the AirBnB ruleset:
I propose to use this standard for JS which is written by hand.

For TypeScript I propose similar rules

The discussion about this proposal was hosted here: Basic JavaScript CGLs


  • Let’s get Airbnb rules for JS and ExcelMicro rules for TypeScript
  • I prefer different rule set
  • I don’t care or don’t have an opinion

0 voters

Basic JavaScript CGLs
(system) #2

This topic was automatically closed after 7 days. New replies are no longer allowed.