- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- A "linter standard" is a collection of linter rules with associated severities and configuration.
- Class
- Load all linter standards which support a specified linter.
- Method
- Load all linter standards.
- Method
- Load a linter standard by key.
- Method
- Get linter severities.
- Method
- Get linter configuration.
- Method
- Checks whether the linter standard supports a specified linter.
- Method
- Checks files for unresolved merge conflicts.
- Class
- Method
- Method
- Method
- Method
- Method
- Base class for linters which operate by invoking an external program and parsing results.
- Class
- Map a configuration lint code to an `arc` lint code. Primarily, this is intended for validation, but can also be used to normalize case or otherwise be more permissive in accepted inputs.
- Method
- Method
- Method
- Prepare the path to be added to the command string.
- Method
- Method
- Get the composed flags for the executable, including both mandatory and configured flags.
- Method
- Get the composed executable command, including the interpreter and binary but without flags or paths. This can be used to execute `--version` commands.
- Method
- If a binary version requirement has been specified, compare the version of the configured binary to the required version, and if the binary's version is not supported, throw an exception.
- Method
- Check that the binary and interpreter (if applicable) exist, and throw an exception with a message about how to install them if they do not.
- Method
- Parse the output of the external lint program into objects of class @{class:ArcanistLintMessage} which `arc` can consume. Generally, this means examining the output and converting each warning or error into a message.
- Method
- Set the interpreter, overriding any default.
- Method
- Get the effective interpreter. This method synthesizes configuration and defaults.
- Method
- Return the default interpreter, like "python" or "node". This method is only invoked if @{method:shouldUseInterpreter} has been overridden to return `true`.
- Method
- Return true if this linter should use an interpreter (like "python" or "node") in addition to the script.
- Method
- Override the default binary with a new one.
- Method
- Return the binary or script to execute. This method synthesizes defaults and configuration. You can override the binary with @{method:setBinary}.
- Method
- Set the binary's version requirement.
- Method
- Override default flags with custom flags. If not overridden, flags provided by @{method:getDefaultFlags} are used.
- Method
- Provide default, overridable flags to the linter. Generally these are configuration flags which affect behavior but aren't critical. Flags which are required should be provided in @{method:getMandatoryFlags} instead.
- Method
- Provide mandatory, non-overridable flags to the linter. Generally these are format flags, like `--format=xml`, which must always be given for the output to be usable.
- Method
- Return true to continue when the external linter exits with an error code. By default, linters which exit with an error code are assumed to have failed. However, some linters exit with a specific code to indicate that lint messages were detected.
- Method
- Return a human-readable string describing how to upgrade the linter.
- Method
- Return a human-readable string describing how to install the linter. This is normally something like "Install such-and-such by running `npm install -g such-and-such`.", but will differ from linter to linter.
- Method
- Return the default binary name or binary path where the external linter lives. This can either be a binary name which is expected to be installed in PATH (like "jshint"), or a relative path from the project root (like "resources/support/bin/linter") or an absolute path.
- Method
- Uses `gjslint` to detect errors and potential problems in JavaScript code.
- Class
- Method
- Method
- Method
- C# linter for Arcanist.
- Class
- Method
- Method
- Method
- Method
- Method
- Uses JSHint to detect errors and potential problems in JavaScript code.
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Uses "PHP_CodeSniffer" to detect checkstyle errors in PHP code.
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Does this renderer support applying lint patches?
- Method