Page MenuHomestyx hydra

No OneTemporary

diff --git a/.arclint b/.arclint
index 36ae3b2b29..98a644d3e3 100644
--- a/.arclint
+++ b/.arclint
@@ -1,87 +1,97 @@
{
"exclude": [
"(^externals/)",
"(^webroot/rsrc/externals/)",
"(/__tests__/data/)"
],
"linters": {
"chmod": {
"type": "chmod"
},
"filename": {
"type": "filename"
},
"generated": {
"type": "generated"
},
"javelin": {
"type": "javelin",
"include": "(\\.js$)",
"exclude": [
"(^support/aphlict/)"
]
},
- "jshint": {
+ "jshint-browser": {
"type": "jshint",
"include": "(\\.js$)",
- "jshint.jshintrc": "support/lint/jshintrc"
+ "exclude": [
+ "(^support/aphlict/server/.*\\.js$)"
+ ],
+ "jshint.jshintrc": "support/lint/browser.jshintrc"
+ },
+ "jshint-node": {
+ "type": "jshint",
+ "include": [
+ "(^support/aphlict/server/.*\\.js$)"
+ ],
+ "jshint.jshintrc": "support/lint/node.jshintrc"
},
"json": {
"type": "json",
"include": [
"(^src/docs/book/.*\\.book$)",
"(^support/lint/jshintrc$)",
"(^\\.arcconfig$)",
"(^\\.arclint$)",
"(\\.json$)"
]
},
"merge-conflict": {
"type": "merge-conflict"
},
"nolint": {
"type": "nolint"
},
"phutil-library": {
"type": "phutil-library",
"include": "(\\.php$)"
},
"phutil-xhpast": {
"type": "phutil-xhpast",
"include": "(\\.php$)",
"phutil-xhpast.deprecated.functions": {
"phutil_escape_html": "The phutil_escape_html() function is deprecated. Raw strings passed to phutil_tag() or hsprintf() are escaped automatically."
}
},
"spelling": {
"type": "spelling"
},
"text": {
"type": "text",
"exclude": [
"(^\\.arclint)",
"(^resources/sql/quickstart.sql)"
]
},
"text-without-length": {
"type": "text",
"severity": {
"3": "disabled"
},
"include": [
"(^\\.arclint)",
"(^resources/sql/quickstart.sql)"
]
},
"xhpast": {
"type": "xhpast",
"include": "(\\.php$)",
"severity": {
"16": "advice",
"34": "error"
},
"xhpast.php-version": "5.2.3",
"xhpast.php-version.windows": "5.3.0"
}
}
}
diff --git a/support/lint/jshintrc b/support/lint/browser.jshintrc
similarity index 100%
copy from support/lint/jshintrc
copy to support/lint/browser.jshintrc
diff --git a/support/lint/jshintrc b/support/lint/node.jshintrc
similarity index 88%
rename from support/lint/jshintrc
rename to support/lint/node.jshintrc
index db66e533c0..62ee2d22b5 100644
--- a/support/lint/jshintrc
+++ b/support/lint/node.jshintrc
@@ -1,23 +1,22 @@
{
"bitwise": true,
"curly": true,
"immed": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"undef": true,
"unused": true,
"expr": true,
"loopfunc": true,
"sub": true,
"globals": {
"JX": false,
- "Raphael": false,
"__DEV__": false
},
- "browser": true
+ "node": true
}

File Metadata

Mime Type
text/x-diff
Expires
Wed, Jul 2, 8:34 PM (21 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
165136
Default Alt Text
(3 KB)

Event Timeline