summaryrefslogtreecommitdiffstats
path: root/js-old/.jshintrc
diff options
context:
space:
mode:
Diffstat (limited to 'js-old/.jshintrc')
-rw-r--r--js-old/.jshintrc52
1 files changed, 52 insertions, 0 deletions
diff --git a/js-old/.jshintrc b/js-old/.jshintrc
new file mode 100644
index 000000000..1f0c276f4
--- /dev/null
+++ b/js-old/.jshintrc
@@ -0,0 +1,52 @@
+{
+ "esnext": true,
+ "bitwise": true,
+ "camelcase": true,
+ "curly": true,
+ "eqeqeq": true,
+ "forin": false,
+ "immed": true,
+ "indent": 4,
+ "latedef": true,
+ "newcap": true,
+ "noarg": true,
+ "noempty": true,
+ "nonew": true,
+ "plusplus": true,
+ "quotmark": "single",
+ "undef": true,
+ "unused": true,
+ "strict": true,
+ "maxparams": false,
+ "maxdepth": 3,
+ "maxlen": 120,
+ "browser": true,
+ "devel": true,
+ "jquery": true,
+ "globals": {
+ "angular": true,
+ "app": true,
+ "OC": true,
+ "csrfToken": true,
+ "inject": true,
+ "module": true,
+ "protractor": true,
+ "browser": true,
+ "By": true,
+ "it": true,
+ "afterEach": true,
+ "jasmine": true,
+ "describe": true,
+ "beforeEach": true,
+ "expect": true,
+ "exports": true,
+ "reverse": true,
+ "items": true,
+ "enumerate": true,
+ "News": true,
+ "t": true,
+ "navigator": true,
+ "oc_requesttoken": true,
+ "_": true
+ }
+}