From f734c1fe41a86d4df16259beb5fd68d587fa3bbd Mon Sep 17 00:00:00 2001 From: Mathias Brodala Date: Tue, 6 Dec 2016 09:39:59 +0100 Subject: [PATCH] [BUGFIX] Read tslint.yml in current directory --- src/Helmich/TypoScriptLint/Command/LintCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helmich/TypoScriptLint/Command/LintCommand.php b/src/Helmich/TypoScriptLint/Command/LintCommand.php index ddd3b08..310acd9 100644 --- a/src/Helmich/TypoScriptLint/Command/LintCommand.php +++ b/src/Helmich/TypoScriptLint/Command/LintCommand.php @@ -102,7 +102,7 @@ protected function configure() $this ->setName('lint') ->setDescription('Check coding style for TypoScript file.') - ->addOption('config', 'c', InputOption::VALUE_REQUIRED, 'Configuration file to use.') + ->addOption('config', 'c', InputOption::VALUE_REQUIRED, 'Configuration file to use.', 'tslint.yml') ->addOption('format', 'f', InputOption::VALUE_REQUIRED, 'Output format.', 'text') ->addOption('output', 'o', InputOption::VALUE_REQUIRED, 'Output file ("-" for stdout).', '-') ->addOption(