@itcase/lint 1.1.122 → 1.1.124
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 +27 -0
- package/dist/prettier.js +53 -2
- package/dist/stylelint.js +2 -2
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## [1.1.124](https://github.com/ITCase/itcase-lint/compare/v1.1.123...v1.1.124) (2026-09-10)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **eslint:** remove unused ts-expect-error on html plugin ([fc031a2](https://github.com/ITCase/itcase-lint/commit/fc031a2f4c9ca4a41e47bbf8679071d4481993ee))
|
|
6
|
+
|
|
7
|
+
### Refactoring
|
|
8
|
+
|
|
9
|
+
* **prettier:** fold react-native import order into main config ([ed9c545](https://github.com/ITCase/itcase-lint/commit/ed9c5451a6645874c7cadedec5cd10fe6a39036e))
|
|
10
|
+
|
|
11
|
+
## [1.1.123](https://github.com/ITCase/itcase-lint/compare/v1.1.122...v1.1.123) (2026-09-09)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* update ([771e61f](https://github.com/ITCase/itcase-lint/commit/771e61f3691e878f4e5b78acee93debe899d2e3f))
|
|
16
|
+
|
|
17
|
+
### Continuous Integrations
|
|
18
|
+
|
|
19
|
+
* **other:** add smart-commit make target ([42c0d0c](https://github.com/ITCase/itcase-lint/commit/42c0d0c7e86b1f7d1f481814285fb1e0adfc7740))
|
|
20
|
+
* **other:** bump actions/checkout from 6 to 7 ([4177bf6](https://github.com/ITCase/itcase-lint/commit/4177bf61712e0b14952719cef5c8c9a564f40042))
|
|
21
|
+
* **other:** bump actions/setup-node from 6 to 7 ([8d71043](https://github.com/ITCase/itcase-lint/commit/8d71043dd3bdffcb4667e855de98e731030d944e))
|
|
22
|
+
|
|
23
|
+
### Dependencies
|
|
24
|
+
|
|
25
|
+
* **other:** bump lint and tooling dependencies ([6ae30d9](https://github.com/ITCase/itcase-lint/commit/6ae30d9b9802f5bc97441635b53c6f92e3ad2c29))
|
|
26
|
+
* **other:** pin conventional-changelog-conventionalcommits to 9.3.1 ([24e2df7](https://github.com/ITCase/itcase-lint/commit/24e2df782f2c83b7be759384bfb71cb1149993e2))
|
|
27
|
+
|
|
1
28
|
## [1.1.122](https://github.com/ITCase/itcase-lint/compare/v1.1.121...v1.1.122) (2026-08-14)
|
|
2
29
|
|
|
3
30
|
## [1.1.121](https://github.com/ITCase/itcase-lint/compare/v1.1.120...v1.1.121) (2026-08-07)
|
package/dist/prettier.js
CHANGED
|
@@ -10,15 +10,66 @@ var index = {
|
|
|
10
10
|
'^react-native$',
|
|
11
11
|
'^prop-types$',
|
|
12
12
|
'',
|
|
13
|
+
'^@expo$',
|
|
14
|
+
'^@expo/(.*)$',
|
|
15
|
+
'^expo$',
|
|
16
|
+
'^expo-(.*)$',
|
|
17
|
+
'',
|
|
18
|
+
'^mobx$',
|
|
19
|
+
'^mobx-react-lite$',
|
|
20
|
+
'^mobx-persist-store$',
|
|
21
|
+
'',
|
|
22
|
+
'^@react-navigation/(.*)$',
|
|
23
|
+
'^@react-native-community/(.*)$',
|
|
24
|
+
'^react-native-(.*)$',
|
|
25
|
+
'',
|
|
13
26
|
'<THIRD_PARTY_MODULES>',
|
|
14
27
|
'',
|
|
15
28
|
'^@itcase/(.*)$',
|
|
16
29
|
'',
|
|
17
30
|
'^@packages/(.*)$',
|
|
18
31
|
'',
|
|
19
|
-
'^
|
|
20
|
-
'^src/
|
|
32
|
+
'^src/enums$',
|
|
33
|
+
'^src/enums/(.*)$',
|
|
34
|
+
'^src/interfaces$',
|
|
35
|
+
'^src/interfaces/(.*)$',
|
|
36
|
+
'^src/swagger$',
|
|
37
|
+
'^src/swagger/(.*)$',
|
|
38
|
+
'^src/constants$',
|
|
39
|
+
'^src/constants/(.*)$',
|
|
40
|
+
'^src/config$',
|
|
41
|
+
'^src/config/(.*)$',
|
|
42
|
+
'^src/modules$',
|
|
43
|
+
'^src/modules/(.*)$',
|
|
44
|
+
'^src/services$',
|
|
45
|
+
'^src/services/(.*)$',
|
|
46
|
+
'^src/providers$',
|
|
47
|
+
'^src/providers/(.*)$',
|
|
48
|
+
'^src/navigation$',
|
|
49
|
+
'^src/navigation/(.*)$',
|
|
50
|
+
'^src/dictionaries$',
|
|
51
|
+
'^src/dictionaries/(.*)$',
|
|
52
|
+
'^src/forms$',
|
|
53
|
+
'^src/forms/(.*)$',
|
|
21
54
|
'^src/stores$',
|
|
55
|
+
'^src/stores/(.*)$',
|
|
56
|
+
'^src/screens$',
|
|
57
|
+
'^src/screens/(.*)$',
|
|
58
|
+
'^src/components$',
|
|
59
|
+
'^src/components/(.*)$',
|
|
60
|
+
'^src/formComponents$',
|
|
61
|
+
'^src/formComponents/(.*)$',
|
|
62
|
+
'^src/screenComponents$',
|
|
63
|
+
'^src/screenComponents/(.*)$',
|
|
64
|
+
'^src/screenCompoments$',
|
|
65
|
+
'^src/screenCompoments/(.*)$',
|
|
66
|
+
'^src/hooks$',
|
|
67
|
+
'^src/hooks/(.*)$',
|
|
68
|
+
'^src/utils$',
|
|
69
|
+
'^src/utils/(.*)$',
|
|
70
|
+
'^src/styles$',
|
|
71
|
+
'^src/styles/(.*)$',
|
|
72
|
+
'^(?!.*[.]css)src/(?!icons)(.*)$',
|
|
22
73
|
'^(?!.*[.]css)[.]',
|
|
23
74
|
'',
|
|
24
75
|
'^src/icons$',
|
package/dist/stylelint.js
CHANGED
|
@@ -245,8 +245,8 @@ var index = {
|
|
|
245
245
|
'rule-empty-line-before': [
|
|
246
246
|
'always',
|
|
247
247
|
{
|
|
248
|
-
except: ['first-nested', 'inside-block
|
|
249
|
-
ignore: ['
|
|
248
|
+
except: ['first-nested', 'inside-block'],
|
|
249
|
+
ignore: ['after-comment'],
|
|
250
250
|
},
|
|
251
251
|
],
|
|
252
252
|
'selector-class-pattern': [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.124",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets ",
|
|
6
6
|
"engines": {
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"build": "npm run build-js",
|
|
11
11
|
"build-js": "del-cli dist && rollup -c",
|
|
12
12
|
"dev-js": "rollup -c -w",
|
|
13
|
-
"prepare": "husky",
|
|
13
|
+
"prepare": "husky && node node_modules/@itcase/config/husky-hooks/install-launcher.js",
|
|
14
|
+
"smart-commit": "smart-commit",
|
|
14
15
|
"prepack": "NODE_ENV=production npm run build",
|
|
15
16
|
"pre-commit": "npm run typecheck",
|
|
16
17
|
"semantic-release": "semantic-release",
|
|
@@ -37,7 +38,6 @@
|
|
|
37
38
|
"./eslint/react-native": "./dist/eslint/react-native.js",
|
|
38
39
|
"./eslint/storybook": "./dist/eslint/storybook.js",
|
|
39
40
|
"./prettier": "./dist/prettier.js",
|
|
40
|
-
"./prettier/react-native": "./dist/prettier/react-native.js",
|
|
41
41
|
"./stylelint": "./dist/stylelint.js"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
@@ -47,46 +47,46 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/eslint-parser": "^8.0.1",
|
|
49
49
|
"@babel/eslint-plugin": "^8.0.1",
|
|
50
|
-
"@eslint/compat": "^2.1.
|
|
50
|
+
"@eslint/compat": "^2.1.1",
|
|
51
51
|
"@figma/eslint-plugin-figma-plugins": "^1.0.0",
|
|
52
52
|
"@eslint/js": "^10.0.1",
|
|
53
53
|
"@eslint/markdown": "^8.0.3",
|
|
54
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
55
|
-
"@html-eslint/parser": "^0.
|
|
54
|
+
"@html-eslint/eslint-plugin": "^0.65.0",
|
|
55
|
+
"@html-eslint/parser": "^0.65.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.70.0",
|
|
58
|
+
"@typescript-eslint/parser": "^8.70.0",
|
|
59
59
|
"eslint": "9.39.2",
|
|
60
60
|
"eslint-config-prettier": "^10.1.8",
|
|
61
61
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
62
|
-
"eslint-plugin-html": "^8.
|
|
62
|
+
"eslint-plugin-html": "^8.2.0",
|
|
63
63
|
"eslint-plugin-import": "^2.32.0",
|
|
64
64
|
"eslint-plugin-json": "^5.0.0",
|
|
65
65
|
"eslint-plugin-mobx": "^0.0.14",
|
|
66
66
|
"eslint-plugin-n": "^18.3.0",
|
|
67
67
|
"eslint-plugin-node": "^11.1.0",
|
|
68
|
-
"eslint-plugin-perfectionist": "^5.
|
|
68
|
+
"eslint-plugin-perfectionist": "^5.11.0",
|
|
69
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
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
75
|
-
"eslint-plugin-storybook": "^10.
|
|
76
|
-
"expo-modules-autolinking": "^57.0.
|
|
77
|
-
"globals": "^17.
|
|
74
|
+
"eslint-plugin-react-refresh": "^0.5.6",
|
|
75
|
+
"eslint-plugin-storybook": "^10.6.0",
|
|
76
|
+
"expo-modules-autolinking": "^57.0.12",
|
|
77
|
+
"globals": "^17.12.0",
|
|
78
78
|
"prettier": "^3.9.6",
|
|
79
|
-
"stylelint": "^17.
|
|
79
|
+
"stylelint": "^17.15.0",
|
|
80
80
|
"stylelint-config-standard": "^40.0.0",
|
|
81
|
-
"stylelint-no-unsupported-browser-features": "^8.1.
|
|
81
|
+
"stylelint-no-unsupported-browser-features": "^8.1.2",
|
|
82
82
|
"stylelint-order": "^8.1.1",
|
|
83
83
|
"stylelint-prettier": "^5.0.3",
|
|
84
|
-
"typescript-eslint": "^8.
|
|
84
|
+
"typescript-eslint": "^8.70.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@commitlint/cli": "^21.2.2",
|
|
88
88
|
"@commitlint/config-conventional": "^21.2.2",
|
|
89
|
-
"@itcase/config": "^1.6.
|
|
89
|
+
"@itcase/config": "^1.6.79",
|
|
90
90
|
"@rollup/plugin-alias": "^6.0.0",
|
|
91
91
|
"@rollup/plugin-babel": "^7.1.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": "^26.
|
|
97
|
+
"@types/node": "^26.5.0",
|
|
98
98
|
"@types/react": "^19.2.14",
|
|
99
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
100
|
-
"conventional-changelog-conventionalcommits": "
|
|
99
|
+
"@typescript-eslint/rule-tester": "^8.70.0",
|
|
100
|
+
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
101
101
|
"del-cli": "^7.0.0",
|
|
102
102
|
"husky": "^9.1.7",
|
|
103
|
-
"lint-staged": "^17.
|
|
104
|
-
"rollup": "4.
|
|
103
|
+
"lint-staged": "^17.5.0",
|
|
104
|
+
"rollup": "4.63.1",
|
|
105
105
|
"rollup-plugin-copy": "^3.5.0",
|
|
106
106
|
"rollup-plugin-dts": "^6.5.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.9",
|
|
111
|
-
"storybook": "^10.
|
|
112
|
-
"tsx": "^4.23.
|
|
111
|
+
"storybook": "^10.6.0",
|
|
112
|
+
"tsx": "^4.23.13",
|
|
113
113
|
"typescript": "^6.0.3"
|
|
114
114
|
}
|
|
115
115
|
}
|