This repository is a simple Gulp example for adding linters for TYPO3.
At first, clone this repository to the location of your choice. Then install the required dependencies by:
composer install
npm install
The repository assumes, that there is a TYPO3 installation under web. According paths will use the web folder.
Having all setup you can use the following commands (according to gulpfile.js):
Starts fluidlint to lint Fluid templates
gulp lint-fluid
Starts the TypoScript linter to check TypoScript files
gulp lint-typoscript
To start all tasks call "gulp"
gulp