mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-25 05:36:12 +01:00
[CLEANUP] Adapt the TypoScript lint settings to the .editorconfig settings (#179)
Like in the Core, TypoScript needs to be indented with 2 spaces, not 4 spaces. Also reformat the TypoScript files accordingly.
This commit is contained in:
parent
373c7965b4
commit
0d09a2f0ac
4 changed files with 37 additions and 36 deletions
|
@ -4,7 +4,7 @@ sniffs:
|
||||||
class: Indentation
|
class: Indentation
|
||||||
parameters:
|
parameters:
|
||||||
indentConditions: true
|
indentConditions: true
|
||||||
indentPerLevel: 4
|
indentPerLevel: 2
|
||||||
useSpaces: true
|
useSpaces: true
|
||||||
-
|
-
|
||||||
class: DeadCode
|
class: DeadCode
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
page {
|
page {
|
||||||
includeCSS {
|
includeCSS {
|
||||||
tea = EXT:tea/Resources/Public/Css/Main.css
|
tea = EXT:tea/Resources/Public/Css/Main.css
|
||||||
}
|
}
|
||||||
includeJSFooter {
|
|
||||||
tea = EXT:tea/Resources/Public/JavaScript/Main.js
|
includeJSFooter {
|
||||||
}
|
tea = EXT:tea/Resources/Public/JavaScript/Main.js
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
plugin.tx_tea {
|
plugin.tx_tea {
|
||||||
view {
|
view {
|
||||||
# cat=plugin.tx_tea/file; type=string; label=Path to template root (FE)
|
# cat=plugin.tx_tea/file; type=string; label=Path to template root (FE)
|
||||||
templateRootPath = EXT:tea/Resources/Private/Templates/
|
templateRootPath = EXT:tea/Resources/Private/Templates/
|
||||||
# cat=plugin.tx_tea/file; type=string; label=Path to template partials (FE)
|
# cat=plugin.tx_tea/file; type=string; label=Path to template partials (FE)
|
||||||
partialRootPath = EXT:tea/Resources/Private/Partials/
|
partialRootPath = EXT:tea/Resources/Private/Partials/
|
||||||
# cat=plugin.tx_tea/file; type=string; label=Path to template layouts (FE)
|
# cat=plugin.tx_tea/file; type=string; label=Path to template layouts (FE)
|
||||||
layoutRootPath = EXT:tea/Resources/Private/Layouts/
|
layoutRootPath = EXT:tea/Resources/Private/Layouts/
|
||||||
}
|
}
|
||||||
|
|
||||||
persistence {
|
persistence {
|
||||||
# cat=plugin.tx_tea//a; type=string; label=Default storage PID
|
# cat=plugin.tx_tea//a; type=string; label=Default storage PID
|
||||||
storagePid =
|
storagePid =
|
||||||
# cat=plugin.tx_tea//a; type=int; label=UID of the page/folder where all new records will be created
|
# cat=plugin.tx_tea//a; type=int; label=UID of the page/folder where all new records will be created
|
||||||
newRecordStoragePid =
|
newRecordStoragePid =
|
||||||
}
|
}
|
||||||
|
|
||||||
settings {
|
settings {
|
||||||
# cat=plugin.tx_tea//a; type=int; label=UID of the page with the single view
|
# cat=plugin.tx_tea//a; type=int; label=UID of the page with the single view
|
||||||
singleViewPageUid =
|
singleViewPageUid =
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
plugin.tx_tea {
|
plugin.tx_tea {
|
||||||
view {
|
view {
|
||||||
templateRootPath = {$plugin.tx_tea.view.templateRootPath}
|
templateRootPath = {$plugin.tx_tea.view.templateRootPath}
|
||||||
partialRootPath = {$plugin.tx_tea.view.partialRootPath}
|
partialRootPath = {$plugin.tx_tea.view.partialRootPath}
|
||||||
layoutRootPath = {$plugin.tx_tea.view.layoutRootPath}
|
layoutRootPath = {$plugin.tx_tea.view.layoutRootPath}
|
||||||
}
|
}
|
||||||
|
|
||||||
persistence {
|
persistence {
|
||||||
storagePid = {$plugin.tx_tea.persistence.storagePid}
|
storagePid = {$plugin.tx_tea.persistence.storagePid}
|
||||||
}
|
}
|
||||||
|
|
||||||
settings {
|
settings {
|
||||||
singleViewPageUid = {$plugin.tx_tea.settings.singleViewPageUid}
|
singleViewPageUid = {$plugin.tx_tea.settings.singleViewPageUid}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue