Skip to content

Commit 2425a9f

Browse files
committed
chore: update ESLint to v9 and use the new nextcloud-eslint-config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 7ff2598 commit 2425a9f

4 files changed

Lines changed: 2330 additions & 3471 deletions

File tree

.eslintrc.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

eslint.config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*!
2+
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
3+
* SPDX-License-Identifier: CC0-1.0
4+
*/
5+
6+
import { recommendedLibrary } from '@nextcloud/eslint-config'
7+
8+
export default [
9+
...recommendedLibrary,
10+
11+
// Fix tsdoc generation
12+
{
13+
files: ['lib/**.ts'],
14+
rules: {
15+
'jsdoc/check-tag-names': [
16+
'error',
17+
{ definedTags: ['packageDocumentation'] },
18+
],
19+
},
20+
},
21+
]

0 commit comments

Comments
 (0)