Skip to content

Commit

Permalink
Update npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnav committed Jan 29, 2025
1 parent 2e2601a commit ca9707e
Show file tree
Hide file tree
Showing 10 changed files with 368 additions and 425 deletions.
19 changes: 0 additions & 19 deletions test/e2e/.eslintrc.json

This file was deleted.

1 change: 0 additions & 1 deletion test/e2e/cypress/downloads/downloads.html

This file was deleted.

36 changes: 36 additions & 0 deletions test/e2e/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";
import eslintConfigPrettier from "eslint-config-prettier";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

export default [
...compat.extends(
"eslint:recommended",
"plugin:cypress/recommended",
"plugin:mocha/recommended",
),
{ files: ["**/*.{js,mjs,cjs,ts}"] },
{
languageOptions: {
globals: { ...globals.node },
ecmaVersion: "latest",
sourceType: "module",
},
rules: {
semi: "error",
"mocha/no-mocha-arrows": "off",
"mocha/no-exclusive-tests": "error",
},
},
eslintConfigPrettier,
];
3 changes: 3 additions & 0 deletions test/e2e/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ start service:
stop:
docker compose down --volumes --remove-orphans

lint:
npm run lint

# Install local dependencies, start Connect in development mode, and open Cypress UI locally (not from a container)
dev:
#!/usr/bin/env bash
Expand Down
Loading

0 comments on commit ca9707e

Please sign in to comment.