summaryrefslogtreecommitdiff
path: root/public/.eslintrc.js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-11-16 11:45:20 +0100
committerGitHub2018-11-16 11:45:20 +0100
commitdb69983a622693962a0fd42b2f091b3f3b6f6906 (patch)
tree08e51914a7d6dd00c993c3b7f2481521a1ba6f0e /public/.eslintrc.js
parentf9aa001ee78e604415c2a6e82f65701a1f07d3c4 (diff)
parent858a59529e4b99d5c13e6fce8354cd9e9b00a462 (diff)
Merge pull request #1057 from ccoenen/eslint
switching to eslint for code checking
Diffstat (limited to '')
-rw-r--r--public/.eslintrc.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/public/.eslintrc.js b/public/.eslintrc.js
new file mode 100644
index 00000000..dc37b3cb
--- /dev/null
+++ b/public/.eslintrc.js
@@ -0,0 +1,28 @@
+// this config file is used in concert with the root .eslintrc.js in the root dir.
+module.exports = {
+ "env": {
+ "browser": true
+ },
+ "globals": {
+ "$": false,
+ "CodeMirror": false,
+ "Cookies": false,
+ "moment": false,
+ "editor": false,
+ "ui": false,
+ "Spinner": false,
+ "modeType": false,
+ "Idle": false,
+ "serverurl": false,
+ "key": false,
+ "gapi": false,
+ "Dropbox": false,
+ "FilePicker": false,
+ "ot": false,
+ "MediaUploader": false,
+ "hex2rgb": false,
+ "num_loaded": false,
+ "Visibility": false,
+ "inlineAttachment": false
+ }
+};