@progressive-victory/eslint-plugin-index-file 0.0.13 → 0.0.15

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.ts CHANGED
@@ -2,10 +2,10 @@ declare const plugin: {
2
2
  configs: {
3
3
  readonly recommended: {
4
4
  plugins: {
5
- "eslint-index-file-plugin": /*elided*/ any;
5
+ "eslint-plugin-index-file": /*elided*/ any;
6
6
  };
7
- enforceIndexUsageRule: import("@typescript-eslint/utils/ts-eslint").RuleModule<"notExportedInIndex" | "noIndexPresent", [], import("./utils.js").IndexFileDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
8
- name: string;
7
+ rules: {
8
+ "enforce-index-usage": string;
9
9
  };
10
10
  };
11
11
  };
@@ -103,8 +103,10 @@ declare const plugin: {
103
103
  };
104
104
  };
105
105
  };
106
- enforceIndexUsageRule: import("@typescript-eslint/utils/ts-eslint").RuleModule<"notExportedInIndex" | "noIndexPresent", [], import("./utils.js").IndexFileDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
107
- name: string;
106
+ rules: {
107
+ "enforce-index-usage": import("@typescript-eslint/utils/ts-eslint").RuleModule<"notExportedInIndex" | "noIndexPresent", [], import("./utils.js").IndexFileDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
108
+ name: string;
109
+ };
108
110
  };
109
111
  };
110
112
  export default plugin;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQX,CAAA;AASD,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUX,CAAA;AAWD,eAAe,MAAM,CAAC"}
package/dist/index.js CHANGED
@@ -8,13 +8,17 @@ const plugin = {
8
8
  }
9
9
  },
10
10
  meta: { name, version },
11
- enforceIndexUsageRule
11
+ rules: {
12
+ "enforce-index-usage": enforceIndexUsageRule
13
+ }
12
14
  };
13
15
  const recommended = {
14
16
  plugins: {
15
- "eslint-index-file-plugin": plugin
17
+ "eslint-plugin-index-file": plugin
16
18
  },
17
- enforceIndexUsageRule
19
+ rules: {
20
+ "enforce-index-usage": "error"
21
+ }
18
22
  };
19
23
  export default plugin;
20
24
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,kBAAkB,CAAA;AACtD,OAAO,IAAI,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACzD,OAAO,OAAO,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAE5D,MAAM,MAAM,GAAG;IACX,OAAO,EAAE;QACL,IAAI,WAAW;YACX,OAAO,WAAW,CAAA;QACtB,CAAC;KACJ;IACD,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;IACvB,qBAAqB;CACxB,CAAA;AAED,MAAM,WAAW,GAAG;IAChB,OAAO,EAAE;QACL,0BAA0B,EAAE,MAAM;KACrC;IACD,qBAAqB;CACxB,CAAA;AAED,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,kBAAkB,CAAA;AACtD,OAAO,IAAI,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACzD,OAAO,OAAO,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAE5D,MAAM,MAAM,GAAG;IACX,OAAO,EAAE;QACL,IAAI,WAAW;YACX,OAAO,WAAW,CAAA;QACtB,CAAC;KACJ;IACD,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;IACvB,KAAK,EAAE;QACH,qBAAqB,EAAE,qBAAqB;KAC/C;CACJ,CAAA;AAED,MAAM,WAAW,GAAG;IAChB,OAAO,EAAE;QACL,0BAA0B,EAAE,MAAM;KACrC;IACD,KAAK,EAAE;QACH,qBAAqB,EAAE,OAAO;KACjC;CACJ,CAAA;AAED,eAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progressive-victory/eslint-plugin-index-file",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "Plugin that enforces the use of index files with eslint.",
5
5
  "homepage": "https://github.com/Progressive-Victory/eslint-index-file-plugin#readme",
6
6
  "bugs": {