@vinicunca/eslint-config 2.4.3 → 2.4.4
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/dist/index.cjs +10 -8
- package/dist/index.d.cts +268 -242
- package/dist/index.d.ts +268 -242
- package/dist/index.js +10 -8
- package/package.json +13 -12
package/dist/index.cjs
CHANGED
|
@@ -2178,6 +2178,7 @@ function sortTsconfig() {
|
|
|
2178
2178
|
}
|
|
2179
2179
|
|
|
2180
2180
|
// src/configs/test.ts
|
|
2181
|
+
var _pluginTest;
|
|
2181
2182
|
async function test(options = {}) {
|
|
2182
2183
|
const {
|
|
2183
2184
|
files = GLOB_TESTS,
|
|
@@ -2192,18 +2193,19 @@ async function test(options = {}) {
|
|
|
2192
2193
|
// @ts-expect-error missing types
|
|
2193
2194
|
interopDefault(import("eslint-plugin-no-only-tests"))
|
|
2194
2195
|
]);
|
|
2196
|
+
_pluginTest = _pluginTest || {
|
|
2197
|
+
...pluginVitest,
|
|
2198
|
+
rules: {
|
|
2199
|
+
...pluginVitest.rules,
|
|
2200
|
+
// extend `test/no-only-tests` rule
|
|
2201
|
+
...pluginNoOnlyTests.rules
|
|
2202
|
+
}
|
|
2203
|
+
};
|
|
2195
2204
|
return [
|
|
2196
2205
|
{
|
|
2197
2206
|
name: "vinicunca/test/setup",
|
|
2198
2207
|
plugins: {
|
|
2199
|
-
test:
|
|
2200
|
-
...pluginVitest,
|
|
2201
|
-
rules: {
|
|
2202
|
-
...pluginVitest.rules,
|
|
2203
|
-
// extend `test/no-only-tests` rule
|
|
2204
|
-
...pluginNoOnlyTests.rules
|
|
2205
|
-
}
|
|
2206
|
-
}
|
|
2208
|
+
test: _pluginTest
|
|
2207
2209
|
}
|
|
2208
2210
|
},
|
|
2209
2211
|
{
|