-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 12.4] [TASK] styleguide: Improve user TSconfig setup (#495)
* [TASK] styleguide: Improve user TSconfig options **No text changes made** - correct indentation - introduce confvals - move large codesnippet to file releases: main, 12.4, 11.5 * Apply suggestions from code review Co-authored-by: Chris Müller <[email protected]> --------- Co-authored-by: lina.wolf <[email protected]> Co-authored-by: Lina Wolf <[email protected]> Co-authored-by: Chris Müller <[email protected]>
- Loading branch information
1 parent
1cc2ee9
commit 4a47430
Showing
2 changed files
with
140 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
Documentation/TSconfig/Documentation/UserTsconfig/_Setup/_user-setup-default.tsconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[backend.user.isAdmin] | ||
# Some settings an administrator might find helpful | ||
setup.default { | ||
recursiveDelete = 1 | ||
copyLevels = 99 | ||
moduleData { | ||
# Defaulting some options of the Template/TypoScript backend module | ||
web_ts { | ||
# Pre-select 'Object browser' instead of 'Constant editor' | ||
function = TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController | ||
# Pre-select 'Setup' instead of 'Constants' | ||
ts_browser_type = setup | ||
# The other settings | ||
ts_browser_const = subst | ||
ts_browser_fixedLgd = 0 | ||
ts_browser_showComments = 1 | ||
} | ||
} | ||
} | ||
[END] |