Ref T2039. Contains a small amount of wishful thinking, I'll note it inline.
Details
Details
- Reviewers
joshuaspence btrahan • avive - Maniphest Tasks
- Restricted Maniphest Task
- Commits
- Restricted Diffusion Commit
rP94772689cd31: Further modernize lint documentation
Generated and read documentation.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Just a few minor inlines.
src/docs/user/userguide/arcanist_lint.diviner | ||
---|---|---|
104 | The name of the linter ("sample") doesn't really matter, at least for now. Maybe specify this so that it is clear ("The linter name doesn't matter, so choose something that makes sense to you".) | |
112 | Not related to this specifically, but why do the regular expressions need to be surrounded by parentheses? |
src/docs/user/userguide/arcanist_lint.diviner | ||
---|---|---|
112 | They need to be full regular expressions with flags. You can use "/", but then you have to escape all the slashes in paths. So these are equivalent: "/path\\/to\\/stuff/i" "(path/to/stuff)i" The latter is just easier to read. I'll note this explicitly, though. |
Comment Actions
- Be more clear that keys are human-readable.
- Be more clear about regexp formats.
- Mention that "most" (not "all") linters support "severity".
- Specify arc linters --verbose as the way to get full options (see D9062).