@itcase/lint 1.1.123 → 1.1.125

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,23 @@
1
+ ## [1.1.125](https://github.com/ITCase/itcase-lint/compare/v1.1.124...v1.1.125) (2026-09-10)
2
+
3
+ ### Refactoring
4
+
5
+ * **prettier:** remove react-native preset ([7b709c7](https://github.com/ITCase/itcase-lint/commit/7b709c7e54f1f5aa1a4b00218aecc6359c7fec1f))
6
+
7
+ ### Dependencies
8
+
9
+ * **other:** bump @itcase/config to 1.6.83 ([125f972](https://github.com/ITCase/itcase-lint/commit/125f972ac72b91909fa8c271b5d99504449ad231))
10
+
11
+ ## [1.1.124](https://github.com/ITCase/itcase-lint/compare/v1.1.123...v1.1.124) (2026-09-10)
12
+
13
+ ### Bug Fixes
14
+
15
+ * **eslint:** remove unused ts-expect-error on html plugin ([fc031a2](https://github.com/ITCase/itcase-lint/commit/fc031a2f4c9ca4a41e47bbf8679071d4481993ee))
16
+
17
+ ### Refactoring
18
+
19
+ * **prettier:** fold react-native import order into main config ([ed9c545](https://github.com/ITCase/itcase-lint/commit/ed9c5451a6645874c7cadedec5cd10fe6a39036e))
20
+
1
21
  ## [1.1.123](https://github.com/ITCase/itcase-lint/compare/v1.1.122...v1.1.123) (2026-09-09)
2
22
 
3
23
  ### Bug Fixes
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
- '^(?!.*[.]css)src/(?!icons)(?!stores)(.*)$',
20
- '^src/stores/(.*)$',
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.1.123",
3
+ "version": "1.1.125",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets ",
6
6
  "engines": {
@@ -38,7 +38,6 @@
38
38
  "./eslint/react-native": "./dist/eslint/react-native.js",
39
39
  "./eslint/storybook": "./dist/eslint/storybook.js",
40
40
  "./prettier": "./dist/prettier.js",
41
- "./prettier/react-native": "./dist/prettier/react-native.js",
42
41
  "./stylelint": "./dist/stylelint.js"
43
42
  },
44
43
  "publishConfig": {
@@ -87,7 +86,7 @@
87
86
  "devDependencies": {
88
87
  "@commitlint/cli": "^21.2.2",
89
88
  "@commitlint/config-conventional": "^21.2.2",
90
- "@itcase/config": "^1.6.79",
89
+ "@itcase/config": "^1.6.83",
91
90
  "@rollup/plugin-alias": "^6.0.0",
92
91
  "@rollup/plugin-babel": "^7.1.0",
93
92
  "@rollup/plugin-image": "^3.0.3",
@@ -1,9 +0,0 @@
1
- /**
2
- * @see https://prettier.io/docs/configuration.html
3
- * @type {import("prettier").Config}
4
- */
5
- declare const _default: {
6
- importOrder: string[];
7
- printWidth: number;
8
- };
9
- export default _default;
@@ -1,69 +0,0 @@
1
- /**
2
- * @see https://prettier.io/docs/configuration.html
3
- * @type {import("prettier").Config}
4
- */
5
- // eslint-disable-next-line import/no-default-export
6
- var index = {
7
- importOrder: [
8
- '^react$',
9
- '^react-native$',
10
- '',
11
- '^@expo$',
12
- '^@expo/(.*)$',
13
- '^expo$',
14
- '^expo-(.*)$',
15
- '',
16
- '^mobx$',
17
- '^mobx-react-lite$',
18
- '^mobx-persist-store$',
19
- '',
20
- '^@react-navigation/(.*)$',
21
- '^@react-native-community/(.*)$',
22
- '^react-native-(.*)$',
23
- '',
24
- '^@itcase/(.*)$',
25
- '',
26
- '<THIRD_PARTY_MODULES>',
27
- '',
28
- '^src/enums$',
29
- '^src/enums/(.*)$',
30
- '^src/interfaces$',
31
- '^src/interfaces/(.*)$',
32
- '^src/swagger$',
33
- '^src/swagger/(.*)$',
34
- '^src/constants$',
35
- '^src/constants/(.*)$',
36
- '^src/config$',
37
- '^src/config/(.*)$',
38
- '^src/modules$',
39
- '^src/modules/(.*)$',
40
- '^src/providers$',
41
- '^src/providers/(.*)$',
42
- '^src/navigation$',
43
- '^src/navigation/(.*)$',
44
- '^src/dictionaries$',
45
- '^src/dictionaries/(.*)$',
46
- '^src/forms$',
47
- '^src/forms/(.*)$',
48
- '^src/stores$',
49
- '^src/stores/(.*)$',
50
- '^src/screens$',
51
- '^src/screens/(.*)$',
52
- '^src/components$',
53
- '^src/components/(.*)$',
54
- '^src/screenComponents$',
55
- '^src/screenComponents/(.*)$',
56
- '^src/hooks$',
57
- '^src/hooks/(.*)$',
58
- '^src/utils$',
59
- '^src/utils/(.*)$',
60
- '^src/styles$',
61
- '^src/styles/(.*)$',
62
- '',
63
- '^../(.*)$',
64
- '^./(.*)$',
65
- ],
66
- printWidth: 100,
67
- };
68
-
69
- export { index as default };