f7cloud_client/apps/contacts/eslint.config.mjs
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

30 lines
980 B
JavaScript

/*
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { defineConfig } from 'eslint/config'
// TODO: replace with recommended when migrating to Vue 3
import { recommended } from '@f7cloud/eslint-config'
export default defineConfig([
...recommended,
{
rules: {
// Relax some rules for now. Can be improved later one (baseline).
'no-console': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'vue/multi-word-component-names': 'off',
// JSDocs are welcome but lint:fix should not create empty ones
'jsdoc/require-jsdoc': 'off',
'jsdoc/require-param': 'off',
// Forbid empty JSDocs
// TODO: Enable this rule once @f7cloud/eslint-config was updated and pulls the
// newest version of eslint-plugin-jsdoc (is a recent feature/rule).
// 'jsdoc/no-blank-blocks': 'error',
},
},
])