Skip to content

Commit

Permalink
[FIX] Fix TS lint by exclude template path configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fnagel committed Nov 30, 2023
1 parent 5b7ffff commit 5d8a9fd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Configuration/TSconfig/Page.tsconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@ TCEFORM.tx_t3blog_post {

# Hide tt_content elements in list view
[traverse(page, "module") == "t3blog"]
mod.web_list.table.tt_content.hideTable = 1
mod.web_list.table.tt_content.hideTable = 1
[global]

# Add template path for dashboard widgets
templates.typo3/cms-dashboard.1700145317 = felixnagel/t3extblog:Resources/Private
2 changes: 2 additions & 0 deletions Configuration/TSconfig/Template.tsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Add template path for dashboard widgets
templates.typo3/cms-dashboard.1700145317 = felixnagel/t3extblog:Resources/Private
8 changes: 8 additions & 0 deletions typoscript-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ paths:
- Configuration/TypoScript
- Configuration/TSconfig

filePatterns:
- "*.typoscript"
- "*.tsconfig"

excludePatterns:
# @todo Fix this for TS linter, see https://github.com/martin-helmich/typo3-typoscript-lint/issues/175
- "Template.tsconfig"

sniffs:
- class: Indentation
parameters:
Expand Down

0 comments on commit 5d8a9fd

Please sign in to comment.