@forsakringskassan/eslint-config-cypress 12.2.2 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{flat.mjs → index.mjs} +2 -3
- package/package.json +9 -10
- package/index.cjs +0 -15
- /package/{flat.d.mts → index.d.mts} +0 -0
package/{flat.mjs → index.mjs}
RENAMED
|
@@ -28,6 +28,7 @@ function merge(result, it) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
const globals = cypressPlugin.configs.globals;
|
|
31
32
|
const recommended = cypressPlugin.configs.recommended;
|
|
32
33
|
|
|
33
34
|
const config = defineConfig({
|
|
@@ -38,8 +39,7 @@ const config = defineConfig({
|
|
|
38
39
|
ecmaVersion: 2019,
|
|
39
40
|
sourceType: "module",
|
|
40
41
|
globals: {
|
|
41
|
-
|
|
42
|
-
...cypressPlugin.environments.globals.globals,
|
|
42
|
+
...globals.languageOptions.globals,
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
|
|
@@ -56,7 +56,6 @@ const config = defineConfig({
|
|
|
56
56
|
"mocha/no-exclusive-tests": "warn",
|
|
57
57
|
"mocha/no-identical-title": "error",
|
|
58
58
|
"mocha/no-pending-tests": "warn",
|
|
59
|
-
"mocha/no-skipped-tests": "warn",
|
|
60
59
|
},
|
|
61
60
|
});
|
|
62
61
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/eslint-config-cypress",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "Försäkringskassans eslint shareable cypress config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -14,21 +14,20 @@
|
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"author": "Försäkringskassan",
|
|
17
|
-
"main": "index.
|
|
17
|
+
"main": "index.mjs",
|
|
18
18
|
"files": [
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"index.cjs"
|
|
19
|
+
"index.mjs",
|
|
20
|
+
"index.d.mts"
|
|
22
21
|
],
|
|
23
22
|
"dependencies": {
|
|
24
|
-
"eslint-plugin-cypress": "
|
|
25
|
-
"eslint-plugin-mocha": "
|
|
23
|
+
"eslint-plugin-cypress": "5.1.1",
|
|
24
|
+
"eslint-plugin-mocha": "11.1.0"
|
|
26
25
|
},
|
|
27
26
|
"peerDependencies": {
|
|
28
|
-
"eslint": "^
|
|
27
|
+
"eslint": "^9.0.0"
|
|
29
28
|
},
|
|
30
29
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
30
|
+
"node": ">= 22.0"
|
|
32
31
|
},
|
|
33
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "6e466e321dc87d4d3e525bbf1711e8ae9f6b8742"
|
|
34
33
|
}
|
package/index.cjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {
|
|
3
|
-
"cypress/globals": true,
|
|
4
|
-
},
|
|
5
|
-
plugins: ["cypress", "mocha"],
|
|
6
|
-
extends: ["plugin:cypress/recommended"],
|
|
7
|
-
rules: {
|
|
8
|
-
"@typescript-eslint/no-non-null-assertion": "off",
|
|
9
|
-
"@typescript-eslint/triple-slash-reference": "off",
|
|
10
|
-
"mocha/no-exclusive-tests": "warn",
|
|
11
|
-
"mocha/no-identical-title": "error",
|
|
12
|
-
"mocha/no-pending-tests": "warn",
|
|
13
|
-
"mocha/no-skipped-tests": "warn",
|
|
14
|
-
},
|
|
15
|
-
};
|
|
File without changes
|