eslint-plugin-rxjs-x 0.0.1 → 0.0.2
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 +3 -0
- package/dist/index.cjs +7 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +6 -7
- package/package.json +11 -5
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# eslint-plugin-rxjs-x
|
|
2
2
|
|
|
3
|
+
[](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/master/LICENSE)
|
|
4
|
+
[](https://www.npmjs.com/package/eslint-plugin-rxjs-x)
|
|
5
|
+
|
|
3
6
|
This package contains a bunch of ESLint v9+ rules for RxJS.
|
|
4
7
|
It is a fork of [`eslint-plugin-rxjs`](https://github.com/cartant/eslint-plugin-rxjs)
|
|
5
8
|
initially started to support the new ESLint flat config format.
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';Object.defineProperty(exports, '__esModule', {value: true});
|
|
2
2
|
|
|
3
3
|
const utils = require('@typescript-eslint/utils');
|
|
4
4
|
const commonTags = require('common-tags');
|
|
@@ -28,7 +28,7 @@ const tsutils__namespace$1 = /*#__PURE__*/_interopNamespaceCompat(tsutils$1);
|
|
|
28
28
|
const decamelize__default = /*#__PURE__*/_interopDefaultCompat(decamelize);
|
|
29
29
|
|
|
30
30
|
const name = "eslint-plugin-rxjs-x";
|
|
31
|
-
const version = "0.0.
|
|
31
|
+
const version = "0.0.2";
|
|
32
32
|
|
|
33
33
|
const createRecommendedConfig = (plugin) => ({
|
|
34
34
|
plugins: {
|
|
@@ -2925,12 +2925,11 @@ const plugin = {
|
|
|
2925
2925
|
"throw-error": throwErrorRule
|
|
2926
2926
|
}
|
|
2927
2927
|
};
|
|
2928
|
-
const
|
|
2929
|
-
recommended: createRecommendedConfig(plugin)
|
|
2930
|
-
};
|
|
2931
|
-
const index = {
|
|
2928
|
+
const rxjsX = {
|
|
2932
2929
|
...plugin,
|
|
2933
|
-
configs
|
|
2930
|
+
configs: {
|
|
2931
|
+
recommended: createRecommendedConfig(plugin)
|
|
2932
|
+
}
|
|
2934
2933
|
};
|
|
2935
2934
|
|
|
2936
|
-
|
|
2935
|
+
exports.default = rxjsX;
|
package/dist/index.d.cts
CHANGED
|
@@ -6,7 +6,7 @@ interface RxjsXRuleDocs {
|
|
|
6
6
|
requiresTypeChecking?: boolean;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
declare const
|
|
9
|
+
declare const rxjsX: {
|
|
10
10
|
configs: {
|
|
11
11
|
recommended: {
|
|
12
12
|
plugins: {
|
|
@@ -118,4 +118,4 @@ declare const _default: {
|
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { rxjsX as default };
|
package/dist/index.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ interface RxjsXRuleDocs {
|
|
|
6
6
|
requiresTypeChecking?: boolean;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
declare const
|
|
9
|
+
declare const rxjsX: {
|
|
10
10
|
configs: {
|
|
11
11
|
recommended: {
|
|
12
12
|
plugins: {
|
|
@@ -118,4 +118,4 @@ declare const _default: {
|
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { rxjsX as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface RxjsXRuleDocs {
|
|
|
6
6
|
requiresTypeChecking?: boolean;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
declare const
|
|
9
|
+
declare const rxjsX: {
|
|
10
10
|
configs: {
|
|
11
11
|
recommended: {
|
|
12
12
|
plugins: {
|
|
@@ -118,4 +118,4 @@ declare const _default: {
|
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { rxjsX as default };
|
package/dist/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import * as tsutils$1 from 'tsutils';
|
|
|
8
8
|
import decamelize from 'decamelize';
|
|
9
9
|
|
|
10
10
|
const name = "eslint-plugin-rxjs-x";
|
|
11
|
-
const version = "0.0.
|
|
11
|
+
const version = "0.0.2";
|
|
12
12
|
|
|
13
13
|
const createRecommendedConfig = (plugin) => ({
|
|
14
14
|
plugins: {
|
|
@@ -2905,12 +2905,11 @@ const plugin = {
|
|
|
2905
2905
|
"throw-error": throwErrorRule
|
|
2906
2906
|
}
|
|
2907
2907
|
};
|
|
2908
|
-
const
|
|
2909
|
-
recommended: createRecommendedConfig(plugin)
|
|
2910
|
-
};
|
|
2911
|
-
const index = {
|
|
2908
|
+
const rxjsX = {
|
|
2912
2909
|
...plugin,
|
|
2913
|
-
configs
|
|
2910
|
+
configs: {
|
|
2911
|
+
recommended: createRecommendedConfig(plugin)
|
|
2912
|
+
}
|
|
2914
2913
|
};
|
|
2915
2914
|
|
|
2916
|
-
export {
|
|
2915
|
+
export { rxjsX as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-rxjs-x",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2",
|
|
5
5
|
"packageManager": "yarn@4.5.1+sha512.341db9396b6e289fecc30cd7ab3af65060e05ebff4b3b47547b278b9e67b08f485ecd8c79006b405446262142c7a38154445ef7f17c1d5d1de7d90bf9ce7054d",
|
|
6
6
|
"description": "ESLint v9+ plugin for RxJS",
|
|
7
7
|
"author": "Jason Weinzierl <weinzierljason@gmail.com>",
|
|
@@ -23,9 +23,14 @@
|
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
"import": {
|
|
27
|
+
"types": "./dist/index.d.mts",
|
|
28
|
+
"default": "./dist/index.mjs"
|
|
29
|
+
},
|
|
30
|
+
"require": {
|
|
31
|
+
"types": "./dist/index.d.cts",
|
|
32
|
+
"default": "./dist/index.cjs"
|
|
33
|
+
}
|
|
29
34
|
}
|
|
30
35
|
},
|
|
31
36
|
"main": "./dist/index.mjs",
|
|
@@ -36,7 +41,7 @@
|
|
|
36
41
|
"docs"
|
|
37
42
|
],
|
|
38
43
|
"scripts": {
|
|
39
|
-
"build": "unbuild",
|
|
44
|
+
"build": "unbuild && tsx scripts/postbuild.ts",
|
|
40
45
|
"lint": "eslint",
|
|
41
46
|
"release": "bumpp && yarn run build",
|
|
42
47
|
"test": "vitest",
|
|
@@ -71,6 +76,7 @@
|
|
|
71
76
|
"eslint-plugin-import-x": "^4.4.0",
|
|
72
77
|
"eslint-plugin-n": "^17.12.0",
|
|
73
78
|
"rxjs": "^7.0.0",
|
|
79
|
+
"tsx": "^4.19.2",
|
|
74
80
|
"typescript": "~5.6.3",
|
|
75
81
|
"typescript-eslint": "^8.12.2",
|
|
76
82
|
"unbuild": "^2.0.0",
|