Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-09-25 10:55:33 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-01 17:39:37 +0300
commit7fb651235128dcbca8a6683b5cdafdf835f46300 (patch)
tree28f6f36bb0b5596981dc99d46b68fcc7b62e282f /.eslintrc.js
parentf9870eec2cefef95aa563cbbbe78f2dc9dd5e128 (diff)
Use eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 00000000000..b86372955e4
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,12 @@
+module.exports = {
+ globals: {
+ __webpack_nonce__: true,
+ __webpack_public_path__: true,
+ _: true,
+ $: true,
+ moment: true,
+ escapeHTML: true,
+ oc_userconfig: true
+ },
+ extends: ['nextcloud']
+}