summaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc25
1 files changed, 25 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 0000000000..41cad889b1
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,25 @@
+root: true
+
+extends:
+ - eslint:recommended
+
+parserOptions:
+ ecmaVersion: 2015
+
+env:
+ browser: true
+ jquery: true
+ es6: true
+
+globals:
+ Clipboard: false
+ CodeMirror: false
+ emojify: false
+ SimpleMDE: false
+ Vue: false
+ Dropzone: false
+ u2fApi: false
+ hljs: false
+
+rules:
+ no-unused-vars: [error, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, ignoreRestSiblings: true}]