Page MenuHomePhabricator

Define a seperate JSHint configuration for NodeJS files
ClosedPublic

Authored by joshuaspence on Dec 30 2014, 10:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 11:34 AM
Unknown Object (File)
Sun, Dec 8, 2:25 PM
Unknown Object (File)
Sat, Dec 7, 7:50 AM
Unknown Object (File)
Thu, Dec 5, 6:19 PM
Unknown Object (File)
Thu, Dec 5, 7:24 AM
Unknown Object (File)
Tue, Dec 3, 4:35 PM
Unknown Object (File)
Tue, Dec 3, 4:02 PM
Unknown Object (File)
Fri, Nov 29, 6:56 AM
Subscribers

Details

Summary

Currently, we assume that all JavaScript files are for use in a browser. This is not true for the NodeJS Aphlict server code. Split the current JSHint configuration into jshint-browser and jshint-node.

Test Plan

arc lint

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Define a seperate JSHint configuration for NodeJS files.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Dec 30 2014, 10:59 AM
epriestley edited edge metadata.

This interacted with D11069, yell if I got the merge wrong.

This revision now requires changes to proceed.Dec 30 2014, 11:01 AM
epriestley edited edge metadata.

Whoops, didn't mean to request changes.

This revision is now accepted and ready to land.Dec 30 2014, 11:01 AM
This revision was automatically updated to reflect the committed changes.

LGTM. I could've landed it myself (unless you've changed your policies lately I guess).