HomePhabricator

Add a native JSON linter.

Description

Add a native JSON linter.

Summary:
Ref T5297. Utilize PhutilJSONParser to create a native JSON linter (native in that it is pure PHP with no external dependencies).

Since JsonLint is literally a PHP port of jsonlint, I figured that we should also deprecate ArcanistJSONLintLinter. ArcanistJSONLinter should behave identically to ArcanistJSONLintLinter.

Depends on D9634.

Test Plan: Ran the ArcanistJSONLintLinter unit tests.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5297

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jun 21 2014, 8:41 PM
Reviewer
Blessed Reviewers
Differential Revision
D9628: Add a native JSON linter.
Parents
rARCa428f22cbf07: Don't throw an exception if no configuration is set for linter tests
Branches
Unknown
Tags
Unknown
Tasks
T5297: Create a native JSON parser.

Event Timeline