aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/.jshintrc
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-02-19 13:46:30 -0800
committerGravatar murgatroid99 <mlumish@google.com>2015-02-19 13:46:30 -0800
commitf8a9b1c191c752a2e45bac6700d7192dad240e7c (patch)
tree80fc233df2ffb879b45b130110397f858d55a1d6 /src/node/.jshintrc
parent04e3a6e3327e4851a4eaa15fbf1eaec74a5abe3a (diff)
Added lint script
Diffstat (limited to 'src/node/.jshintrc')
-rw-r--r--src/node/.jshintrc28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/node/.jshintrc b/src/node/.jshintrc
new file mode 100644
index 0000000000..1d930c34ca
--- /dev/null
+++ b/src/node/.jshintrc
@@ -0,0 +1,28 @@
+{
+ "bitwise": true,
+ "curly": true,
+ "eqeqeq": true,
+ "esnext": true,
+ "freeze": true,
+ "immed": true,
+ "indent": 2,
+ "latedef": "nofunc",
+ "maxlen": 100,
+ "newcap": true,
+ "node": true,
+ "noarg": true,
+ "quotmark": "single",
+ "strict": true,
+ "trailing": true,
+ "undef": true,
+ "unused": true,
+ "globals": {
+ /* Mocha-provided globals */
+ "describe": false,
+ "it": false,
+ "before": false,
+ "beforeEach": false,
+ "after": false,
+ "afterEach": false
+ }
+} \ No newline at end of file