@jsse/eslint-config 0.3.3 → 0.3.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/dist/index.js CHANGED
@@ -10892,6 +10892,8 @@ var fromThrowable = Result.fromThrowable;
10892
10892
  import process3 from "node:process";
10893
10893
 
10894
10894
  // src/lager.ts
10895
+ import Debug from "debug";
10896
+ var debug = Debug("jsse:eslint-config");
10895
10897
  var LAGER_LEVELS = {
10896
10898
  trace: 10,
10897
10899
  debug: 20,
@@ -13217,6 +13219,7 @@ function typescriptParser(options) {
13217
13219
  } = options;
13218
13220
  const typeAware = !!tsconfig;
13219
13221
  if (useProjectService) {
13222
+ debug("ts parser-options using `projectService`project service");
13220
13223
  return {
13221
13224
  files,
13222
13225
  ...ignores2 ? { ignores: ignores2 } : {},
@@ -13229,7 +13232,7 @@ function typescriptParser(options) {
13229
13232
  ...typeAware ? {
13230
13233
  projectService: {
13231
13234
  allowDefaultProject: ["*.js"],
13232
- defaultProject: tsconfig
13235
+ defaultProject: (typeof tsconfig === "string" ? tsconfig : tsconfig[0]) ?? "tsconfig.json"
13233
13236
  },
13234
13237
  tsconfigRootDir: process5.cwd().replaceAll("\\", "/")
13235
13238
  } : {},
@@ -13240,6 +13243,9 @@ function typescriptParser(options) {
13240
13243
  name: name ?? `jsse/typescript/${typeAware ? "type-aware-parser" : "parser"}`
13241
13244
  };
13242
13245
  }
13246
+ debug(
13247
+ "ts parser-options NOT using `projectService`project service - using `project`"
13248
+ );
13243
13249
  return {
13244
13250
  files,
13245
13251
  ...ignores2 ? { ignores: ignores2 } : {},
@@ -13652,7 +13658,7 @@ async function jsse(options = {}, ...userConfigs) {
13652
13658
  const normalizedOptions = normalizeOptions(options);
13653
13659
  const {
13654
13660
  componentExts,
13655
- debug,
13661
+ debug: debug2,
13656
13662
  gitignore: enableGitignore,
13657
13663
  isInEditor: isInEditor2,
13658
13664
  off,
@@ -13665,7 +13671,7 @@ async function jsse(options = {}, ...userConfigs) {
13665
13671
  typeAware,
13666
13672
  typescript: enableTypeScript
13667
13673
  } = normalizedOptions;
13668
- if (debug || process6.argv.includes("--debug")) {
13674
+ if (debug2 || process6.argv.includes("--debug")) {
13669
13675
  log.level = "debug";
13670
13676
  }
13671
13677
  log.debug("@jsse/eslint-config debug=true");
@@ -13851,7 +13857,7 @@ async function defineConfig(options = {}, ...userConfigs) {
13851
13857
  }
13852
13858
 
13853
13859
  // src/generated/version.ts
13854
- var VERSION = "0.3.3";
13860
+ var VERSION = "0.3.5";
13855
13861
 
13856
13862
  // src/presets.ts
13857
13863
  var jsseReact = (options, ...configs) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsse/eslint-config",
3
3
  "type": "module",
4
- "version": "0.3.3",
4
+ "version": "0.3.5",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -65,52 +65,53 @@
65
65
  }
66
66
  },
67
67
  "dependencies": {
68
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
69
- "@eslint/compat": "^1.2.7",
70
- "@eslint/js": "~9.24.0",
71
- "@eslint/markdown": "^6.3.0",
68
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
69
+ "@eslint/compat": "^1.2.8",
70
+ "@eslint/js": "~9.25.1",
71
+ "@eslint/markdown": "^6.4.0",
72
72
  "@stylistic/eslint-plugin": "4.2.0",
73
- "@typescript-eslint/eslint-plugin": "^8.26.1",
74
- "@typescript-eslint/parser": "^8.26.1",
75
- "@vitest/eslint-plugin": "^1.1.36",
73
+ "@typescript-eslint/eslint-plugin": "^8.31.1",
74
+ "@typescript-eslint/parser": "^8.31.1",
75
+ "@vitest/eslint-plugin": "^1.1.43",
76
+ "debug": "^4.4.0",
76
77
  "eslint-config-flat-gitignore": "^2.1.0",
77
- "eslint-define-config": "^2.1.0",
78
78
  "eslint-merge-processors": "^2.0.0",
79
79
  "eslint-plugin-antfu": "^3.1.1",
80
- "eslint-plugin-command": "^3.1.0",
81
- "eslint-plugin-import-x": "^4.6.1",
82
- "eslint-plugin-jsdoc": "^50.6.4",
83
- "eslint-plugin-jsonc": "^2.19.1",
84
- "eslint-plugin-n": "^17.16.2",
80
+ "eslint-plugin-command": "^3.2.0",
81
+ "eslint-plugin-import-x": "^4.11.0",
82
+ "eslint-plugin-jsdoc": "^50.6.11",
83
+ "eslint-plugin-jsonc": "^2.20.0",
84
+ "eslint-plugin-n": "^17.17.0",
85
85
  "eslint-plugin-no-only-tests": "^3.3.0",
86
- "eslint-plugin-perfectionist": "^4.10.1",
87
- "eslint-plugin-react": "~7.37.4",
86
+ "eslint-plugin-perfectionist": "^4.12.3",
87
+ "eslint-plugin-react": "~7.37.5",
88
88
  "eslint-plugin-react-hooks": "~5.2.0",
89
- "eslint-plugin-react-refresh": "~0.4.19",
89
+ "eslint-plugin-react-refresh": "~0.4.20",
90
90
  "eslint-plugin-toml": "^0.12.0",
91
91
  "eslint-plugin-tsdoc": "^0.4.0",
92
92
  "eslint-plugin-unicorn": "^58.0.0",
93
93
  "eslint-plugin-unused-imports": "^4.1.4",
94
- "eslint-plugin-yml": "^1.17.0",
94
+ "eslint-plugin-yml": "^1.18.0",
95
95
  "jsonc-eslint-parser": "^2.4.0",
96
96
  "toml-eslint-parser": "^0.10.0",
97
- "typescript-eslint": "^8.26.1",
97
+ "typescript-eslint": "^8.31.1",
98
98
  "yaml-eslint-parser": "^1.3.0"
99
99
  },
100
100
  "devDependencies": {
101
101
  "@biomejs/biome": "1.9.4",
102
- "@changesets/cli": "^2.28.1",
102
+ "@changesets/cli": "^2.29.2",
103
103
  "@jsse/prettier-config": "^0.1.0",
104
- "@jsse/tsconfig": "^0.2.4",
104
+ "@jsse/tsconfig": "^0.3.0",
105
105
  "@stylistic/eslint-plugin-jsx": "^4.2.0",
106
+ "@types/debug": "^4.1.12",
106
107
  "@types/eslint": "^9.6.1",
107
108
  "@types/fs-extra": "^11.0.4",
108
- "@types/node": "^22.13.10",
109
+ "@types/node": "^22.15.3",
109
110
  "cac": "^6.7.14",
110
- "eslint": "^9.22.0",
111
+ "eslint": "^9.25.1",
111
112
  "eslint-flat-config-utils": "^2.0.1",
112
113
  "eslint-plugin-tailwindcss": "^3.18.0",
113
- "eslint-typegen": "^2.0.0",
114
+ "eslint-typegen": "^2.1.0",
114
115
  "execa": "~9.5.2",
115
116
  "fast-glob": "^3.3.3",
116
117
  "fs-extra": "^11.3.0",
@@ -123,9 +124,9 @@
123
124
  "rimraf": "^6.0.1",
124
125
  "tailwindcss": "^3.4.17",
125
126
  "tsup": "^8.4.0",
126
- "tsx": "^4.19.3",
127
+ "tsx": "^4.19.4",
127
128
  "typescript": "5.8.3",
128
- "vitest": "^3.0.8"
129
+ "vitest": "^3.1.2"
129
130
  },
130
131
  "prettier": "@jsse/prettier-config",
131
132
  "scripts": {