@itcase/lint 1.1.138 → 1.1.139

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/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## [1.1.139](https://github.com/ITCase/itcase-lint/compare/v1.1.138...v1.1.139) (2026-12-03)
2
+
3
+ ### Continuous Integrations
4
+
5
+ * **other:** add publish permissions and npm github release preset ([501702a](https://github.com/ITCase/itcase-lint/commit/501702abaf0bc91a8f4e1d963f65f77b8ca85894))
6
+ * **other:** bump node version in publish workflow to 26.13 ([27c33a1](https://github.com/ITCase/itcase-lint/commit/27c33a184bcadcc1c50bc917ef5cbab467426c22))
7
+ * **other:** remove npm dependabot configuration ([ca8157c](https://github.com/ITCase/itcase-lint/commit/ca8157c7169693f5e11150ff5188d2116a347cb7))
8
+
9
+ ### Dependencies
10
+
11
+ * **other:** bump dependencies ([b56406e](https://github.com/ITCase/itcase-lint/commit/b56406e543e471de08c7a7ae31b1756f7f8b36e6))
12
+ * **eslint:** bump eslint parser and plugin dependencies ([3335fa6](https://github.com/ITCase/itcase-lint/commit/3335fa629d015af2eb552e8e50bbb1418e5430c0))
13
+
1
14
  ## [1.1.138](https://github.com/ITCase/itcase-lint/compare/v1.1.137...v1.1.138) (2026-11-17)
2
15
 
3
16
  ### Features
@@ -2,9 +2,6 @@ declare const _default: ({
2
2
  plugins: {
3
3
  mobx: import("@eslint/core").Plugin & {
4
4
  configs: {
5
- recommended: import("eslint").Linter.LegacyConfig;
6
- };
7
- flatConfigs: {
8
5
  recommended: import("eslint").Linter.Config;
9
6
  };
10
7
  };
@@ -32,6 +32,7 @@ declare const _default: {
32
32
  readonly "storybook/default-exports": "error";
33
33
  readonly "storybook/hierarchy-separator": "warn";
34
34
  readonly "storybook/no-redundant-story-name": "warn";
35
+ readonly "storybook/static-csf-properties": "error";
35
36
  readonly "storybook/story-exports": "error";
36
37
  readonly "storybook/no-uninstalled-addons"?: undefined;
37
38
  };
@@ -45,6 +46,7 @@ declare const _default: {
45
46
  readonly "storybook/default-exports"?: undefined;
46
47
  readonly "storybook/hierarchy-separator"?: undefined;
47
48
  readonly "storybook/no-redundant-story-name"?: undefined;
49
+ readonly "storybook/static-csf-properties"?: undefined;
48
50
  readonly "storybook/story-exports"?: undefined;
49
51
  };
50
52
  })[];
@@ -101,6 +103,7 @@ declare const _default: {
101
103
  readonly "storybook/no-redundant-story-name": "warn";
102
104
  readonly "storybook/no-renderer-packages": "error";
103
105
  readonly "storybook/prefer-pascal-case": "warn";
106
+ readonly "storybook/static-csf-properties": "error";
104
107
  readonly "storybook/story-exports": "error";
105
108
  readonly "storybook/use-storybook-expect": "error";
106
109
  readonly "storybook/use-storybook-testing-library": "error";
@@ -119,6 +122,7 @@ declare const _default: {
119
122
  readonly "storybook/no-redundant-story-name"?: undefined;
120
123
  readonly "storybook/no-renderer-packages"?: undefined;
121
124
  readonly "storybook/prefer-pascal-case"?: undefined;
125
+ readonly "storybook/static-csf-properties"?: undefined;
122
126
  readonly "storybook/story-exports"?: undefined;
123
127
  readonly "storybook/use-storybook-expect"?: undefined;
124
128
  readonly "storybook/use-storybook-testing-library"?: undefined;
@@ -150,11 +154,6 @@ declare const _default: {
150
154
  "hierarchy-separator": import("@typescript-eslint/utils/ts-eslint").RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
151
155
  name: string;
152
156
  };
153
- "meta-inline-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldHaveInlineProperties", {
154
- csfVersion: number;
155
- }[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
156
- name: string;
157
- };
158
157
  "meta-satisfies-type": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldSatisfyType", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
159
158
  name: string;
160
159
  };
@@ -179,6 +178,9 @@ declare const _default: {
179
178
  "prefer-pascal-case": import("@typescript-eslint/utils/ts-eslint").RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
180
179
  name: string;
181
180
  };
181
+ "static-csf-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"dynamicProperty" | "propertyBeforeSpread" | "movePropertyAfterSpread" | "unresolvableFactoryMeta" | "invalidPreviewImport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
182
+ name: string;
183
+ };
182
184
  "story-exports": import("@typescript-eslint/utils/ts-eslint").RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
183
185
  name: string;
184
186
  };
@@ -205,6 +207,7 @@ declare const _default: {
205
207
  readonly "storybook/default-exports": "error";
206
208
  readonly "storybook/hierarchy-separator": "warn";
207
209
  readonly "storybook/no-redundant-story-name": "warn";
210
+ readonly "storybook/static-csf-properties": "error";
208
211
  readonly "storybook/story-exports": "error";
209
212
  readonly "storybook/no-uninstalled-addons"?: undefined;
210
213
  };
@@ -220,6 +223,7 @@ declare const _default: {
220
223
  readonly "storybook/default-exports"?: undefined;
221
224
  readonly "storybook/hierarchy-separator"?: undefined;
222
225
  readonly "storybook/no-redundant-story-name"?: undefined;
226
+ readonly "storybook/static-csf-properties"?: undefined;
223
227
  readonly "storybook/story-exports"?: undefined;
224
228
  };
225
229
  plugins?: undefined;
@@ -249,11 +253,6 @@ declare const _default: {
249
253
  "hierarchy-separator": import("@typescript-eslint/utils/ts-eslint").RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
250
254
  name: string;
251
255
  };
252
- "meta-inline-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldHaveInlineProperties", {
253
- csfVersion: number;
254
- }[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
255
- name: string;
256
- };
257
256
  "meta-satisfies-type": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldSatisfyType", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
258
257
  name: string;
259
258
  };
@@ -278,6 +277,9 @@ declare const _default: {
278
277
  "prefer-pascal-case": import("@typescript-eslint/utils/ts-eslint").RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
279
278
  name: string;
280
279
  };
280
+ "static-csf-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"dynamicProperty" | "propertyBeforeSpread" | "movePropertyAfterSpread" | "unresolvableFactoryMeta" | "invalidPreviewImport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
281
+ name: string;
282
+ };
281
283
  "story-exports": import("@typescript-eslint/utils/ts-eslint").RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
282
284
  name: string;
283
285
  };
@@ -304,6 +306,7 @@ declare const _default: {
304
306
  readonly "storybook/default-exports": "error";
305
307
  readonly "storybook/hierarchy-separator": "warn";
306
308
  readonly "storybook/no-redundant-story-name": "warn";
309
+ readonly "storybook/static-csf-properties": "error";
307
310
  readonly "storybook/story-exports": "error";
308
311
  readonly "storybook/no-uninstalled-addons"?: undefined;
309
312
  };
@@ -319,6 +322,7 @@ declare const _default: {
319
322
  readonly "storybook/default-exports"?: undefined;
320
323
  readonly "storybook/hierarchy-separator"?: undefined;
321
324
  readonly "storybook/no-redundant-story-name"?: undefined;
325
+ readonly "storybook/static-csf-properties"?: undefined;
322
326
  readonly "storybook/story-exports"?: undefined;
323
327
  };
324
328
  plugins?: undefined;
@@ -357,11 +361,6 @@ declare const _default: {
357
361
  "hierarchy-separator": import("@typescript-eslint/utils/ts-eslint").RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
358
362
  name: string;
359
363
  };
360
- "meta-inline-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldHaveInlineProperties", {
361
- csfVersion: number;
362
- }[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
363
- name: string;
364
- };
365
364
  "meta-satisfies-type": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldSatisfyType", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
366
365
  name: string;
367
366
  };
@@ -386,6 +385,9 @@ declare const _default: {
386
385
  "prefer-pascal-case": import("@typescript-eslint/utils/ts-eslint").RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
387
386
  name: string;
388
387
  };
388
+ "static-csf-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"dynamicProperty" | "propertyBeforeSpread" | "movePropertyAfterSpread" | "unresolvableFactoryMeta" | "invalidPreviewImport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
389
+ name: string;
390
+ };
389
391
  "story-exports": import("@typescript-eslint/utils/ts-eslint").RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
390
392
  name: string;
391
393
  };
@@ -454,11 +456,6 @@ declare const _default: {
454
456
  "hierarchy-separator": import("@typescript-eslint/utils/ts-eslint").RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
455
457
  name: string;
456
458
  };
457
- "meta-inline-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldHaveInlineProperties", {
458
- csfVersion: number;
459
- }[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
460
- name: string;
461
- };
462
459
  "meta-satisfies-type": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldSatisfyType", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
463
460
  name: string;
464
461
  };
@@ -483,6 +480,9 @@ declare const _default: {
483
480
  "prefer-pascal-case": import("@typescript-eslint/utils/ts-eslint").RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
484
481
  name: string;
485
482
  };
483
+ "static-csf-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"dynamicProperty" | "propertyBeforeSpread" | "movePropertyAfterSpread" | "unresolvableFactoryMeta" | "invalidPreviewImport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
484
+ name: string;
485
+ };
486
486
  "story-exports": import("@typescript-eslint/utils/ts-eslint").RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
487
487
  name: string;
488
488
  };
@@ -512,6 +512,7 @@ declare const _default: {
512
512
  readonly "storybook/no-redundant-story-name": "warn";
513
513
  readonly "storybook/no-renderer-packages": "error";
514
514
  readonly "storybook/prefer-pascal-case": "warn";
515
+ readonly "storybook/static-csf-properties": "error";
515
516
  readonly "storybook/story-exports": "error";
516
517
  readonly "storybook/use-storybook-expect": "error";
517
518
  readonly "storybook/use-storybook-testing-library": "error";
@@ -532,6 +533,7 @@ declare const _default: {
532
533
  readonly "storybook/no-redundant-story-name"?: undefined;
533
534
  readonly "storybook/no-renderer-packages"?: undefined;
534
535
  readonly "storybook/prefer-pascal-case"?: undefined;
536
+ readonly "storybook/static-csf-properties"?: undefined;
535
537
  readonly "storybook/story-exports"?: undefined;
536
538
  readonly "storybook/use-storybook-expect"?: undefined;
537
539
  readonly "storybook/use-storybook-testing-library"?: undefined;
@@ -559,11 +561,6 @@ declare const _default: {
559
561
  "hierarchy-separator": import("@typescript-eslint/utils/ts-eslint").RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
560
562
  name: string;
561
563
  };
562
- "meta-inline-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldHaveInlineProperties", {
563
- csfVersion: number;
564
- }[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
565
- name: string;
566
- };
567
564
  "meta-satisfies-type": import("@typescript-eslint/utils/ts-eslint").RuleModule<"metaShouldSatisfyType", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
568
565
  name: string;
569
566
  };
@@ -588,6 +585,9 @@ declare const _default: {
588
585
  "prefer-pascal-case": import("@typescript-eslint/utils/ts-eslint").RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
589
586
  name: string;
590
587
  };
588
+ "static-csf-properties": import("@typescript-eslint/utils/ts-eslint").RuleModule<"dynamicProperty" | "propertyBeforeSpread" | "movePropertyAfterSpread" | "unresolvableFactoryMeta" | "invalidPreviewImport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
589
+ name: string;
590
+ };
591
591
  "story-exports": import("@typescript-eslint/utils/ts-eslint").RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
592
592
  name: string;
593
593
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.1.138",
3
+ "version": "1.1.139",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets ",
6
6
  "engines": {
@@ -44,25 +44,25 @@
44
44
  "registry": "https://registry.npmjs.org/"
45
45
  },
46
46
  "dependencies": {
47
- "@babel/eslint-parser": "^8.1.2",
48
- "@babel/eslint-plugin": "^8.1.0",
47
+ "@babel/eslint-parser": "^8.1.5",
48
+ "@babel/eslint-plugin": "^8.1.5",
49
49
  "@eslint/compat": "^2.1.1",
50
50
  "@eslint/js": "^10.0.1",
51
- "@eslint/markdown": "^8.0.3",
51
+ "@eslint/markdown": "^9.0.0",
52
52
  "@figma/eslint-plugin-figma-plugins": "^1.0.0",
53
- "@html-eslint/eslint-plugin": "^0.68.0",
54
- "@html-eslint/parser": "^0.68.0",
53
+ "@html-eslint/eslint-plugin": "^0.69.0",
54
+ "@html-eslint/parser": "^0.69.0",
55
55
  "@ianvs/prettier-plugin-sort-imports": "^4.7.1",
56
- "@typescript-eslint/eslint-plugin": "^8.73.0",
57
- "@typescript-eslint/parser": "^8.73.0",
56
+ "@typescript-eslint/eslint-plugin": "^8.74.0",
57
+ "@typescript-eslint/parser": "^8.74.0",
58
58
  "eslint": "9.39.2",
59
- "eslint-config-prettier": "^10.1.8",
59
+ "eslint-config-prettier": "^10.1.9",
60
60
  "eslint-import-resolver-alias": "^1.1.2",
61
61
  "eslint-plugin-html": "^8.2.1",
62
62
  "eslint-plugin-import": "^2.32.0",
63
63
  "eslint-plugin-json": "^5.0.0",
64
- "eslint-plugin-mobx": "^0.2.2",
65
- "eslint-plugin-n": "^18.5.0",
64
+ "eslint-plugin-mobx": "^1.0.0",
65
+ "eslint-plugin-n": "^18.6.0",
66
66
  "eslint-plugin-node": "^11.1.0",
67
67
  "eslint-plugin-perfectionist": "^5.14.0",
68
68
  "eslint-plugin-prettier": "^5.5.7",
@@ -71,28 +71,28 @@
71
71
  "eslint-plugin-react-hooks": "^7.1.1",
72
72
  "eslint-plugin-react-native": "^5.0.0",
73
73
  "eslint-plugin-react-refresh": "^0.5.8",
74
- "eslint-plugin-storybook": "^10.6.7",
75
- "globals": "^17.14.0",
76
- "prettier": "^3.10.1",
77
- "stylelint": "^18.0.0",
78
- "stylelint-config-standard": "^41.0.0",
74
+ "eslint-plugin-storybook": "^11.0.1",
75
+ "globals": "^17.15.0",
76
+ "prettier": "^3.10.2",
77
+ "stylelint": "^18.2.0",
78
+ "stylelint-config-standard": "^41.1.0",
79
79
  "stylelint-no-unsupported-browser-features": "^8.1.2",
80
- "stylelint-order": "^8.1.3",
80
+ "stylelint-order": "^9.0.0",
81
81
  "stylelint-prettier": "^5.1.0",
82
- "typescript-eslint": "^8.73.0"
82
+ "typescript-eslint": "^8.74.0"
83
83
  },
84
84
  "devDependencies": {
85
- "@itcase/config": "^1.7.33",
85
+ "@itcase/config": "^1.7.45",
86
86
  "@rollup/plugin-typescript": "^12.3.1",
87
- "@types/node": "^26.6.6",
88
- "@types/react": "^19.3.0",
89
- "@typescript-eslint/rule-tester": "^8.73.0",
87
+ "@types/node": "^26.6.11",
88
+ "@types/react": "^19.3.3",
89
+ "@typescript-eslint/rule-tester": "^8.74.0",
90
90
  "del-cli": "^8.0.1",
91
91
  "husky": "^9.1.7",
92
- "lint-staged": "^17.6.1",
92
+ "lint-staged": "^17.6.3",
93
93
  "react": "^19.3.1",
94
- "rollup": "4.68.5",
95
- "storybook": "^10.6.7",
94
+ "rollup": "4.69.3",
95
+ "storybook": "^11.0.1",
96
96
  "tsx": "^4.23.15",
97
97
  "typescript": "^6.0.3"
98
98
  }