@itcase/lint 1.1.2 → 1.1.4
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/eslint/perfectionist/sort/props.js +12 -1
- package/package.json +11 -11
- package/stylelint/index.js +5 -8
|
@@ -4,7 +4,6 @@ const props = [
|
|
|
4
4
|
'key',
|
|
5
5
|
'type',
|
|
6
6
|
'name',
|
|
7
|
-
'message',
|
|
8
7
|
|
|
9
8
|
'appearance',
|
|
10
9
|
|
|
@@ -62,6 +61,7 @@ const props = [
|
|
|
62
61
|
'headerTitle',
|
|
63
62
|
'subtitle',
|
|
64
63
|
'label',
|
|
64
|
+
'message',
|
|
65
65
|
'desc',
|
|
66
66
|
'description',
|
|
67
67
|
'prompts',
|
|
@@ -158,6 +158,9 @@ const props = [
|
|
|
158
158
|
'includeFontPadding',
|
|
159
159
|
'writingDirection',
|
|
160
160
|
|
|
161
|
+
// State
|
|
162
|
+
'custom',
|
|
163
|
+
|
|
161
164
|
// Colors
|
|
162
165
|
'colorTokens',
|
|
163
166
|
'primary',
|
|
@@ -172,6 +175,14 @@ const props = [
|
|
|
172
175
|
'danger',
|
|
173
176
|
'disabled',
|
|
174
177
|
|
|
178
|
+
// State
|
|
179
|
+
'error500',
|
|
180
|
+
'fail',
|
|
181
|
+
'nothingFound',
|
|
182
|
+
'unableLoadData',
|
|
183
|
+
'refresh',
|
|
184
|
+
'confirm',
|
|
185
|
+
|
|
175
186
|
// Other
|
|
176
187
|
// Прочее
|
|
177
188
|
'overflow',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets",
|
|
6
6
|
"engines": {
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
"registry": "https://registry.npmjs.org/"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@typescript-eslint/eslint-plugin": "^8.29.
|
|
37
|
-
"@typescript-eslint/parser": "^8.29.
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^8.29.1",
|
|
37
|
+
"@typescript-eslint/parser": "^8.29.1",
|
|
38
38
|
"@babel/eslint-parser": "^7.27.0",
|
|
39
39
|
"@babel/eslint-plugin": "^7.27.0",
|
|
40
40
|
"@eslint/compat": "^1.2.8",
|
|
41
|
-
"@eslint/js": "^9.
|
|
41
|
+
"@eslint/js": "^9.24.0",
|
|
42
42
|
"@eslint/markdown": "^6.3.0",
|
|
43
43
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
44
44
|
"@itcase/config": "^1.0.26",
|
|
45
|
-
"eslint": "^9.
|
|
45
|
+
"eslint": "^9.24.0",
|
|
46
46
|
"eslint-config-prettier": "^10.1.1",
|
|
47
47
|
"eslint-plugin-html": "^8.1.2",
|
|
48
48
|
"eslint-plugin-json": "^4.0.1",
|
|
49
49
|
"eslint-plugin-mobx": "^0.0.13",
|
|
50
50
|
"eslint-plugin-n": "^17.17.0",
|
|
51
51
|
"eslint-plugin-node": "^11.1.0",
|
|
52
|
-
"eslint-plugin-perfectionist": "^4.
|
|
53
|
-
"eslint-plugin-prettier": "^5.2.
|
|
52
|
+
"eslint-plugin-perfectionist": "^4.11.0",
|
|
53
|
+
"eslint-plugin-prettier": "^5.2.6",
|
|
54
54
|
"eslint-plugin-promise": "^7.2.1",
|
|
55
|
-
"eslint-plugin-react": "^7.37.
|
|
55
|
+
"eslint-plugin-react": "^7.37.5",
|
|
56
56
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
57
57
|
"eslint-plugin-react-native": "^5.0.0",
|
|
58
58
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"expo-modules-autolinking": "^2.0.8",
|
|
61
61
|
"globals": "^16.0.0",
|
|
62
62
|
"prettier": "^3.5.3",
|
|
63
|
-
"stylelint-config-standard": "^
|
|
63
|
+
"stylelint-config-standard": "^38.0.0",
|
|
64
64
|
"stylelint-no-unsupported-browser-features": "^8.0.4",
|
|
65
65
|
"stylelint-order": "^6.0.4",
|
|
66
66
|
"stylelint-prettier": "^5.0.3",
|
|
67
|
-
"typescript-eslint": "^8.29.
|
|
67
|
+
"typescript-eslint": "^8.29.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@commitlint/cli": "^19.8.0",
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
"husky": "^9.1.7",
|
|
77
77
|
"lint-staged": "^15.5.0",
|
|
78
78
|
"semantic-release": "^24.2.3",
|
|
79
|
-
"typescript": "^5.8.
|
|
79
|
+
"typescript": "^5.8.3"
|
|
80
80
|
}
|
|
81
81
|
}
|
package/stylelint/index.js
CHANGED
|
@@ -214,12 +214,15 @@ export default {
|
|
|
214
214
|
'/^padding-/': '/.+/',
|
|
215
215
|
'/^margin-/': '/.+/',
|
|
216
216
|
'/^border-/': '/.+/',
|
|
217
|
+
'/-gap$/': '/.+/',
|
|
218
|
+
padding: '/.+/',
|
|
219
|
+
margin: '/.+/',
|
|
220
|
+
border: '/.+/',
|
|
217
221
|
top: '/.+/',
|
|
218
222
|
left: '/.+/',
|
|
219
223
|
right: '/.+/',
|
|
220
224
|
bottom: '/.+/',
|
|
221
225
|
gap: '/.+/',
|
|
222
|
-
'/-gap$/': '/.+/',
|
|
223
226
|
},
|
|
224
227
|
},
|
|
225
228
|
],
|
|
@@ -227,13 +230,7 @@ export default {
|
|
|
227
230
|
'at-rule-no-unknown': [
|
|
228
231
|
true,
|
|
229
232
|
{
|
|
230
|
-
ignoreAtRules: [
|
|
231
|
-
'import-glob',
|
|
232
|
-
'for',
|
|
233
|
-
'each',
|
|
234
|
-
'mixin',
|
|
235
|
-
'define-mixin',
|
|
236
|
-
],
|
|
233
|
+
ignoreAtRules: ['import-glob', 'for', 'each', 'mixin', 'define-mixin'],
|
|
237
234
|
},
|
|
238
235
|
],
|
|
239
236
|
},
|