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:
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"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user