From cd54f7c7f432e7a88f81c1d453798812edff0459 Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Tue, 27 Jun 2023 11:44:59 +0200 Subject: chore: upgrade typescript, eslint and fix lint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- .eslintrc.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to '.eslintrc.js') 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: { -- cgit v1.2.3