diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-09-25 09:55:33 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-01 16:39:37 +0200 |
commit | 7fb651235128dcbca8a6683b5cdafdf835f46300 (patch) | |
tree | 28f6f36bb0b5596981dc99d46b68fcc7b62e282f /.eslintrc.js | |
parent | f9870eec2cefef95aa563cbbbe78f2dc9dd5e128 (diff) | |
download | nextcloud-server-7fb651235128dcbca8a6683b5cdafdf835f46300.tar.gz nextcloud-server-7fb651235128dcbca8a6683b5cdafdf835f46300.zip |
Use eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 12 |
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'] +} |