HomePhabricator

Warn when accessing deprecated lint config

Description

Warn when accessing deprecated lint config

Summary:
Ref T2039. Addresses two issues:

  • Issues a warning for use of config which is deprecated by .arclint.
  • We no longer require an engine to be present for these linters, so arc linters doesn't fatal if they aren't configured.

Test Plan:

  • Ran arc linters in a repo with no JSHint.
  • Ran arc linters in a repo with junk in .arcconfig and got a warning when it was read. Verified it still took effect.

Reviewers: chad, btrahan, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T2039

Differential Revision: https://secure.phabricator.com/D9058

Details

Provenance
epriestleyAuthored on
epriestleyPushed on May 12 2014, 1:39 AM
Reviewer
joshuaspence
Differential Revision
D9058: Warn when accessing deprecated lint config
Parents
rARC377c585752b6: Allow linters that extend `ArcanistExternalLinter` to customize the file…
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task

Event Timeline