Page MenuHomePhabricator

Remove deprecated linter configuration
ClosedPublic

Authored by joshuaspence on Jul 21 2014, 9:58 PM.
Tags
None
Referenced Files
F14080992: D10005.diff
Fri, Nov 22, 5:55 PM
F14077934: D10005.id28186.diff
Fri, Nov 22, 1:26 AM
Unknown Object (File)
Thu, Nov 21, 1:51 PM
Unknown Object (File)
Wed, Nov 20, 7:37 PM
Unknown Object (File)
Mon, Nov 18, 4:55 PM
Unknown Object (File)
Tue, Nov 12, 7:45 AM
Unknown Object (File)
Tue, Nov 5, 11:16 AM
Unknown Object (File)
Thu, Oct 31, 7:26 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
Test Failures
Build Status
Buildable 6137
Build 6158: [Placeholder Plan] Wait for 30 Seconds

Unit TestsFailed

TimeTest
2,089 msArcanistXHPASTLinterTestCase::testLinter
856 msArcanistCSSLintLinterTestCase::testLinter
129 msArcanistCSSLintLinterTestCase::testVersion
34 msArcanistChmodLinterTestCase::testLinter
160 msArcanistClosureLinterTestCase::testLinter
View Full Test Results (1 Failed · 48 Passed · 3 Skipped)

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.