eslint-plugin-complete 1.0.1 → 1.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.
@@ -1,3 +1,3 @@
1
1
  import type { TSESLint } from "@typescript-eslint/utils";
2
- export declare const recommended: TSESLint.FlatConfig.ConfigArray;
2
+ export declare const recommended: TSESLint.FlatConfig.Config[];
3
3
  //# sourceMappingURL=recommended.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recommended.d.ts","sourceRoot":"","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WA2D7C,CAAC"}
1
+ {"version":3,"file":"recommended.d.ts","sourceRoot":"","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,MAAM,EA2DnD,CAAC"}
package/dist/configs.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export declare const configs: {
2
- recommended: import("@typescript-eslint/utils/ts-eslint").FlatConfig.ConfigArray;
2
+ recommended: import("@typescript-eslint/utils/ts-eslint").FlatConfig.Config[];
3
3
  };
4
4
  //# sourceMappingURL=configs.d.ts.map
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ declare const plugin: {
5
5
  version: unknown;
6
6
  };
7
7
  configs: {
8
- recommended: TSESLint.FlatConfig.ConfigArray;
8
+ recommended: TSESLint.FlatConfig.Config[];
9
9
  };
10
10
  rules: {
11
11
  "complete-sentences-jsdoc": TSESLint.RuleModule<import("./completeSentence.js").CompleteSentenceMessageIds, [], import("./interfaces/MyPluginDocs.js").MyPluginDocs, TSESLint.RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"prefer-readonly-parameter-types.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-readonly-parameter-types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAY1E,KAAK,OAAO,GAAG;IACb;QACE,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;QAC/B,wBAAwB,CAAC,EAAE,OAAO,CAAC;QACnC,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,wBAAwB,CAAC,EAAE,OAAO,CAAC;KACpC;CACF,CAAC;AAGF,eAAO,MAAM,4BAA4B,6MA8LvC,CAAC"}
1
+ {"version":3,"file":"prefer-readonly-parameter-types.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-readonly-parameter-types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAY1E,KAAK,OAAO,GAAG;IACb;QACE,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;QAC/B,wBAAwB,CAAC,EAAE,OAAO,CAAC;QACnC,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,wBAAwB,CAAC,EAAE,OAAO,CAAC;KACpC;CACF,CAAC;AAGF,eAAO,MAAM,4BAA4B,6MA4LvC,CAAC"}
@@ -72,7 +72,6 @@ export const preferReadonlyParameterTypes = createRule({
72
72
  AST_NODE_TYPES.TSMethodSignature,
73
73
  ].join(", ")](node) {
74
74
  for (const param of node.params) {
75
- console.log("XX", param);
76
75
  if (checkParameterProperties === false &&
77
76
  param.type === AST_NODE_TYPES.TSParameterProperty) {
78
77
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-complete",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "An ESLint plugin that contains useful rules.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -44,9 +44,9 @@
44
44
  "test": "jest"
45
45
  },
46
46
  "dependencies": {
47
- "@typescript-eslint/type-utils": "^8.5.0",
48
- "@typescript-eslint/utils": "^8.5.0",
49
- "typescript-eslint": "^8.5.0"
47
+ "@typescript-eslint/type-utils": "^8.6.0",
48
+ "@typescript-eslint/utils": "^8.6.0",
49
+ "typescript-eslint": "^8.6.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@babel/core": "^7.25.2",
@@ -54,10 +54,10 @@
54
54
  "@babel/preset-typescript": "^7.24.7",
55
55
  "@types/jest": "^29.5.13",
56
56
  "@types/node": "^22.5.5",
57
- "@typescript-eslint/rule-tester": "^8.5.0",
58
- "@typescript-eslint/types": "^8.5.0",
57
+ "@typescript-eslint/rule-tester": "^8.6.0",
58
+ "@typescript-eslint/types": "^8.6.0",
59
59
  "complete-common": "^1.0.0",
60
- "complete-node": "^1.5.0",
60
+ "complete-node": "^1.5.1",
61
61
  "jest": "^29.7.0",
62
62
  "prettier": "^3.3.3",
63
63
  "typescript": "5.5.4"