@fabdeh/eslint-config 0.6.3 → 0.6.4

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.d.mts CHANGED
@@ -858,7 +858,7 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
858
858
  * @returns The name of the nearest package.json
859
859
  */
860
860
  declare function findNearestPackageJsonName(directoryPath?: string): Promise<string>;
861
- type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
861
+ type ResolvedOptions<T> = T extends boolean ? never : T;
862
862
  /**
863
863
  * Returns the object representation of the configuration or an empty object if it is a boolean.
864
864
  *
package/dist/index.mjs CHANGED
@@ -141,7 +141,7 @@ async function findNearestPackageJsonName(directoryPath = resolve()) {
141
141
  function resolveSubOptions(options, key) {
142
142
  const option = options[key];
143
143
  if (typeof option === "boolean") {
144
- throw new TypeError(`Option ${String(key)} should not be boolean.`);
144
+ return void 0;
145
145
  }
146
146
  return option ?? {};
147
147
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fabdeh/eslint-config",
3
3
  "type": "module",
4
- "version": "0.6.3",
4
+ "version": "0.6.4",
5
5
  "packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748",
6
6
  "description": "My personal eslint config preset",
7
7
  "author": {