summaryrefslogtreecommitdiffstats
path: root/.jshintrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.jshintrc22
1 files changed, 22 insertions, 0 deletions
diff --git a/.jshintrc b/.jshintrc
new file mode 100644
index 0000000..46c0d2e
--- /dev/null
+++ b/.jshintrc
@@ -0,0 +1,22 @@
+{
+ "browser": true,
+ "devel": true,
+ "eqeqeq": true,
+ "esversion": 11,
+ "globals": {
+ "chrome": false, // global variable in Chromium, Chrome, Opera
+ "globalThis": false,
+ "self": false,
+ "vAPI": false,
+ "URLSearchParams": false,
+ "WebAssembly": false
+ },
+ "laxbreak": true,
+ "newcap": false,
+ "nonew": false,
+ "strict": "global",
+ "sub": true,
+ "undef": true,
+ "unused": true,
+ "validthis": true
+}