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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-04-09 12:59:47 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-03 10:04:57 +0300
commit5cda71737127d51517c06debb73af902119381fa (patch)
tree949549a996896da2b025d983a71884ad6b54f09d /.eslintrc.js
parentc49f2f5c006c6b98b6a7227fe4d76f577a974735 (diff)
Migrate to eslint-config-nextcloud
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js23
1 files changed, 1 insertions, 22 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index ea38b3f81..f5ab17a72 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,28 +1,7 @@
module.exports = {
- root: true,
- env: {
- node: true,
- amd: true,
- jquery: true,
- mocha: true,
- },
extends: [
- 'plugin:@nextcloud/recommended',
- 'plugin:prettier/recommended',
- 'plugin:vue/recommended',
- 'prettier/vue',
- 'eslint:recommended',
+ '@nextcloud'
],
- rules: {
- 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
- 'no-unused-vars': 'off',
- 'vue/no-v-html': 'off',
- 'no-case-declarations': 'off',
- },
- parserOptions: {
- parser: 'babel-eslint',
- },
globals: {
expect: true,
OC: true,