UNPKG

@nextcloud/eslint-config

Version:

Eslint shared config for nextcloud apps and libraries

32 lines (31 loc) 1.26 kB
/*! * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ import type { Linter } from 'eslint'; /** * Nextcloud shared configuration for projects using Vue 2 with Javascript <script> blocks */ export declare const recommendedVue2Javascript: Linter.Config[]; /** * Nextcloud shared configuration for projects using Vue 2 with Typescript <script> blocks */ export declare const recommendedVue2: Linter.Config[]; /** * Nextcloud shared configuration for projects using Vue 3 with Javascript <script> blocks */ export declare const recommendedJavascript: Linter.Config[]; /** * Nextcloud shared configuration for projects using Vue 3 with Typescript <script> blocks */ export declare const recommended: Linter.Config[]; /** * Nextcloud shared configuration for projects using Vue 3 with Typescript <script> blocks */ export declare const recommendedLibrary: Linter.Config[]; /** * Nextcloud shared configuration for projects using Vue 3 with Typescript <script> blocks */ export declare const recommendedVue2Library: Linter.Config[]; export { default as packageJsonPlugin } from './plugins/packageJson.ts'; export { default as nextcloudPlugin } from './plugins/nextcloud/index.ts';