xenopomp-essentials 0.1.1 → 0.1.3-rc.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/eslint/index.d.mts +27 -0
- package/eslint/index.d.ts +27 -0
- package/package.json +4 -1
package/eslint/index.d.mts
CHANGED
|
@@ -5,6 +5,33 @@ type RiridParams = Parameters<typeof ririd>;
|
|
|
5
5
|
type RiridOptions = Defined<RiridParams[0]>;
|
|
6
6
|
type UserConfig = Defined<RiridParams[1]>;
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* XenoPOMP`s default ESLint config. Uses @ririd/eslint-config
|
|
10
|
+
* under the hood.
|
|
11
|
+
*
|
|
12
|
+
* @param options
|
|
13
|
+
* @param userConfigs
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* import { xenopomp } from 'xenopomp-essentials';
|
|
17
|
+
*
|
|
18
|
+
* export default xenopomp(
|
|
19
|
+
* // Setup Ririd options
|
|
20
|
+
* {
|
|
21
|
+
* react: false,
|
|
22
|
+
* },
|
|
23
|
+
*
|
|
24
|
+
* // Setup custom user configs
|
|
25
|
+
* {
|
|
26
|
+
* name: 'Custom config #1',
|
|
27
|
+
* rules: {
|
|
28
|
+
* 'some/rule-name': 'warn',
|
|
29
|
+
* },
|
|
30
|
+
* // ...
|
|
31
|
+
* },
|
|
32
|
+
* // ...
|
|
33
|
+
* );
|
|
34
|
+
*/
|
|
8
35
|
declare function xenopomp(options?: RiridOptions, ...userConfigs: UserConfig[]): ReturnType<typeof ririd>;
|
|
9
36
|
|
|
10
37
|
export { xenopomp as default };
|
package/eslint/index.d.ts
CHANGED
|
@@ -5,6 +5,33 @@ type RiridParams = Parameters<typeof ririd>;
|
|
|
5
5
|
type RiridOptions = Defined<RiridParams[0]>;
|
|
6
6
|
type UserConfig = Defined<RiridParams[1]>;
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* XenoPOMP`s default ESLint config. Uses @ririd/eslint-config
|
|
10
|
+
* under the hood.
|
|
11
|
+
*
|
|
12
|
+
* @param options
|
|
13
|
+
* @param userConfigs
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* import { xenopomp } from 'xenopomp-essentials';
|
|
17
|
+
*
|
|
18
|
+
* export default xenopomp(
|
|
19
|
+
* // Setup Ririd options
|
|
20
|
+
* {
|
|
21
|
+
* react: false,
|
|
22
|
+
* },
|
|
23
|
+
*
|
|
24
|
+
* // Setup custom user configs
|
|
25
|
+
* {
|
|
26
|
+
* name: 'Custom config #1',
|
|
27
|
+
* rules: {
|
|
28
|
+
* 'some/rule-name': 'warn',
|
|
29
|
+
* },
|
|
30
|
+
* // ...
|
|
31
|
+
* },
|
|
32
|
+
* // ...
|
|
33
|
+
* );
|
|
34
|
+
*/
|
|
8
35
|
declare function xenopomp(options?: RiridOptions, ...userConfigs: UserConfig[]): ReturnType<typeof ririd>;
|
|
9
36
|
|
|
10
37
|
export { xenopomp as default };
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xenopomp-essentials",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3-rc.0",
|
|
4
4
|
"author": "XenoPOMP <101574433+XenoPOMP@users.noreply.github.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"private": false,
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"tag": "rc"
|
|
10
|
+
},
|
|
8
11
|
"repository": {
|
|
9
12
|
"type": "git",
|
|
10
13
|
"url": "https://github.com/XenoPOMP/xenopomp-essentials-js.git"
|