@eienjs/eslint-config 1.4.0 → 1.4.1

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.
@@ -214,10 +214,9 @@ async function typescript(options = {}) {
214
214
  if (isErasableSyntaxOnly) {
215
215
  await ensurePackages(["eslint-plugin-erasable-syntax-only"]);
216
216
  const pluginErasableSyntaxOnly = await interopDefault(import("eslint-plugin-erasable-syntax-only"));
217
- const { enums, parameterProperties } = typeof isErasableSyntaxOnly === "boolean" ? {
218
- enums: true,
219
- parameterProperties: true
220
- } : isErasableSyntaxOnly;
217
+ const resolvedErasableSyntaxOnly = typeof erasableSyntaxOnly === "boolean" ? {} : erasableSyntaxOnly;
218
+ const enums = resolvedErasableSyntaxOnly.enums ?? true;
219
+ const parameterProperties = resolvedErasableSyntaxOnly.parameterProperties ?? true;
221
220
  rules.push({
222
221
  files,
223
222
  name: "eienjs/typescript/erasable-syntax-only",
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "1.4.0";
2
+ var version = "1.4.1";
3
3
 
4
4
  //#endregion
5
5
  export { version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eienjs/eslint-config",
3
3
  "type": "module",
4
- "version": "1.4.0",
4
+ "version": "1.4.1",
5
5
  "description": "EienJS ESLint Config",
6
6
  "author": "Fernando Isidro <luffynando@gmail.com> (https://github.com/luffynando/)",
7
7
  "license": "MIT",