UNPKG

@nextcloud/eslint-config

Version:

Eslint shared config for nextcloud apps and libraries

14 lines (13 loc) 551 B
/*! * 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'; /** * Config factory for general code style related rules * See also: https://docs.nextcloud.com/server/latest/developer_manual/getting_started/coding_standards/javascript.html#code-style * * @param options options defining the config preset flavor */ export declare function codeStyle(options: ConfigOptions): Linter.Config[];