Class ArcanistLinter
This class is stable: you may safely extend it.
Implements lint rules, like syntax checks for a specific language.
Tasks
Methods
public addData($path, $data)
| parameters | wild | $path | |
| wild | $data | |
| return | wild | | |
This method is not documented.
protected addLintMessage(ArcanistLintMessage $message)
| parameters | ArcanistLintMessage | $message | |
| return | wild | | |
This method is not documented.
public addPath($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
public canRun()
This method is not documented.
public didRunLinters()
This method is not documented.
public didStopAllLinters()
This method is not documented.
public getActivePath()
This method is not documented.
public getCacheGranularity()
This method is not documented.
public getCacheVersion()
This method is not documented.
protected getConfig($key, $default = null)
| parameters | wild | $key | |
| wild | $default | |
| return | wild | | |
This method is not documented.
protected getData($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
protected getEngine()
This method is not documented.
public getLintMessageFullCode($short_code)
| parameters | wild | $short_code | |
| return | wild | | |
This method is not documented.
public getLintMessageName($code)
| parameters | wild | $code | |
| return | wild | | |
This method is not documented.
public getLintMessageSeverity($code)
| parameters | wild | $code | |
| return | wild | | |
This method is not documented.
public getLintMessages()
This method is not documented.
public getLintNameMap()
This method is not documented.
public getLintSeverityMap()
This method is not documented.
public abstract getLinterName()
This method is not documented.
public getOtherLocation($offset, $path = null)
| parameters | wild | $offset | |
| wild | $path | |
| return | wild | | |
This method is not documented.
public getPaths()
This method is not documented.
public isBinaryFile($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
protected isCodeEnabled($code)
| parameters | wild | $code | |
| return | wild | | |
This method is not documented.
public isMessageEnabled($code)
| parameters | wild | $code | |
| return | wild | | |
This method is not documented.
public abstract lintPath($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
protected raiseLintAtLine($line, $char, $code, $desc, $original = null, $replacement = null)
| parameters | wild | $line | |
| wild | $char | |
| wild | $code | |
| wild | $desc | |
| wild | $original | |
| wild | $replacement | |
| return | wild | | |
This method is not documented.
protected raiseLintAtOffset($offset, $code, $desc, $original = null, $replacement = null)
| parameters | wild | $offset | |
| wild | $code | |
| wild | $desc | |
| wild | $original | |
| wild | $replacement | |
| return | wild | | |
This method is not documented.
protected raiseLintAtPath($code, $desc)
| parameters | wild | $code | |
| wild | $desc | |
| return | wild | | |
This method is not documented.
public setConfig(array $config)
| parameters | array | $config | |
| return | wild | | |
This method is not documented.
public setCustomSeverityMap(array $map)
| parameters | array | $map | |
| return | wild | | |
This method is not documented.
public setEngine(ArcanistLintEngine $engine)
| parameters | ArcanistLintEngine | $engine | |
| return | wild | | |
This method is not documented.
public setPaths(array $paths)
| parameters | array | $paths | |
| return | wild | | |
This method is not documented.
public stopAllLinters()
This method is not documented.
public willLintPath($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
public abstract willLintPaths(array $paths)
| parameters | array | $paths | |
| return | wild | | |
This method is not documented.