allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [30/46] allura git commit: [#7920] Add configured jshint and jscs
Date Fri, 16 Oct 2015 17:07:26 GMT
[#7920] Add configured jshint and jscs


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/cad92456
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/cad92456
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/cad92456

Branch: refs/heads/db/7919
Commit: cad9245650609f4bc663e389a4e4a2adf894594d
Parents: c456344
Author: Heith Seewald <hseewald@hsmb.local>
Authored: Tue Oct 6 03:28:03 2015 -0400
Committer: Heith Seewald <hseewald@hsmb.local>
Committed: Thu Oct 15 15:00:17 2015 -0400

----------------------------------------------------------------------
 .jscsrc   |  9 +++++++++
 .jshintrc | 14 ++++++++++++++
 2 files changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/cad92456/.jscsrc
----------------------------------------------------------------------
diff --git a/.jscsrc b/.jscsrc
new file mode 100644
index 0000000..0568d39
--- /dev/null
+++ b/.jscsrc
@@ -0,0 +1,9 @@
+{
+  "preset": "airbnb",
+  "requireCamelCaseOrUpperCaseIdentifiers": false,
+  "requireTrailingComma": false,
+  "esprima": "esprima-fb",
+  "fileExtensions": [
+    "es6.js"
+  ]
+}

http://git-wip-us.apache.org/repos/asf/allura/blob/cad92456/.jshintrc
----------------------------------------------------------------------
diff --git a/.jshintrc b/.jshintrc
new file mode 100644
index 0000000..f4ea9d1
--- /dev/null
+++ b/.jshintrc
@@ -0,0 +1,14 @@
+{
+    "esnext": true,
+    "globalstrict": true,
+    "latedef": true,
+    "supernew": true,
+    "jquery": true,
+    "globals": {
+        "React": true,
+        "$": true,
+        "window": true,
+        "_": true,
+        "ReactReorderable": true
+    }
+}


Mime
View raw message