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