@soleil-se/eslint-config 6.2.4 → 6.2.5

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
@@ -7,6 +7,10 @@ All changes in this repository are noted here.
7
7
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
  and the project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
+ ## [6.2.5] - 2025-05-23
11
+
12
+ * Put types first in the import sort order.
13
+
10
14
  ## [6.2.4] - 2025-05-23
11
15
 
12
16
  * Add import settings for typescript config.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleil-se/eslint-config",
3
- "version": "6.2.4",
3
+ "version": "6.2.5",
4
4
  "description": "ESLint configuration for Sitevision apps and projects.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -111,7 +111,7 @@ export default {
111
111
  // ensure absolute imports are above relative imports and that unassigned imports are ignored
112
112
  // https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/order.md
113
113
  // TODO: enforce a stricter convention in module import order?
114
- 'import/order': ['error', { groups: [['builtin', 'external', 'internal']] }],
114
+ 'import/order': ['error', { groups: [['type', 'builtin', 'external', 'internal']] }],
115
115
 
116
116
  // Require a newline after the last import/require in a group
117
117
  // https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md