@itcase/lint 1.1.115 → 1.1.117
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,20 @@
|
|
|
1
|
+
## [1.1.117](https://github.com/ITCase/itcase-lint/compare/v1.1.116...v1.1.117) (2026-06-11)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **stylelint:** Update pattern ([975acd3](https://github.com/ITCase/itcase-lint/commit/975acd39881212b6e2751f5598319598d79014ea))
|
|
6
|
+
* **other:** Update ([4c62a13](https://github.com/ITCase/itcase-lint/commit/4c62a13d4f31689ebc0095693addf1f2ec1a62d2))
|
|
7
|
+
|
|
8
|
+
### Dependencies
|
|
9
|
+
|
|
10
|
+
* **other:** bump the npm-dependencies group with 11 updates ([cb7a8b8](https://github.com/ITCase/itcase-lint/commit/cb7a8b8531ea6007f9832d7bec87fe297f3fcb81))
|
|
11
|
+
|
|
12
|
+
## [1.1.116](https://github.com/ITCase/itcase-lint/compare/v1.1.115...v1.1.116) (2026-05-22)
|
|
13
|
+
|
|
14
|
+
### Continuous Integrations
|
|
15
|
+
|
|
16
|
+
* **other:** fix husky and update packages ([6456c4c](https://github.com/ITCase/itcase-lint/commit/6456c4cfd64cd918af1e21a0a7378a98e5f77080))
|
|
17
|
+
|
|
1
18
|
## [1.1.115](https://github.com/ITCase/itcase-lint/compare/v1.1.114...v1.1.115) (2026-05-19)
|
|
2
19
|
|
|
3
20
|
### Features
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { i as sortEnums, c as sortExports, h as sortInterfaces, g as sortIntersectionTypes, f as sortJSXProps, e as sortMaps, d as sortNamedExports, a as sortObjectTypes, b as sortObjects, s as sortUnionTypes } from '../sortUnionTypes_C5VVNaF3.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 { s as sortUnionTypes, a as sortObjectTypes, b as sortObjects, c as sortExports, d as sortNamedExports, e as sortMaps, f as sortJSXProps, g as sortIntersectionTypes, h as sortInterfaces, i as sortEnums } from './sortUnionTypes_C5VVNaF3.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';
|
|
@@ -547,4 +547,4 @@ const sortUnionTypes = [
|
|
|
547
547
|
},
|
|
548
548
|
];
|
|
549
549
|
|
|
550
|
-
export {
|
|
550
|
+
export { sortObjectTypes as a, sortObjects as b, sortExports as c, sortNamedExports as d, sortMaps as e, sortJSXProps as f, sortIntersectionTypes as g, sortInterfaces as h, sortEnums as i, sortUnionTypes as s };
|
|
@@ -75,7 +75,9 @@ declare const _default: {
|
|
|
75
75
|
except: string[];
|
|
76
76
|
ignore: string[];
|
|
77
77
|
})[];
|
|
78
|
-
'selector-class-pattern': string
|
|
78
|
+
'selector-class-pattern': (string | {
|
|
79
|
+
severity: string;
|
|
80
|
+
})[];
|
|
79
81
|
'selector-nested-pattern': string;
|
|
80
82
|
'selector-type-no-unknown': (boolean | {
|
|
81
83
|
ignoreTypes: string[];
|
package/dist/stylelint.js
CHANGED
|
@@ -249,7 +249,12 @@ var index = {
|
|
|
249
249
|
ignore: ['inside-block'],
|
|
250
250
|
},
|
|
251
251
|
],
|
|
252
|
-
'selector-class-pattern':
|
|
252
|
+
'selector-class-pattern': [
|
|
253
|
+
'^[a-z]([-]?[a-z0-9]+)*(__[a-z0-9]([-]?[a-z0-9]+)*)?(--[a-z0-9]([-]?[a-z0-9]+)*)?$',
|
|
254
|
+
{
|
|
255
|
+
severity: 'warning',
|
|
256
|
+
},
|
|
257
|
+
],
|
|
253
258
|
'selector-nested-pattern': '&_*',
|
|
254
259
|
'selector-type-no-unknown': [
|
|
255
260
|
true,
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.117",
|
|
4
4
|
"author": "ITCase",
|
|
5
|
-
"description": "Code style linter configuration presets",
|
|
5
|
+
"description": "Code style linter configuration presets ",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=22"
|
|
8
8
|
},
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"registry": "https://registry.npmjs.org/"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@babel/eslint-parser": "^7.
|
|
49
|
-
"@babel/eslint-plugin": "^7.
|
|
48
|
+
"@babel/eslint-parser": "^7.29.7",
|
|
49
|
+
"@babel/eslint-plugin": "^7.29.7",
|
|
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.
|
|
54
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
55
|
-
"@html-eslint/parser": "^0.
|
|
53
|
+
"@eslint/markdown": "^8.0.2",
|
|
54
|
+
"@html-eslint/eslint-plugin": "^0.62.0",
|
|
55
|
+
"@html-eslint/parser": "^0.62.0",
|
|
56
56
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
58
|
-
"@typescript-eslint/parser": "^8.
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
58
|
+
"@typescript-eslint/parser": "^8.61.0",
|
|
59
59
|
"eslint": "9.39.2",
|
|
60
60
|
"eslint-config-prettier": "^10.1.8",
|
|
61
61
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
@@ -63,53 +63,53 @@
|
|
|
63
63
|
"eslint-plugin-import": "^2.32.0",
|
|
64
64
|
"eslint-plugin-json": "^4.0.1",
|
|
65
65
|
"eslint-plugin-mobx": "^0.0.14",
|
|
66
|
-
"eslint-plugin-n": "^18.0
|
|
66
|
+
"eslint-plugin-n": "^18.1.0",
|
|
67
67
|
"eslint-plugin-node": "^11.1.0",
|
|
68
68
|
"eslint-plugin-perfectionist": "^5.9.0",
|
|
69
|
-
"eslint-plugin-prettier": "^5.5.
|
|
69
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
70
70
|
"eslint-plugin-promise": "^7.3.0",
|
|
71
71
|
"eslint-plugin-react": "^7.37.5",
|
|
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.4.
|
|
76
|
-
"expo-modules-autolinking": "^
|
|
75
|
+
"eslint-plugin-storybook": "^10.4.3",
|
|
76
|
+
"expo-modules-autolinking": "^56.0.15",
|
|
77
77
|
"globals": "^17.6.0",
|
|
78
|
-
"prettier": "^3.8.
|
|
79
|
-
"stylelint": "^17.
|
|
78
|
+
"prettier": "^3.8.4",
|
|
79
|
+
"stylelint": "^17.13.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.
|
|
84
|
+
"typescript-eslint": "^8.61.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@commitlint/cli": "^21.0.
|
|
88
|
-
"@commitlint/config-conventional": "^21.0.
|
|
89
|
-
"@itcase/config": "^1.6.
|
|
87
|
+
"@commitlint/cli": "^21.0.2",
|
|
88
|
+
"@commitlint/config-conventional": "^21.0.2",
|
|
89
|
+
"@itcase/config": "^1.6.58",
|
|
90
90
|
"@rollup/plugin-alias": "^6.0.0",
|
|
91
|
-
"@rollup/plugin-babel": "^7.
|
|
91
|
+
"@rollup/plugin-babel": "^7.1.0",
|
|
92
92
|
"@rollup/plugin-image": "^3.0.3",
|
|
93
93
|
"@rollup/plugin-json": "^6.1.0",
|
|
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.9.
|
|
97
|
+
"@types/node": "^25.9.3",
|
|
98
98
|
"@types/react": "^19.2.14",
|
|
99
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
99
|
+
"@typescript-eslint/rule-tester": "^8.61.0",
|
|
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.
|
|
103
|
+
"lint-staged": "^17.0.7",
|
|
104
|
+
"rollup": "4.61.1",
|
|
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
|
-
"semantic-release": "^25.0.
|
|
111
|
-
"storybook": "^10.4.
|
|
112
|
-
"tsx": "^4.22.
|
|
110
|
+
"semantic-release": "^25.0.5",
|
|
111
|
+
"storybook": "^10.4.3",
|
|
112
|
+
"tsx": "^4.22.4",
|
|
113
113
|
"typescript": "^6.0.3"
|
|
114
114
|
}
|
|
115
115
|
}
|