@itcase/lint 1.1.114 → 1.1.116
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,15 @@
|
|
|
1
|
+
## [1.1.116](https://github.com/ITCase/itcase-lint/compare/v1.1.115...v1.1.116) (2026-05-22)
|
|
2
|
+
|
|
3
|
+
### Continuous Integrations
|
|
4
|
+
|
|
5
|
+
* **other:** fix husky and update packages ([6456c4c](https://github.com/ITCase/itcase-lint/commit/6456c4cfd64cd918af1e21a0a7378a98e5f77080))
|
|
6
|
+
|
|
7
|
+
## [1.1.115](https://github.com/ITCase/itcase-lint/compare/v1.1.114...v1.1.115) (2026-05-19)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **perfectionist:** Sort ([8fda009](https://github.com/ITCase/itcase-lint/commit/8fda009fc603183cac920d69468a8b5a8d33fc4a))
|
|
12
|
+
|
|
1
13
|
## [1.1.114](https://github.com/ITCase/itcase-lint/compare/v1.1.113...v1.1.114) (2026-05-14)
|
|
2
14
|
|
|
3
15
|
### Refactoring
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { s as sortEnums, a as sortExports, b as sortInterfaces, c as sortIntersectionTypes, d as sortJSXProps, e as sortMaps, f as sortNamedExports, g as sortObjectTypes, h as sortObjects, i as sortUnionTypes } from '../sortUnionTypes_2NZizu0R.js';
|
|
2
2
|
|
|
3
3
|
const sortClasses = [
|
|
4
4
|
'error',
|
package/dist/eslint.js
CHANGED
|
@@ -11,7 +11,7 @@ import eslintReact from 'eslint-plugin-react';
|
|
|
11
11
|
import eslintReactHooks from 'eslint-plugin-react-hooks';
|
|
12
12
|
import globals from 'globals';
|
|
13
13
|
import eslintTypeScript from 'typescript-eslint';
|
|
14
|
-
import {
|
|
14
|
+
import { i as sortUnionTypes, g as sortObjectTypes, h as sortObjects, a as sortExports, f as sortNamedExports, e as sortMaps, d as sortJSXProps, c as sortIntersectionTypes, b as sortInterfaces, s as sortEnums } from './sortUnionTypes_2NZizu0R.js';
|
|
15
15
|
import parser from '@typescript-eslint/parser';
|
|
16
16
|
import { i as itcaseLintPlugin, p as pluginName, r as ruleName, a as pluginName$1, b as ruleName$1, s as storybookConfig } from './index_CLRVzI9l.js';
|
|
17
17
|
import { noRestrictedSyntaxRestrictWords } from './eslint/restrictWords.js';
|
|
@@ -66,6 +66,7 @@ const customGroups = {
|
|
|
66
66
|
textColorActiveHover: '^TextColorActiveHover.*',
|
|
67
67
|
textColorDisabled: '^TextColorDisabled.*',
|
|
68
68
|
textColorHover: '^TextColorHover.*',
|
|
69
|
+
play: '^play.*',
|
|
69
70
|
background: '^background.*',
|
|
70
71
|
ErrorNetworkMock: 'ErrorNetwork$',
|
|
71
72
|
ErrorRequestMock: 'ErrorRequestMock$',
|
|
@@ -260,18 +261,6 @@ const props = [
|
|
|
260
261
|
'hasDanger',
|
|
261
262
|
'hasInfo',
|
|
262
263
|
'hasDisabled',
|
|
263
|
-
'hasAccentMuted',
|
|
264
|
-
'hasPrimaryMuted',
|
|
265
|
-
'hasSecondaryMuted',
|
|
266
|
-
'hasTertiaryMuted',
|
|
267
|
-
'hasQuaternaryMuted',
|
|
268
|
-
'hasSurfaceMuted',
|
|
269
|
-
'hasErrorMuted',
|
|
270
|
-
'hasWarningMuted',
|
|
271
|
-
'hasSuccessMuted',
|
|
272
|
-
'hasDangerMuted',
|
|
273
|
-
'hasInfoMuted',
|
|
274
|
-
'hasDisabledMuted',
|
|
275
264
|
'hasValidation',
|
|
276
265
|
'hasFilled',
|
|
277
266
|
'hasLoading',
|
|
@@ -441,6 +430,18 @@ const props = [
|
|
|
441
430
|
'onSuccess',
|
|
442
431
|
'on',
|
|
443
432
|
'children',
|
|
433
|
+
'hasAccentMuted',
|
|
434
|
+
'hasPrimaryMuted',
|
|
435
|
+
'hasSecondaryMuted',
|
|
436
|
+
'hasTertiaryMuted',
|
|
437
|
+
'hasQuaternaryMuted',
|
|
438
|
+
'hasSurfaceMuted',
|
|
439
|
+
'hasErrorMuted',
|
|
440
|
+
'hasWarningMuted',
|
|
441
|
+
'hasSuccessMuted',
|
|
442
|
+
'hasDangerMuted',
|
|
443
|
+
'hasInfoMuted',
|
|
444
|
+
'hasDisabledMuted',
|
|
444
445
|
// Mock
|
|
445
446
|
'DefaultMock',
|
|
446
447
|
'LoadingMock',
|
|
@@ -546,4 +547,4 @@ const sortUnionTypes = [
|
|
|
546
547
|
},
|
|
547
548
|
];
|
|
548
549
|
|
|
549
|
-
export {
|
|
550
|
+
export { sortExports as a, sortInterfaces as b, sortIntersectionTypes as c, sortJSXProps as d, sortMaps as e, sortNamedExports as f, sortObjectTypes as g, sortObjects as h, sortUnionTypes as i, sortEnums as s };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.116",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets",
|
|
6
6
|
"engines": {
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"@eslint/compat": "^2.1.0",
|
|
51
51
|
"@figma/eslint-plugin-figma-plugins": "^1.0.0",
|
|
52
52
|
"@eslint/js": "^10.0.1",
|
|
53
|
-
"@eslint/markdown": "^8.0.
|
|
53
|
+
"@eslint/markdown": "^8.0.2",
|
|
54
54
|
"@html-eslint/eslint-plugin": "^0.60.0",
|
|
55
55
|
"@html-eslint/parser": "^0.60.0",
|
|
56
56
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^8.59.
|
|
58
|
-
"@typescript-eslint/parser": "^8.59.
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.59.4",
|
|
58
|
+
"@typescript-eslint/parser": "^8.59.4",
|
|
59
59
|
"eslint": "9.39.2",
|
|
60
60
|
"eslint-config-prettier": "^10.1.8",
|
|
61
61
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
@@ -72,21 +72,21 @@
|
|
|
72
72
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
73
73
|
"eslint-plugin-react-native": "^5.0.0",
|
|
74
74
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
75
|
-
"eslint-plugin-storybook": "^10.
|
|
76
|
-
"expo-modules-autolinking": "^
|
|
75
|
+
"eslint-plugin-storybook": "^10.4.1",
|
|
76
|
+
"expo-modules-autolinking": "^56.0.11",
|
|
77
77
|
"globals": "^17.6.0",
|
|
78
78
|
"prettier": "^3.8.3",
|
|
79
|
-
"stylelint": "^17.
|
|
79
|
+
"stylelint": "^17.12.0",
|
|
80
80
|
"stylelint-config-standard": "^40.0.0",
|
|
81
81
|
"stylelint-no-unsupported-browser-features": "^8.1.1",
|
|
82
82
|
"stylelint-order": "^8.1.1",
|
|
83
83
|
"stylelint-prettier": "^5.0.3",
|
|
84
|
-
"typescript-eslint": "^8.59.
|
|
84
|
+
"typescript-eslint": "^8.59.4"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@commitlint/cli": "^21.0.1",
|
|
88
88
|
"@commitlint/config-conventional": "^21.0.1",
|
|
89
|
-
"@itcase/config": "^1.6.
|
|
89
|
+
"@itcase/config": "^1.6.58",
|
|
90
90
|
"@rollup/plugin-alias": "^6.0.0",
|
|
91
91
|
"@rollup/plugin-babel": "^7.0.0",
|
|
92
92
|
"@rollup/plugin-image": "^3.0.3",
|
|
@@ -94,22 +94,22 @@
|
|
|
94
94
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
95
95
|
"@rollup/plugin-terser": "^1.0.0",
|
|
96
96
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
97
|
-
"@types/node": "^25.
|
|
97
|
+
"@types/node": "^25.9.1",
|
|
98
98
|
"@types/react": "^19.2.14",
|
|
99
|
-
"@typescript-eslint/rule-tester": "^8.59.
|
|
99
|
+
"@typescript-eslint/rule-tester": "^8.59.4",
|
|
100
100
|
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
101
101
|
"del-cli": "^7.0.0",
|
|
102
102
|
"husky": "^9.1.7",
|
|
103
|
-
"lint-staged": "^17.0.
|
|
104
|
-
"rollup": "4.60.
|
|
103
|
+
"lint-staged": "^17.0.5",
|
|
104
|
+
"rollup": "4.60.4",
|
|
105
105
|
"rollup-plugin-copy": "^3.5.0",
|
|
106
106
|
"rollup-plugin-dts": "^6.4.1",
|
|
107
107
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
108
108
|
"react": "^19.2.4",
|
|
109
109
|
"rollup-preserve-directives": "^1.1.3",
|
|
110
110
|
"semantic-release": "^25.0.3",
|
|
111
|
-
"storybook": "^10.
|
|
112
|
-
"tsx": "^4.
|
|
111
|
+
"storybook": "^10.4.1",
|
|
112
|
+
"tsx": "^4.22.3",
|
|
113
113
|
"typescript": "^6.0.3"
|
|
114
114
|
}
|
|
115
115
|
}
|