1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-12 18:02:40 +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": [ "exclude": [
"(^externals/)", "(^externals/)",
"(^webroot/rsrc/externals/)", "(^webroot/rsrc/externals/(?!javelin/))",
"(/__tests__/data/)" "(/__tests__/data/)"
], ],
"linters": { "linters": {
@ -25,14 +25,16 @@
"type": "jshint", "type": "jshint",
"include": "(\\.js$)", "include": "(\\.js$)",
"exclude": [ "exclude": [
"(^support/aphlict/server/.*\\.js$)" "(^support/aphlict/server/.*\\.js$)",
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
], ],
"jshint.jshintrc": "support/lint/browser.jshintrc" "jshint.jshintrc": "support/lint/browser.jshintrc"
}, },
"jshint-node": { "jshint-node": {
"type": "jshint", "type": "jshint",
"include": [ "include": [
"(^support/aphlict/server/.*\\.js$)" "(^support/aphlict/server/.*\\.js$)",
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
], ],
"jshint.jshintrc": "support/lint/node.jshintrc" "jshint.jshintrc": "support/lint/node.jshintrc"
}, },