summaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2019-10-01 17:20:49 +0200
committerGitHub <noreply@github.com>2019-10-01 17:20:49 +0200
commit7dc5bbae39413e3986bbc35ad512582f073143cb (patch)
tree594bd3e5619d3876258ed21e71826fbd5af487a5 /.eslintrc.js
parent6a2e2cfdf1cc805ebf852a8ca8abaafa2e5597b9 (diff)
parentb9bc2417e7a8dc81feb0abe20359bedaf864f790 (diff)
downloadnextcloud-server-7dc5bbae39413e3986bbc35ad512582f073143cb.tar.gz
nextcloud-server-7dc5bbae39413e3986bbc35ad512582f073143cb.zip
Merge pull request #17263 from nextcloud/enhancement/eslint
Add eslint global nextcloud config
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']
+}