@ririd/eslint-config 1.0.0 → 1.0.3
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 +5 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -31,12 +31,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
// src/index.ts
|
|
32
32
|
var src_exports = {};
|
|
33
33
|
__export(src_exports, {
|
|
34
|
-
default: () => src_default
|
|
34
|
+
default: () => src_default,
|
|
35
|
+
ririd: () => ririd
|
|
35
36
|
});
|
|
36
37
|
module.exports = __toCommonJS(src_exports);
|
|
37
38
|
|
|
38
39
|
// src/factory.ts
|
|
39
|
-
var import_eslint_config4 =
|
|
40
|
+
var import_eslint_config4 = require("@antfu/eslint-config");
|
|
40
41
|
|
|
41
42
|
// src/configs/all.ts
|
|
42
43
|
async function all() {
|
|
@@ -167,7 +168,7 @@ async function ririd(options = {}, ...userConfigs) {
|
|
|
167
168
|
configs.push(next());
|
|
168
169
|
if (options.markdown ?? true)
|
|
169
170
|
configs.push(markdown());
|
|
170
|
-
return (0, import_eslint_config4.
|
|
171
|
+
return (0, import_eslint_config4.antfu)(
|
|
171
172
|
options,
|
|
172
173
|
...configs,
|
|
173
174
|
...userConfigs
|
|
@@ -179,5 +180,6 @@ __reExport(src_exports, require("@antfu/eslint-config"), module.exports);
|
|
|
179
180
|
var src_default = ririd;
|
|
180
181
|
// Annotate the CommonJS export names for ESM import in node:
|
|
181
182
|
0 && (module.exports = {
|
|
183
|
+
ririd,
|
|
182
184
|
...require("@antfu/eslint-config")
|
|
183
185
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -10,4 +10,4 @@ interface CustomConfig {
|
|
|
10
10
|
*/
|
|
11
11
|
declare function ririd(options?: OptionsConfig & CustomConfig & FlatConfigItem, ...userConfigs: (UserConfigItem | UserConfigItem[])[]): Promise<UserConfigItem[]>;
|
|
12
12
|
|
|
13
|
-
export { ririd as default };
|
|
13
|
+
export { ririd as default, ririd };
|
package/dist/index.d.ts
CHANGED
|
@@ -10,4 +10,4 @@ interface CustomConfig {
|
|
|
10
10
|
*/
|
|
11
11
|
declare function ririd(options?: OptionsConfig & CustomConfig & FlatConfigItem, ...userConfigs: (UserConfigItem | UserConfigItem[])[]): Promise<UserConfigItem[]>;
|
|
12
12
|
|
|
13
|
-
export { ririd as default };
|
|
13
|
+
export { ririd as default, ririd };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/factory.ts
|
|
2
|
-
import antfu from "@antfu/eslint-config";
|
|
2
|
+
import { antfu } from "@antfu/eslint-config";
|
|
3
3
|
|
|
4
4
|
// src/configs/all.ts
|
|
5
5
|
async function all() {
|
|
@@ -141,5 +141,6 @@ async function ririd(options = {}, ...userConfigs) {
|
|
|
141
141
|
export * from "@antfu/eslint-config";
|
|
142
142
|
var src_default = ririd;
|
|
143
143
|
export {
|
|
144
|
-
src_default as default
|
|
144
|
+
src_default as default,
|
|
145
|
+
ririd
|
|
145
146
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ririd/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"packageManager": "pnpm@8.12.1",
|
|
6
6
|
"author": "Daydreamer Riri <Daydreamerriri@outloot.com> (https://github.com/Daydreamer-riri/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"import": "./dist/index.js",
|
|
15
|
-
"require": "./dist/index.
|
|
15
|
+
"require": "./dist/index.cjs"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"rimraf": "^5.0.1",
|
|
41
41
|
"tsup": "^8.0.1",
|
|
42
42
|
"typescript": "^5.3.3",
|
|
43
|
-
"@ririd/eslint-config": "1.0.
|
|
43
|
+
"@ririd/eslint-config": "1.0.3"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "tsup src/index.ts --format esm,cjs --clean --dts",
|