TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.

JavaScript Coding Guidelines

The rules suggested in the Airbnb JavaScript Style Guide should be used throughout the TYPO3 CMS core for JavaScript files.

Note that the TYPO3 core typically uses TypeScript now and automatically converts it to JavaScript.

Directories and Filenames

  • JavaScript files should have the file ending .js

  • JavaScript files are located under <extension>/Resources/Public/JavaScript/


  • Use spaces, not TABs.

  • Indent with 2 spaces.

  • Use single quotes ('') for strings.

  • Prefix jQuery object variables with a $.

More Information