From 896117aa0127b5e4b907ee674de0e80d27ef0949 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 13 Apr 2017 13:25:35 +0200 Subject: [PATCH] TASK: Add docs how to lint TypoScript Relates: #54 --- Documentation/source/usage.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/source/usage.rst b/Documentation/source/usage.rst index 0159d9c..2d231cb 100644 --- a/Documentation/source/usage.rst +++ b/Documentation/source/usage.rst @@ -31,6 +31,17 @@ You might want to add ``-p --colors`` to see that something is happening. Also make sure to ignore certain files like libraries or js and css files while running the update. Check out the official docs for how to do so. +Lint TypoScript +--------------- + +To lint TypoScript, include the files in your linting and add the following arguments per file +extension:: + + --extensions=txt/TypoScript,ts/TypoScript + +Make sure to ignore files with same file extension but different meaning, like documentatons, readme +or changelogs. + FAQ ---