@foray1010/eslint-config 10.0.5 → 10.1.0

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
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [10.1.0](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@10.0.5...@foray1010/eslint-config@10.1.0) (2023-03-27)
7
+
8
+ ### Features
9
+
10
+ - **eslint-config:** use inline type imports to avoid duplicate imports ([b6741bb](https://github.com/foray1010/common-presets/commit/b6741bbe0a95a579d1ae85ee32a1c75c309d20a9))
11
+
6
12
  ## [10.0.5](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@10.0.4...@foray1010/eslint-config@10.0.5) (2023-03-24)
7
13
 
8
14
  ### Bug Fixes
package/bases/base.mjs CHANGED
@@ -85,6 +85,8 @@ async function generateTypeScriptConfig() {
85
85
  {
86
86
  // separate type imports which allow certain optimizations within compilers
87
87
  prefer: 'type-imports',
88
+ // Use inline type imports to avoid duplicate imports, but can be overridden by @typescript-eslint/no-import-type-side-effects
89
+ fixStyle: 'inline-type-imports',
88
90
  },
89
91
  ],
90
92
  // disable the base rule as it can report incorrect errors, use @typescript-eslint/dot-notation instead
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/eslint-config",
4
- "version": "10.0.5",
4
+ "version": "10.1.0",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/eslint-config#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "f74fc1c607b33237dd85fede7b8f76f6d298dac6"
67
+ "gitHead": "2cf6add0c0bdb41f645d8d073ea4b9862264804a"
68
68
  }