diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-06-27 11:44:59 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-06-27 16:16:41 +0200 |
commit | cd54f7c7f432e7a88f81c1d453798812edff0459 (patch) | |
tree | ea64c844770fd75d08df0e6ee121654e0742799f /.eslintrc.js | |
parent | 4cfab4b838ed40dec200f7673992009896c69f16 (diff) | |
download | nextcloud-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.js | 13 |
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: { |