Page MenuHomePhabricator

Remove deprecated linter configuration
ClosedPublic

Authored by joshuaspence on Jul 21 2014, 9:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 6:42 PM
Unknown Object (File)
Wed, Dec 18, 1:34 AM
Unknown Object (File)
Tue, Dec 17, 10:33 PM
Unknown Object (File)
Tue, Dec 17, 10:21 PM
Unknown Object (File)
Sun, Dec 15, 9:40 PM
Unknown Object (File)
Thu, Dec 12, 11:34 AM
Unknown Object (File)
Thu, Dec 12, 7:49 AM
Unknown Object (File)
Thu, Dec 12, 2:54 AM

Details

Summary

Removes the deprecated method of configuring linters (via the .arcconfig file). There is one main caveat here:

  • There is currently no convenient method by which to change the path for an external linter (T5057). This means that there is no direct replacement for the deprecated lint.ruby.prefix configuration. The workaround is to symlink these binaries into arcanist/externals/bin.
Test Plan

Wait a sufficient amount of time before landing this.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 6163
Build 6184: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to [LATER] Remove deprecated linter configuration.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

@joshuaspence , the deprecated configuration options you've removed allowed to configure external linters, but now there is now to do it, e.g. specify standard for PHPCS linter. Maybe you should add support for these option in .arclint file instead?

joshuaspence retitled this revision from [LATER] Remove deprecated linter configuration to Remove deprecated linter configuration.Jan 26 2015, 4:28 AM

@joshuaspence, is there alternative to these deprecated options. I'm especially interested with PHPCS linter (see my previous comment)?

@joshuaspence, is there alternative to these deprecated options. I'm especially interested with PHPCS linter (see my previous comment)?

See D11511.

Retain default flags for cppcheck

epriestley edited edge metadata.
This revision is now accepted and ready to land.May 19 2015, 1:28 PM

Remove deprecated switch hook configuration

This revision was automatically updated to reflect the committed changes.