Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .eslintrc.js

This file was deleted.

28 changes: 28 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2026 I guess, right ?

* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { recommended } from '@nextcloud/eslint-config'

export default [
...recommended,
{
rules: {
// do not require JSDoc comments
'jsdoc/require-jsdoc': 'off',
},
},
{
files: ['**/*.vue'],
rules: {
// no ending html tag on a new line (was warn in "vue/strongly-recommended")
'vue/html-closing-bracket-newline': ['error', { multiline: 'always' }],
// allow first attribute in new line if multiline
'vue/first-attribute-linebreak': ['error', {
singleline: 'beside',
multiline: 'ignore',
}],
},
},
]
Loading
Loading