summaryrefslogtreecommitdiff
path: root/public/.eslintrc.js
diff options
context:
space:
mode:
authorClaudius Coenen2018-11-14 14:10:14 +0100
committerClaudius Coenen2018-11-14 23:15:36 +0100
commit858a59529e4b99d5c13e6fce8354cd9e9b00a462 (patch)
tree08e51914a7d6dd00c993c3b7f2481521a1ba6f0e /public/.eslintrc.js
parentf9aa001ee78e604415c2a6e82f65701a1f07d3c4 (diff)
switching to eslint for code checking
most rules degraded to WARN, so we don't go insane. This will change over time. The aim is to conform to a common style Signed-off-by: Claudius Coenen <opensource@amenthes.de>
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
+ }
+};