aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-27 11:44:59 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-27 16:16:41 +0200
commitcd54f7c7f432e7a88f81c1d453798812edff0459 (patch)
treeea64c844770fd75d08df0e6ee121654e0742799f /.eslintrc.js
parent4cfab4b838ed40dec200f7673992009896c69f16 (diff)
downloadnextcloud-server-cd54f7c7f432e7a88f81c1d453798812edff0459.tar.gz
nextcloud-server-cd54f7c7f432e7a88f81c1d453798812edff0459.zip
chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 2f1de793a7f..089dca10a04 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -3,21 +3,18 @@ module.exports = {
__webpack_nonce__: true,
_: true,
$: true,
- moment: true,
- escapeHTML: true,
- oc_userconfig: true,
dayNames: true,
+ escapeHTML: true,
firstDay: true,
- 'cypress/globals': true,
- },
- parserOptions: {
- parser: '@typescript-eslint/parser',
+ moment: true,
+ oc_userconfig: true,
+ sinon: true,
},
plugins: [
'cypress',
],
extends: [
- '@nextcloud',
+ '@nextcloud/eslint-config/typescript',
'plugin:cypress/recommended',
],
rules: {