]> khamidou — GitHub mirrors - arcanist.git/commit
Allow .arclint to configure max line length of text linter
authorPhil Frost <pfrost@macprofessionals.com>
Fri, 9 May 2014 18:31:58 +0000 (11:31 -0700)
committerepriestley <git@epriestley.com>
Fri, 9 May 2014 18:31:58 +0000 (11:31 -0700)
commit88bb9909b956d3a9a2597bb33497cb3c4e245d2f
tree6cc7da3ecccd6fcc7eaaec374a7149d52135f220
parent441e516104d3d74ac6dcb3ba2c1d0d2edd550f55
Allow .arclint to configure max line length of text linter

Test Plan:
Verified manually. Something like this in .arclint:

  "linters" : {
    "text" : {
      "type" : "text",
      "include" : "(\\.(txt|py|html?)$)",
      "text.max-line-length": 200
    }

changes the line length. Something other than an integer there raises an error.

Reviewers: epriestley, #blessed_reviewers, #arcanist

Reviewed By: epriestley, #blessed_reviewers, #arcanist

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D9029
src/lint/linter/ArcanistTextLinter.php