@nextcloud/eslint-config
Version:
Eslint shared config for nextcloud apps and libraries
15 lines (14 loc) • 503 B
TypeScript
/*!
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import type { Linter } from 'eslint';
import type { ConfigOptions } from '../types.d.ts';
/**
* This config provides the base rules for code quality,
* the target is a good code quality -> prevent bugs,
* code style is handled by another config.
*
* @param options - Configuration options
*/
export declare function javascript(options: ConfigOptions): Linter.Config[];