public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'elixirdogma.project-root-dir': $this->setProjectRootDir($value); return; } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'rubocop.config': $this->config = $value; return; } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'uberLintRepoPath': $this->setLintRepoPath($value); return; } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'clang-format.style': $this->style = $value; return $this; } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'uber-standard.eslintrc': $this->eslintrc = $value; return; } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'phpcs.standard': $this->standard = $value; return; default: return parent::setLinterConfigurationValue($key, $value); } }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'pylint.config': $this->config = $value; return; default: return parent::setLinterConfigurationValue($key, $value); } }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'lessc.strict-math': $this->strictMath = $value; return; case 'lessc.strict-units': $this->strictUnits = $value; return; } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'jscs.config': $this->config = $value; return; case 'jscs.preset': $this->preset = $value; return; } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'eslint.eslintenv': $this->eslintenv = $value; return; case 'eslint.eslintconfig': $this->eslintconfig = $value; return; } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'config': $working_copy = $this->getEngine()->getWorkingCopy(); $root = $working_copy->getProjectRoot(); $path = $value; if (Filesystem::pathExists($path)) { $this->configPath = $path; return; } $path = Filesystem::resolvePath($path, $root); if (Filesystem::pathExists($path)) { $this->configPath = $path; return; } throw new ArcanistUsageException(pht('None of the configured Scalafmt configs can be located.')); } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'jshint.jshintignore': $this->jshintignore = $value; return; case 'jshint.jshintrc': $this->jshintrc = $value; return; } return parent::setLinterConfigurationValue($key, $value); }
public function setLinterConfigurationValue($key, $value) { switch ($key) { case 'lint-trap.lintignore': $this->lintignore = $value; return; case 'lint-trap.lintrc': $this->lintrc = $value; return; case 'text.max-line-length': $this->setMaxLineLength($value); return; } return parent::setLinterConfigurationValue($key, $value); }