mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +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:
parent
ad9af106ee
commit
d0e4e96041
1 changed files with 5 additions and 3 deletions
8
.arclint
8
.arclint
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue