[Pkg-javascript-commits] [ltx] 303/469: Add .jshintrc

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:03:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ltx.

commit 5947cb21bc87ae951e2ace45d6878caa12203d39
Author: Lloyd Watkin <lloyd at evilprofessor.co.uk>
Date:   Sun Feb 16 18:56:47 2014 +0000

    Add .jshintrc
---
 .jshintrc | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/.jshintrc b/.jshintrc
new file mode 100644
index 0000000..303177f
--- /dev/null
+++ b/.jshintrc
@@ -0,0 +1,34 @@
+{
+    "asi": true,
+    "camelcase": true,
+    "eqeqeq": true,
+    "eqnull": true,
+    "globalstrict": true,
+    "immed": true,
+    "indent": 4,
+    "latedef": "nofunc",
+    "laxcomma": true,
+    "maxparams": 4,
+    "maxdepth": 3,
+    "maxstatements": 20,
+    "maxcomplexity": 8,
+    "maxlen": 120,
+    "newcap": true,
+    "noarg": true,
+    "noempty": true,
+    "nonew": true,
+    "quotmark": "single",
+    "undef": true,
+    "unused": true,
+    "strict": true,
+    "trailing": true,
+
+    "node": true,
+
+    "predef": [
+      "define", "module", "require",
+      "before", "beforeEach", "describe", "it",
+      "after", "window"
+  ]
+
+}
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list