Skip to content

Commit ca9707e

Browse files
committed
Update npm packages
1 parent 2e2601a commit ca9707e

10 files changed

+368
-425
lines changed

test/e2e/.eslintrc.json

-19
This file was deleted.

test/e2e/cypress/downloads/downloads.html

-1
This file was deleted.

test/e2e/eslint.config.mjs

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
import globals from "globals";
2+
import path from "node:path";
3+
import { fileURLToPath } from "node:url";
4+
import js from "@eslint/js";
5+
import { FlatCompat } from "@eslint/eslintrc";
6+
import eslintConfigPrettier from "eslint-config-prettier";
7+
8+
const __filename = fileURLToPath(import.meta.url);
9+
const __dirname = path.dirname(__filename);
10+
const compat = new FlatCompat({
11+
baseDirectory: __dirname,
12+
recommendedConfig: js.configs.recommended,
13+
allConfig: js.configs.all,
14+
});
15+
16+
export default [
17+
...compat.extends(
18+
"eslint:recommended",
19+
"plugin:cypress/recommended",
20+
"plugin:mocha/recommended",
21+
),
22+
{ files: ["**/*.{js,mjs,cjs,ts}"] },
23+
{
24+
languageOptions: {
25+
globals: { ...globals.node },
26+
ecmaVersion: "latest",
27+
sourceType: "module",
28+
},
29+
rules: {
30+
semi: "error",
31+
"mocha/no-mocha-arrows": "off",
32+
"mocha/no-exclusive-tests": "error",
33+
},
34+
},
35+
eslintConfigPrettier,
36+
];

test/e2e/justfile

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ start service:
1717
stop:
1818
docker compose down --volumes --remove-orphans
1919

20+
lint:
21+
npm run lint
22+
2023
# Install local dependencies, start Connect in development mode, and open Cypress UI locally (not from a container)
2124
dev:
2225
#!/usr/bin/env bash

0 commit comments

Comments
 (0)