@alextheman/eslint-plugin 1.1.3 → 1.2.1

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.cts CHANGED
@@ -1,16 +1,33 @@
1
1
  import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
2
2
 
3
- declare const _default: {
4
- "no-namespace-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"message", [{
5
- allow: string[];
6
- }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
7
- "no-relative-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"message" | "stupidPath", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
8
- };
3
+ var name = "@alextheman/eslint-plugin";
4
+ var version = "1.2.1";
9
5
 
10
- declare const meta: {
11
- name: string;
12
- version: string;
13
- namespace: string;
6
+ interface AlexPlugin {
7
+ meta: {
8
+ name: typeof name;
9
+ version: typeof version;
10
+ namespace: "alextheman";
11
+ };
12
+ configs: Record<string, any>;
13
+ rules: Record<string, any>;
14
+ }
15
+ declare const plugin: {
16
+ meta: {
17
+ name: string;
18
+ version: string;
19
+ namespace: "alextheman";
20
+ };
21
+ configs: {
22
+ alexTypeScriptBase: never[];
23
+ alexTypeScriptReactBase: never[];
24
+ };
25
+ rules: {
26
+ "no-namespace-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"message", [{
27
+ allow: string[];
28
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
29
+ "no-relative-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"message" | "stupidPath", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
30
+ };
14
31
  };
15
32
 
16
- export { meta, _default as rules };
33
+ export { type AlexPlugin, plugin as default };
package/dist/index.d.ts CHANGED
@@ -1,16 +1,33 @@
1
1
  import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
2
2
 
3
- declare const _default: {
4
- "no-namespace-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"message", [{
5
- allow: string[];
6
- }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
7
- "no-relative-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"message" | "stupidPath", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
8
- };
3
+ var name = "@alextheman/eslint-plugin";
4
+ var version = "1.2.1";
9
5
 
10
- declare const meta: {
11
- name: string;
12
- version: string;
13
- namespace: string;
6
+ interface AlexPlugin {
7
+ meta: {
8
+ name: typeof name;
9
+ version: typeof version;
10
+ namespace: "alextheman";
11
+ };
12
+ configs: Record<string, any>;
13
+ rules: Record<string, any>;
14
+ }
15
+ declare const plugin: {
16
+ meta: {
17
+ name: string;
18
+ version: string;
19
+ namespace: "alextheman";
20
+ };
21
+ configs: {
22
+ alexTypeScriptBase: never[];
23
+ alexTypeScriptReactBase: never[];
24
+ };
25
+ rules: {
26
+ "no-namespace-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"message", [{
27
+ allow: string[];
28
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
29
+ "no-relative-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"message" | "stupidPath", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
30
+ };
14
31
  };
15
32
 
16
- export { meta, _default as rules };
33
+ export { type AlexPlugin, plugin as default };