@forsakringskassan/eslint-config-cypress 13.4.2 → 13.5.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/index.mjs +3 -2
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -31,7 +31,7 @@ function merge(result, it) {
|
|
|
31
31
|
const globals = cypressPlugin.configs.globals;
|
|
32
32
|
const recommended = cypressPlugin.configs.recommended;
|
|
33
33
|
|
|
34
|
-
const
|
|
34
|
+
const defaultConfig = defineConfig({
|
|
35
35
|
name: "@forsakringskassan/eslint-config-cypress",
|
|
36
36
|
files: ["**/*.cy.[jt]s", "cypress/support/**/*.[jt]s"],
|
|
37
37
|
|
|
@@ -63,4 +63,5 @@ const config = defineConfig({
|
|
|
63
63
|
* @param {Config} [override]
|
|
64
64
|
* @returns {Config}
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
const config = (override) => merge(defaultConfig, override ?? {});
|
|
67
|
+
export default config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/eslint-config-cypress",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.5.0",
|
|
4
4
|
"description": "Försäkringskassans eslint shareable cypress config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": ">= 22.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "b07a58cfff4cd3500908fc166180092e63670d63"
|
|
36
36
|
}
|