mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Update Phabricator documentation of script-and-regex linter for behavioral change
Summary: Ref T10124. Corresponding doc update. Test Plan: COPY / PASTE Reviewers: chad Reviewed By: chad Maniphest Tasks: T10124 Differential Revision: https://secure.phabricator.com/D15001
This commit is contained in:
parent
39a87f6000
commit
77ac52c180
1 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,8 @@ The regex should capture these named patterns with `(?P<name>...)`:
|
||||||
not specified, defaults to the linted file. It is generally not necessary
|
not specified, defaults to the linted file. It is generally not necessary
|
||||||
to capture this unless the linter can raise messages in files other than
|
to capture this unless the linter can raise messages in files other than
|
||||||
the one it is linting.
|
the one it is linting.
|
||||||
- `line` (optional) The line number of the message.
|
- `line` (optional) The line number of the message. If no text is
|
||||||
|
captured, the message is assumed to affect the entire file.
|
||||||
- `char` (optional) The character offset of the message.
|
- `char` (optional) The character offset of the message.
|
||||||
- `offset` (optional) The byte offset of the message. If captured, this
|
- `offset` (optional) The byte offset of the message. If captured, this
|
||||||
supersedes `line` and `char`.
|
supersedes `line` and `char`.
|
||||||
|
|
Loading…
Reference in a new issue