Task #55579

Epic #80535: Leftover tasks about javascript in TYPO3 Backend

Create Coding Guideline for JavaScript

Added by Daniel Siepmann over 6 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Should have
Category:
Documentation
Target version:
-
Start date:
2017-11-02
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:


Subtasks

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

History

#1 Updated by Benni Mack about 5 years ago

  • Target version set to 7 LTS

#2 Updated by Riccardo De Contardi almost 5 years ago

  • Category set to Documentation

#3 Updated by Benni Mack almost 5 years ago

  • Target version deleted (7 LTS)

#4 Updated by Riccardo De Contardi over 3 years ago

  • Parent task changed from #55575 to #80535

#5 Updated by Markus Klein about 3 years ago

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

#6 Updated by Frank Naegler almost 3 years ago

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

#7 Updated by Tymoteusz Motylewski almost 3 years ago

The core decided to go with AirBnB style for JS.
https://decisions.typo3.org/t/basic-javascript-cgls/292/17

#8 Updated by Tymoteusz Motylewski almost 3 years ago

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

#9 Updated by Tymoteusz Motylewski almost 3 years ago

FYI, here you can find a config file for PHPStorm you can import to have both PHP and JS CGL settings correctly set.
https://github.com/macopedia/typo3_cgl_helpers

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 12 months ago

CGL for JavaScript + Typescript have been added to CGL chapter of TYPO3 Explained

I suggest to close here and continue in "TYPO3 Explained" if something is still missing.

#11 Updated by Sybille Peters 12 months ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF