Task #55579

Epic #80535: Leftover tasks about javascript in TYPO3 Backend

Create Coding Guideline for JavaScript

Added by Daniel Siepmann over 5 years ago. Updated over 1 year ago.

In Progress
Should have
Target version:
Start date:
Due date:
% Done:


TYPO3 Version:
PHP Version:
Sprint Focus:


Task #82900: Set editorconfig indent style for JSClosedTymoteusz Motylewski

Related issues

Related to TYPO3 Core - Task #82935: Apply JS CGL on svg tree JS files Closed 2017-11-06


#1 Updated by Benni Mack almost 4 years ago

  • Target version set to 7 LTS

#2 Updated by Riccardo De Contardi over 3 years ago

  • Category set to Documentation

#3 Updated by Benni Mack over 3 years ago

  • Target version deleted (7 LTS)

#4 Updated by Riccardo De Contardi over 2 years ago

  • Parent task changed from #55575 to #80535

#5 Updated by Markus Klein over 1 year ago

  • Description updated (diff)
  • TYPO3 Version changed from 6.2 to 9

#6 Updated by Frank Naegler over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to Tymoteusz Motylewski

#7 Updated by Tymoteusz Motylewski over 1 year ago

The core decided to go with AirBnB style for JS.

#8 Updated by Tymoteusz Motylewski over 1 year ago

  • Related to Task #82935: Apply JS CGL on svg tree JS files added

#9 Updated by Tymoteusz Motylewski over 1 year ago

FYI, here you can find a config file for PHPStorm you can import to have both PHP and JS CGL settings correctly set.

I've also described how to setup detailed JS inspections there.

Please play with it and give feedback. If you will be happy with this approach, I will add it to the official docs.

#10 Updated by Sybille Peters over 1 year ago

There is also an issue for JavaScript CGL in the "Core API" documentation project on github (the CGL docs have moved to the "Core API" doc): https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-CoreApi/issues/218

If the solution for configuring Phpstorm still works, it would be great if someone could update the "Contribution guide" (or ping me on slack):

I started writing setup information for Phpstorm but so far I have not really setup the JavaScript Codestyle in Phpstorm yet, so far the docs for CGL / JavaScript / Phpstorm in the "Contribution Guide" is just a stub. But let me know if I can be of help with testing stuff.

If this is handled in the docs and the corresponding github issues, this issue can be closed, I think.

Also available in: Atom PDF