Skip to content

Commit 7e0384a

Browse files
committed
fix: Run lint and add copyright
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
1 parent 969d119 commit 7e0384a

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"build": "webpack --node-env production --progress",
88
"dev": "webpack --node-env development --progress",
99
"watch": "webpack --node-env development --progress --watch",
10-
"lint": "eslint --ext .js,.vue src playwright",
11-
"lint:fix": "eslint --ext .js,.vue src playwright --fix",
10+
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint --ext .js,.vue,.ts,.mjs src playwright",
11+
"lint:fix": "ESLINT_USE_FLAT_CONFIG=false eslint --ext .js,.vue,.ts,.mjs src playwright --fix",
1212
"stylelint": "stylelint 'src/**/*.vue' 'css/**/*.css'",
1313
"stylelint:fix": "stylelint 'src/**/*.vue' 'css/**/*.css' --fix",
1414
"start:nextcloud": "node playwright/start-nextcloud-server.mjs",

playwright/e2e/basic.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
3+
* SPDX-License-Identifier: AGPL-3.0-or-later
4+
*/
5+
16
import { expect, test } from "@playwright/test";
27
import { login } from "../support/login";
38
import { NoteEditor } from "../support/sections/NoteEditor";

playwright/start-nextcloud-server.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ async function start() {
3434
async function stop() {
3535
process.stderr.write('Stopping Nextcloud server…\n')
3636
await stopNextcloud()
37+
// eslint-disable-next-line n/no-process-exit
3738
process.exit(0)
3839
}
3940

playwright/support/sections/NoteEditor.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
3+
* SPDX-License-Identifier: AGPL-3.0-or-later
4+
*/
5+
16
import type { Locator, Page } from "@playwright/test";
27

38
export class NoteEditor {

0 commit comments

Comments
 (0)