Page MenuHomePhabricator

Arcanist Text Lint: Configuration options for CRLF newlines, charsets etc
Closed, DuplicatePublic

Description

As is, the text linter is very restrictive. The only configuration setting is the max line length it checks for.

However, it also checks for the following, without providing configurability for different coding guidelines of other projects:

  • UNIX newlines
  • ASCII charset without CR (eliminating windows-style CRLF newlines again
  • No tabs
  • LF before EOF
  • No trailing whitespace
  • File-Leading whitespace
  • File-Trailing whitespace
  • no @nocommit

I would like the text linter to be more configurable, to allow a) different, and b) less restrictive rules.
And I would like to contribute some of those changes.

Event Timeline

ite-klass raised the priority of this task from to Needs Triage.
ite-klass updated the task description. (Show Details)
ite-klass added a project: Arcanist.
ite-klass added a subscriber: ite-klass.
chad removed a project: Arcanist.
chad added a subscriber: chad.