pht('Parse Error'), ); } protected function canCustomizeLintSeverities() { return false; } public function lintPath($path) { $data = $this->getData($path); try { id(new PhutilJSONParser())->parse($data); } catch (PhutilJSONParserException $ex) { $this->raiseLintAtLine( $ex->getSourceLine(), $ex->getSourceChar(), self::LINT_PARSE_ERROR, $ex->getMessage()); } } }