@jsse/eslint-config 0.3.4 → 0.3.6

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,
@@ -13019,6 +13021,7 @@ var sortTsconfig = async (options) => {
13019
13021
  "useDefineForClassFields",
13020
13022
  "emitDecoratorMetadata",
13021
13023
  "experimentalDecorators",
13024
+ "libReplacement",
13022
13025
  /* Modules */
13023
13026
  "baseUrl",
13024
13027
  "rootDir",
@@ -13089,9 +13092,11 @@ var sortTsconfig = async (options) => {
13089
13092
  "allowSyntheticDefaultImports",
13090
13093
  "esModuleInterop",
13091
13094
  "forceConsistentCasingInFileNames",
13095
+ "isolatedDeclarations",
13092
13096
  "isolatedModules",
13093
13097
  "preserveSymlinks",
13094
13098
  "verbatimModuleSyntax",
13099
+ "erasableSyntaxOnly",
13095
13100
  /* Completeness */
13096
13101
  "skipDefaultLibCheck",
13097
13102
  "skipLibCheck"
@@ -13217,6 +13222,7 @@ function typescriptParser(options) {
13217
13222
  } = options;
13218
13223
  const typeAware = !!tsconfig;
13219
13224
  if (useProjectService) {
13225
+ debug("ts parser-options using `projectService`project service");
13220
13226
  return {
13221
13227
  files,
13222
13228
  ...ignores2 ? { ignores: ignores2 } : {},
@@ -13229,7 +13235,7 @@ function typescriptParser(options) {
13229
13235
  ...typeAware ? {
13230
13236
  projectService: {
13231
13237
  allowDefaultProject: ["*.js"],
13232
- defaultProject: tsconfig
13238
+ defaultProject: (typeof tsconfig === "string" ? tsconfig : tsconfig[0]) ?? "tsconfig.json"
13233
13239
  },
13234
13240
  tsconfigRootDir: process5.cwd().replaceAll("\\", "/")
13235
13241
  } : {},
@@ -13240,6 +13246,9 @@ function typescriptParser(options) {
13240
13246
  name: name ?? `jsse/typescript/${typeAware ? "type-aware-parser" : "parser"}`
13241
13247
  };
13242
13248
  }
13249
+ debug(
13250
+ "ts parser-options NOT using `projectService`project service - using `project`"
13251
+ );
13243
13252
  return {
13244
13253
  files,
13245
13254
  ...ignores2 ? { ignores: ignores2 } : {},
@@ -13652,7 +13661,7 @@ async function jsse(options = {}, ...userConfigs) {
13652
13661
  const normalizedOptions = normalizeOptions(options);
13653
13662
  const {
13654
13663
  componentExts,
13655
- debug,
13664
+ debug: debug2,
13656
13665
  gitignore: enableGitignore,
13657
13666
  isInEditor: isInEditor2,
13658
13667
  off,
@@ -13665,7 +13674,7 @@ async function jsse(options = {}, ...userConfigs) {
13665
13674
  typeAware,
13666
13675
  typescript: enableTypeScript
13667
13676
  } = normalizedOptions;
13668
- if (debug || process6.argv.includes("--debug")) {
13677
+ if (debug2 || process6.argv.includes("--debug")) {
13669
13678
  log.level = "debug";
13670
13679
  }
13671
13680
  log.debug("@jsse/eslint-config debug=true");
@@ -13851,7 +13860,7 @@ async function defineConfig(options = {}, ...userConfigs) {
13851
13860
  }
13852
13861
 
13853
13862
  // src/generated/version.ts
13854
- var VERSION = "0.3.4";
13863
+ var VERSION = "0.3.6";
13855
13864
 
13856
13865
  // src/presets.ts
13857
13866
  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.4",
4
+ "version": "0.3.6",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -65,51 +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",
68
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
69
+ "@eslint/compat": "^1.2.8",
70
70
  "@eslint/js": "~9.25.1",
71
- "@eslint/markdown": "^6.3.0",
71
+ "@eslint/markdown": "^6.4.0",
72
72
  "@stylistic/eslint-plugin": "4.2.0",
73
- "@typescript-eslint/eslint-plugin": "^8.31.0",
74
- "@typescript-eslint/parser": "^8.31.0",
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
78
  "eslint-merge-processors": "^2.0.0",
78
79
  "eslint-plugin-antfu": "^3.1.1",
79
- "eslint-plugin-command": "^3.1.0",
80
- "eslint-plugin-import-x": "^4.6.1",
81
- "eslint-plugin-jsdoc": "^50.6.4",
82
- "eslint-plugin-jsonc": "^2.19.1",
83
- "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",
84
85
  "eslint-plugin-no-only-tests": "^3.3.0",
85
- "eslint-plugin-perfectionist": "^4.10.1",
86
- "eslint-plugin-react": "~7.37.4",
86
+ "eslint-plugin-perfectionist": "^4.12.3",
87
+ "eslint-plugin-react": "~7.37.5",
87
88
  "eslint-plugin-react-hooks": "~5.2.0",
88
89
  "eslint-plugin-react-refresh": "~0.4.20",
89
90
  "eslint-plugin-toml": "^0.12.0",
90
91
  "eslint-plugin-tsdoc": "^0.4.0",
91
92
  "eslint-plugin-unicorn": "^58.0.0",
92
93
  "eslint-plugin-unused-imports": "^4.1.4",
93
- "eslint-plugin-yml": "^1.17.0",
94
+ "eslint-plugin-yml": "^1.18.0",
94
95
  "jsonc-eslint-parser": "^2.4.0",
95
96
  "toml-eslint-parser": "^0.10.0",
96
- "typescript-eslint": "^8.31.0",
97
+ "typescript-eslint": "^8.31.1",
97
98
  "yaml-eslint-parser": "^1.3.0"
98
99
  },
99
100
  "devDependencies": {
100
101
  "@biomejs/biome": "1.9.4",
101
- "@changesets/cli": "^2.28.1",
102
+ "@changesets/cli": "^2.29.2",
102
103
  "@jsse/prettier-config": "^0.1.0",
103
104
  "@jsse/tsconfig": "^0.3.0",
104
105
  "@stylistic/eslint-plugin-jsx": "^4.2.0",
106
+ "@types/debug": "^4.1.12",
105
107
  "@types/eslint": "^9.6.1",
106
108
  "@types/fs-extra": "^11.0.4",
107
- "@types/node": "^22.14.1",
109
+ "@types/node": "^22.15.3",
108
110
  "cac": "^6.7.14",
109
111
  "eslint": "^9.25.1",
110
112
  "eslint-flat-config-utils": "^2.0.1",
111
113
  "eslint-plugin-tailwindcss": "^3.18.0",
112
- "eslint-typegen": "^2.0.0",
114
+ "eslint-typegen": "^2.1.0",
113
115
  "execa": "~9.5.2",
114
116
  "fast-glob": "^3.3.3",
115
117
  "fs-extra": "^11.3.0",
@@ -122,9 +124,9 @@
122
124
  "rimraf": "^6.0.1",
123
125
  "tailwindcss": "^3.4.17",
124
126
  "tsup": "^8.4.0",
125
- "tsx": "^4.19.3",
127
+ "tsx": "^4.19.4",
126
128
  "typescript": "5.8.3",
127
- "vitest": "^3.0.8"
129
+ "vitest": "^3.1.2"
128
130
  },
129
131
  "prettier": "@jsse/prettier-config",
130
132
  "scripts": {