Task #55579
closedEpic #80535: Leftover tasks about javascript in TYPO3 Backend
Create Coding Guideline for JavaScript
100%
Description
- http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartV/CodingGuideLines/JavaScript.html
- http://docs.typo3.org/neos/TYPO3NeosDocumentation/DeveloperGuide/UserInterface/JavaScriptStyleGuide.html
- http://www.jslint.com/lint.html
- http://www.jshint.com
See also: https://decisions.typo3.org/t/basic-javascript-cgls/292
Updated by Riccardo De Contardi almost 7 years ago
- Parent task changed from #55575 to #80535
Updated by Markus Klein over 6 years ago
- Description updated (diff)
- TYPO3 Version changed from 6.2 to 9
Updated by Frank Nägler over 6 years ago
- Status changed from New to In Progress
- Assignee set to Tymoteusz Motylewski
Updated by Tymoteusz Motylewski over 6 years ago
The core decided to go with AirBnB style for JS.
https://decisions.typo3.org/t/basic-javascript-cgls/292/17
Updated by Tymoteusz Motylewski over 6 years ago
- Related to Task #82935: Apply JS CGL on svg tree JS files added
Updated by Tymoteusz Motylewski over 6 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.
Updated by Sybille Peters over 4 years 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.
Updated by Sybille Peters over 4 years ago
- Status changed from In Progress to Closed