eslint-plugin-mgw-eslint-rules 2.2.48 → 2.2.51
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.d.mts +1 -26
- package/dist/index.d.ts +1 -26
- package/dist/index.js +22 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +236 -279
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
|
|
2
1
|
|
|
3
|
-
|
|
4
|
-
recommended: boolean;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
declare const plugin: {
|
|
8
|
-
rules: {
|
|
9
|
-
"prefer-const-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstEnum", [], MyPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
"no-inferrable-types-readonly-properties": _typescript_eslint_utils_ts_eslint.RuleModule<"noInferrableTypesReadonlyProperties", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
13
|
-
name: string;
|
|
14
|
-
};
|
|
15
|
-
"enforce-angular-signal-call": _typescript_eslint_utils_ts_eslint.RuleModule<"useGetter", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
"enforce-template-literal-use": _typescript_eslint_utils_ts_eslint.RuleModule<"useTemplateLiteral", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
"avoid-backtick-without-interpolation": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidBacktickWithoutInterpolation", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
22
|
-
name: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export { plugin as default };
|
|
2
|
+
export { }
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
|
|
2
1
|
|
|
3
|
-
|
|
4
|
-
recommended: boolean;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
declare const plugin: {
|
|
8
|
-
rules: {
|
|
9
|
-
"prefer-const-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstEnum", [], MyPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
"no-inferrable-types-readonly-properties": _typescript_eslint_utils_ts_eslint.RuleModule<"noInferrableTypesReadonlyProperties", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
13
|
-
name: string;
|
|
14
|
-
};
|
|
15
|
-
"enforce-angular-signal-call": _typescript_eslint_utils_ts_eslint.RuleModule<"useGetter", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
"enforce-template-literal-use": _typescript_eslint_utils_ts_eslint.RuleModule<"useTemplateLiteral", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
"avoid-backtick-without-interpolation": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidBacktickWithoutInterpolation", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
22
|
-
name: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export { plugin as default };
|
|
2
|
+
export { }
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,10 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
8
8
|
var __commonJS = (cb, mod) => function __require() {
|
|
9
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
10
|
};
|
|
11
|
+
var __export = (target, all) => {
|
|
12
|
+
for (var name in all)
|
|
13
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
14
|
+
};
|
|
11
15
|
var __copyProps = (to, from, except, desc) => {
|
|
12
16
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
17
|
for (let key of __getOwnPropNames(from))
|
|
@@ -24,6 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
28
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
29
|
mod
|
|
26
30
|
));
|
|
31
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
32
|
|
|
28
33
|
// node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs
|
|
29
34
|
var require_eslint_visitor_keys = __commonJS({
|
|
@@ -11847,6 +11852,13 @@ var require_dist4 = __commonJS({
|
|
|
11847
11852
|
}
|
|
11848
11853
|
});
|
|
11849
11854
|
|
|
11855
|
+
// src/index.ts
|
|
11856
|
+
var index_exports = {};
|
|
11857
|
+
__export(index_exports, {
|
|
11858
|
+
rules: () => rules
|
|
11859
|
+
});
|
|
11860
|
+
module.exports = __toCommonJS(index_exports);
|
|
11861
|
+
|
|
11850
11862
|
// src/rules/avoid-backtick-without-interpolation.ts
|
|
11851
11863
|
var import_utils = __toESM(require_dist4());
|
|
11852
11864
|
var RULE_NAME = "avoid-backtick-without-interpolation";
|
|
@@ -12106,14 +12118,15 @@ var rule5 = createRule5({
|
|
|
12106
12118
|
});
|
|
12107
12119
|
|
|
12108
12120
|
// src/index.ts
|
|
12109
|
-
var
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
[RULE_NAME]: rule
|
|
12116
|
-
}
|
|
12121
|
+
var rules = {
|
|
12122
|
+
[RULE_NAME5]: rule5,
|
|
12123
|
+
[RULE_NAME4]: rule4,
|
|
12124
|
+
[RULE_NAME2]: rule2,
|
|
12125
|
+
[RULE_NAME3]: rule3,
|
|
12126
|
+
[RULE_NAME]: rule
|
|
12117
12127
|
};
|
|
12118
|
-
|
|
12128
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
12129
|
+
0 && (module.exports = {
|
|
12130
|
+
rules
|
|
12131
|
+
});
|
|
12119
12132
|
//# sourceMappingURL=index.js.map
|