@astralarium/repo-config-eslint 0.3.0 → 0.4.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.
Files changed (2) hide show
  1. package/dist/base.js +3 -0
  2. package/package.json +3 -3
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/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.0",
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.2.0",
41
+ "@astralarium/repo-l10n-manifest": "^0.2.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^24.2.0",