Critical PHP security release (PHP2Shell): what TYPO3 site owners must do now
Security
Are you looking for How to Implement TypoScript Lint in TYPO3? For better TYPO3 code quality, always pass your TypoScript code with the below lint.
// Globally install TypoScript lint
composer global require helmich/typo3-typoscript-lint
// Project wise install TypoScript lint
composer require helmich/typo3-typoscript-lint // Create .tslint.yaml at your root of project
paths:
- Configuration
filePatterns:
- "*.typoscript"
sniffs:
- class: Indentation
parameters:
indentConditions: true
- class: RepeatingRValue
disabled: true
- class: DeadCode
disabled: true // Run TypoScript Lint
/home/nitsan/.composer/vendor/bin/typoscript-lint -c .tslint.yaml
Keval Pandya
TYPO3 Team Leader at NITSAN and T3Planet, Love TYPO3!
More From Author