@form8ion/eslint-config-extender 9.0.0 → 10.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/README.md +7 -2
- package/example.js +6 -1
- package/package.json +20 -19
package/README.md
CHANGED
|
@@ -96,7 +96,12 @@ const {scaffold, extendEslintConfig} = await import('./lib/index.mjs');
|
|
|
96
96
|
},
|
|
97
97
|
decisions => ({
|
|
98
98
|
...javascriptPlugin,
|
|
99
|
-
scaffold: options =>javascriptPlugin.scaffold({
|
|
99
|
+
scaffold: options => javascriptPlugin.scaffold({
|
|
100
|
+
...options,
|
|
101
|
+
decisions,
|
|
102
|
+
configs: {},
|
|
103
|
+
plugins: {unitTestFrameworks: {}}
|
|
104
|
+
})
|
|
100
105
|
})
|
|
101
106
|
);
|
|
102
107
|
})();
|
|
@@ -153,7 +158,7 @@ $ npm test
|
|
|
153
158
|
|
|
154
159
|
[license-link]: LICENSE
|
|
155
160
|
|
|
156
|
-
[license-badge]: https://img.shields.io/github/license/form8ion/eslint-config-extender.svg
|
|
161
|
+
[license-badge]: https://img.shields.io/github/license/form8ion/eslint-config-extender.svg?logo=opensourceinitiative
|
|
157
162
|
|
|
158
163
|
[npm-link]: https://www.npmjs.com/package/@form8ion/eslint-config-extender
|
|
159
164
|
|
package/example.js
CHANGED
|
@@ -68,7 +68,12 @@ stubbedFs({node_modules: stubbedNodeModules});
|
|
|
68
68
|
},
|
|
69
69
|
decisions => ({
|
|
70
70
|
...javascriptPlugin,
|
|
71
|
-
scaffold: options => javascriptPlugin.scaffold({
|
|
71
|
+
scaffold: options => javascriptPlugin.scaffold({
|
|
72
|
+
...options,
|
|
73
|
+
decisions,
|
|
74
|
+
configs: {},
|
|
75
|
+
plugins: {unitTestFrameworks: {}}
|
|
76
|
+
})
|
|
72
77
|
})
|
|
73
78
|
);
|
|
74
79
|
})();
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "@form8ion/eslint-config-extender",
|
|
3
3
|
"description": "shareable ESLint config scaffolder for extending another config",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "10.0.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": "^18.
|
|
8
|
+
"node": "^18.19.0 || ^20.6.1 || >=22"
|
|
9
9
|
},
|
|
10
10
|
"author": "Matt Travi <npm@travi.org> (https://matt.travi.org)",
|
|
11
11
|
"repository": "form8ion/eslint-config-extender",
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"sideEffects": false,
|
|
18
18
|
"scripts": {
|
|
19
19
|
"test": "npm-run-all --print-label build --parallel lint:* --parallel test:*",
|
|
20
|
-
"lint:lockfile": "lockfile-lint
|
|
20
|
+
"lint:lockfile": "lockfile-lint",
|
|
21
21
|
"lint:js": "eslint . --cache",
|
|
22
|
-
"lint:md": "
|
|
22
|
+
"lint:md": "remark . --frail",
|
|
23
23
|
"pregenerate:md": "run-s build",
|
|
24
|
-
"generate:md": "NODE_OPTIONS
|
|
24
|
+
"generate:md": "NODE_OPTIONS=--enable-source-maps remark . --output",
|
|
25
25
|
"lint:sensitive": "ban",
|
|
26
26
|
"pretest:integration:base": "run-s build",
|
|
27
27
|
"lint:gherkin": "gherkin-lint",
|
|
28
28
|
"test:integration": "run-s 'test:integration:base -- --profile noWip'",
|
|
29
|
-
"test:integration:base": "NODE_OPTIONS
|
|
29
|
+
"test:integration:base": "NODE_OPTIONS=--enable-source-maps DEBUG=any cucumber-js test/integration",
|
|
30
30
|
"test:integration:debug": "DEBUG=test run-s test:integration",
|
|
31
31
|
"test:integration:wip": "run-s 'test:integration:base -- --profile wip'",
|
|
32
32
|
"test:integration:wip:debug": "DEBUG=test run-s 'test:integration:wip'",
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
"lint:peer": "npm ls >/dev/null",
|
|
43
43
|
"prepare": "husky install",
|
|
44
44
|
"lint:engines": "ls-engines",
|
|
45
|
-
"lint:publish": "publint --strict"
|
|
45
|
+
"lint:publish": "publint --strict",
|
|
46
|
+
"lint:js:fix": "run-s 'lint:js -- --fix'"
|
|
46
47
|
},
|
|
47
48
|
"files": [
|
|
48
49
|
"example.js",
|
|
@@ -52,46 +53,46 @@
|
|
|
52
53
|
"access": "public",
|
|
53
54
|
"provenance": true
|
|
54
55
|
},
|
|
56
|
+
"packageManager": "npm@10.8.3+sha256.b7dc7eb48d7479b93668e913c7ad686ab2aa71c705d4a56b5323d1bffdba2972",
|
|
55
57
|
"dependencies": {
|
|
56
58
|
"@form8ion/config-file": "^1.1.2",
|
|
57
59
|
"@form8ion/core": "^4.7.1",
|
|
58
|
-
"@form8ion/javascript": "^
|
|
60
|
+
"@form8ion/javascript": "^13.0.0-beta.13",
|
|
59
61
|
"@form8ion/javascript-core": "^11.0.0",
|
|
60
62
|
"@form8ion/project": "^19.0.1",
|
|
61
63
|
"deepmerge": "^4.2.2"
|
|
62
64
|
},
|
|
63
65
|
"devDependencies": {
|
|
64
|
-
"@cucumber/cucumber": "
|
|
66
|
+
"@cucumber/cucumber": "11.0.1",
|
|
65
67
|
"@form8ion/commitlint-config": "1.0.76",
|
|
66
|
-
"@form8ion/eslint-config": "7.0.
|
|
68
|
+
"@form8ion/eslint-config": "7.0.11",
|
|
67
69
|
"@form8ion/eslint-config-cucumber": "1.4.1",
|
|
68
70
|
"@form8ion/github": "2.0.0",
|
|
69
71
|
"@form8ion/remark-lint-preset": "6.0.4",
|
|
70
72
|
"@travi/any": "3.1.2",
|
|
71
|
-
"ban-sensitive-files": "1.10.
|
|
73
|
+
"ban-sensitive-files": "1.10.6",
|
|
72
74
|
"c8": "10.1.2",
|
|
73
75
|
"chai": "5.1.1",
|
|
74
76
|
"cross-env": "7.0.3",
|
|
75
77
|
"cz-conventional-changelog": "3.3.0",
|
|
76
|
-
"debug": "4.3.
|
|
78
|
+
"debug": "4.3.7",
|
|
77
79
|
"gherkin-lint": "4.2.4",
|
|
78
|
-
"husky": "9.1.
|
|
80
|
+
"husky": "9.1.6",
|
|
79
81
|
"jest-when": "3.6.0",
|
|
80
82
|
"js-yaml": "4.1.0",
|
|
81
83
|
"lockfile-lint": "4.14.0",
|
|
82
84
|
"ls-engines": "0.9.3",
|
|
83
85
|
"mock-fs": "5.2.0",
|
|
84
86
|
"nock": "13.5.5",
|
|
85
|
-
"npm-run-all2": "6.2.
|
|
86
|
-
"publint": "0.2.
|
|
87
|
+
"npm-run-all2": "6.2.3",
|
|
88
|
+
"publint": "0.2.11",
|
|
87
89
|
"remark-cli": "12.0.1",
|
|
88
90
|
"remark-toc": "9.0.0",
|
|
89
91
|
"remark-usage": "11.0.1",
|
|
90
92
|
"rimraf": "6.0.1",
|
|
91
|
-
"rollup": "4.
|
|
93
|
+
"rollup": "4.22.4",
|
|
92
94
|
"rollup-plugin-auto-external": "2.0.0",
|
|
93
95
|
"testdouble": "3.20.2",
|
|
94
|
-
"vitest": "2.
|
|
95
|
-
}
|
|
96
|
-
"packageManager": "npm@10.8.2+sha512.c7f0088c520a46596b85c6f8f1da943400199748a0f7ea8cb8df75469668dc26f6fb3ba26df87e2884a5ebe91557292d0f3db7d0929cdb4f14910c3032ac81fb"
|
|
96
|
+
"vitest": "2.1.1"
|
|
97
|
+
}
|
|
97
98
|
}
|