Skip to content

Commit 04453dc

Browse files
authored
Merge branch 'main' into mcp
2 parents 111c267 + 1290771 commit 04453dc

35 files changed

+1955
-451
lines changed

e2e-playwright/.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cucumber.js
2+
init.ts
3+
playwright.config.ts
4+
env.d.ts

e2e-playwright/.eslintrc.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"node": true
5+
},
6+
"parser": "@typescript-eslint/parser",
7+
"parserOptions": {
8+
"project": "tsconfig.json",
9+
"sourceType": "module"
10+
},
11+
"plugins": ["import", "simple-import-sort", "n", "@typescript-eslint"],
12+
"extends": [
13+
"eslint:recommended",
14+
"plugin:import/typescript",
15+
"plugin:@typescript-eslint/eslint-recommended",
16+
"plugin:@typescript-eslint/recommended",
17+
"plugin:prettier/recommended"
18+
],
19+
"rules": {
20+
"import/no-cycle": "error",
21+
"n/no-extraneous-import": "error",
22+
"@typescript-eslint/ban-ts-ignore": "off",
23+
"@typescript-eslint/ban-ts-comment": "off",
24+
"@typescript-eslint/explicit-module-boundary-types": "off",
25+
"@typescript-eslint/explicit-function-return-type": "off",
26+
"@typescript-eslint/no-use-before-define": "off",
27+
"@typescript-eslint/interface-name-prefix": "off",
28+
"@typescript-eslint/member-delimiter-style": "off",
29+
"@typescript-eslint/no-explicit-any": "error",
30+
"@typescript-eslint/no-non-null-assertion": "error",
31+
"simple-import-sort/imports": "error",
32+
"simple-import-sort/exports": "error"
33+
},
34+
"overrides": [
35+
{
36+
"files": ["test/**"],
37+
"rules": {
38+
"@typescript-eslint/no-non-null-assertion": "off"
39+
}
40+
}
41+
]
42+
}

e2e-playwright/config/cucumber.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable */
12
module.exports = {
23
default: {
34
timeout: 30000,

e2e-playwright/eslint.config.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
import { defineConfig } from "eslint/config";
2+
import js from "@eslint/js";
3+
import globals from "globals";
4+
import tseslint from "typescript-eslint";
5+
6+
export default defineConfig([
7+
js.configs.recommended,
8+
{
9+
files: ["**/*.{ts,tsx}"],
10+
languageOptions: {
11+
parser: tseslint.parser,
12+
parserOptions: {
13+
project: "./tsconfig.json",
14+
},
15+
globals: {
16+
...globals.node,
17+
...globals.browser,
18+
},
19+
},
20+
plugins: {
21+
"@typescript-eslint": tseslint.plugin,
22+
},
23+
rules: {
24+
"no-trailing-spaces": "error",
25+
"no-multiple-empty-lines": ["error", { max: 1 }],
26+
"semi-spacing": ["error", { before: false, after: true }],
27+
"keyword-spacing": ["error", { before: true, after: true }],
28+
"space-infix-ops": "error",
29+
"space-before-blocks": "error",
30+
"space-before-function-paren": ["error", "never"],
31+
"object-curly-spacing": ["error", "always"],
32+
"array-bracket-spacing": ["error", "never"],
33+
'no-invalid-this': 'off',
34+
},
35+
},
36+
]);

0 commit comments

Comments
 (0)