Page MenuHomePhabricator

Remove deprecated linter configuration
ClosedPublic

Authored by joshuaspence on Jul 21 2014, 9:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 3, 12:59 AM
Unknown Object (File)
Wed, Mar 27, 5:59 AM
Unknown Object (File)
Mar 17 2024, 11:28 PM
Unknown Object (File)
Mar 9 2024, 12:52 AM
Unknown Object (File)
Mar 6 2024, 4:26 AM
Unknown Object (File)
Mar 4 2024, 4:49 PM
Unknown Object (File)
Mar 4 2024, 4:29 PM
Unknown Object (File)
Mar 4 2024, 4:08 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.