TSconfig Coding Guidelines

TSconfig files use TypoScript syntax.

Directory and File Names

  • Files have the ending .tsconfig

The following directory names are not mandatory, but recommended:

  • TSconfig files are located in the directory <extension>/Configuration/TsConfig
  • Page TSconfig files are located in the directory <extension>/Configuration/TsConfig/Page
  • User TSconfig files are located in the directory <extension>/Configuration/TsConfig/User
  • Configuration for adding content elements to new content element wizard are located in the file <extension>/Configuration/TsConfig/Page/Mod/Wizards/NewContentElement.tsconfig

Format

  • Use spaces, not tabs
  • Indent with 2 spaces per indent level

See .editorconfig in core.

More Information

  • See Setup IDE / Editor in this manual for information about setting up your Editor / IDE to adhere to the coding guidelines.
  • t3tsconfig:start