Page MenuHomePhabricator

Remove deprecated linter configuration
ClosedPublic

Authored by joshuaspence on Jul 21 2014, 9:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 8:42 PM
Unknown Object (File)
Fri, Nov 22, 11:42 PM
Unknown Object (File)
Fri, Nov 22, 11:31 PM
Unknown Object (File)
Fri, Nov 22, 11:11 PM
Unknown Object (File)
Fri, Nov 22, 5:55 PM
Unknown Object (File)
Fri, Nov 22, 1:26 AM
Unknown Object (File)
Thu, Nov 21, 1:51 PM
Unknown Object (File)
Wed, Nov 20, 7:37 PM

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 4385
Build 4398: [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.