1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00

Lint the webroot/rsrc/externals/javelin directory

Summary: Fixes T6953. As discussed, this directory //should// be linted.

Test Plan: Ran `arc lint` on a file in `webroot/rsrc/externals/javelin` and saw linter errors.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6953

Differential Revision: https://secure.phabricator.com/D11375
This commit is contained in:
Joshua Spence 2015-01-14 07:07:46 +11:00
parent ad9af106ee
commit d0e4e96041

View file

@ -1,7 +1,7 @@
{
"exclude": [
"(^externals/)",
"(^webroot/rsrc/externals/)",
"(^webroot/rsrc/externals/(?!javelin/))",
"(/__tests__/data/)"
],
"linters": {
@ -25,14 +25,16 @@
"type": "jshint",
"include": "(\\.js$)",
"exclude": [
"(^support/aphlict/server/.*\\.js$)"
"(^support/aphlict/server/.*\\.js$)",
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
],
"jshint.jshintrc": "support/lint/browser.jshintrc"
},
"jshint-node": {
"type": "jshint",
"include": [
"(^support/aphlict/server/.*\\.js$)"
"(^support/aphlict/server/.*\\.js$)",
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
],
"jshint.jshintrc": "support/lint/node.jshintrc"
},