@webikon/webentor-configs 1.0.0 → 1.0.1

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,5 +1,9 @@
1
1
  # Webentor Configs Changelog
2
2
 
3
+ ## 1.0.1
4
+
5
+ - Fix Prettier import order
6
+
3
7
  ## 1.0.0
4
8
 
5
9
  - Added shared ESLint, Stylelint, and Prettier presets.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webikon/webentor-configs",
3
3
  "homepage": "https://webikon.sk",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "author": "Webikon s.r.o.",
6
6
  "description": "Shared lint and formatting presets for Webentor projects.",
7
7
  "license": "MIT",
@@ -28,17 +28,36 @@ export function createPrettierConfig(overrides = {}) {
28
28
  },
29
29
  ],
30
30
  importOrder: [
31
- '^react',
32
- '<THIRD_PARTY_MODULES>',
33
- '',
34
- '^[.]',
35
- '',
36
- '<TYPES>^[.]',
37
- '<TYPES>',
38
- '',
39
- '^(?!.*[.]css$)[./].*$',
40
- '.css$',
41
- ],
31
+ "^react",
32
+ "<THIRD_PARTY_MODULES>",
33
+ "",
34
+ "^@webentorCore",
35
+ "^@webentorCore/(.*)$",
36
+ "",
37
+ "^@blocks",
38
+ "^@blocks/(.*)$",
39
+ "",
40
+ "^@scripts",
41
+ "^@scripts/(.*)$",
42
+ "^[.]",
43
+ "",
44
+ "^@images",
45
+ "^@images/(.*)$",
46
+ "",
47
+ "^@fonts",
48
+ "^@fonts/(.*)$",
49
+ "",
50
+ "^@styles",
51
+ "^@styles/(.*)$",
52
+ "",
53
+ "<TYPES>^[.]",
54
+ "<TYPES>",
55
+ "^@types",
56
+ "^@types/(.*)$",
57
+ "",
58
+ "^(?!.*[.]css$)[./].*$",
59
+ ".css$"
60
+ ]
42
61
  };
43
62
 
44
63
  // Deep-merge the `overrides` array so consumers can add per-file settings