@astralarium/repo-config-eslint 0.3.0 → 0.4.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/dist/base.js CHANGED
@@ -140,10 +140,13 @@ export const baseLayer = defineConfig(globalIgnores([
140
140
  }, {
141
141
  plugins: {
142
142
  "simple-import-sort": simpleImportSort,
143
+ "import-x": importX,
143
144
  },
144
145
  rules: {
145
146
  "simple-import-sort/imports": "error",
146
147
  "simple-import-sort/exports": "error",
148
+ // Autofix merges imports of one module, types inline.
149
+ "import-x/no-duplicates": ["error", { "prefer-inline": true }],
147
150
  },
148
151
  }, {
149
152
  plugins: {
package/dist/telemetry.js CHANGED
@@ -1,6 +1,7 @@
1
1
  /** `telemetry/template`: event names, literal templates and argument contracts of telemetry log calls. */
2
2
  import { templateArguments } from "@astralarium/icu-template";
3
- import { mtimeCached, nearestPackage, readPackageManifest, TYPESCRIPT_SOURCE, } from "@astralarium/repo-package-files";
3
+ import { mtimeCached, TYPESCRIPT_SOURCE, } from "@astralarium/repo-package-files";
4
+ import { nearestPackage, readPackageManifest, } from "@astralarium/repo-package-files/manifest";
4
5
  import { AST_NODE_TYPES, } from "@typescript-eslint/utils";
5
6
  import { plugin, staticString } from "./plugin.js";
6
7
  /** Logger methods, one per level. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astralarium/repo-config-eslint",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/astralarium/repo/tree/main/packages/repo-config-eslint#readme",
6
6
  "repository": {
@@ -37,8 +37,8 @@
37
37
  "globals": "^17.5.0",
38
38
  "typescript-eslint": "^8.71.0",
39
39
  "@astralarium/icu-template": "^0.1.0",
40
- "@astralarium/repo-package-files": "^0.1.0",
41
- "@astralarium/repo-l10n-manifest": "^0.1.1"
40
+ "@astralarium/repo-package-files": "^0.3.0",
41
+ "@astralarium/repo-l10n-manifest": "^0.2.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^24.2.0",