@whoj/eslint-config 2.3.3 → 2.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/cli.js +7 -2
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -112,7 +112,7 @@ import c2 from "picocolors";
112
112
  var package_default = {
113
113
  name: "@whoj/eslint-config",
114
114
  type: "module",
115
- version: "2.3.3",
115
+ version: "2.4.0",
116
116
  packageManager: "pnpm@10.2.1",
117
117
  description: "ESLint config",
118
118
  license: "MIT",
@@ -515,7 +515,12 @@ async function updateJetbrainsIdea(result, flatConfigPath) {
515
515
  }
516
516
  await fsp3.writeFile(
517
517
  ideaFlatConfigPath,
518
- getJetbrainsEslintConfigContent(flatConfigPath),
518
+ getJetbrainsEslintConfigContent(
519
+ path3.relative(
520
+ path3.dirname(ideaFlatConfigPath),
521
+ flatConfigPath
522
+ )
523
+ ),
519
524
  "utf8"
520
525
  );
521
526
  p3.log.success(c4.green(`Created ${path3.relative(cwd, ideaFlatConfigPath)}`));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@whoj/eslint-config",
3
3
  "type": "module",
4
- "version": "2.3.3",
4
+ "version": "2.4.0",
5
5
  "description": "ESLint config",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/who-jonson/eslint-config",
@@ -113,7 +113,7 @@
113
113
  "typescript": "^5.7.3",
114
114
  "vitest": "^3.0.4",
115
115
  "vue": "^3.5.13",
116
- "@whoj/eslint-config": "2.3.3"
116
+ "@whoj/eslint-config": "2.4.0"
117
117
  },
118
118
  "resolutions": {
119
119
  "@eslint-community/eslint-utils": "^4.4.1",