@jsse/eslint-config 0.2.29 → 0.2.31

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @jsse/eslint-config
2
2
 
3
+ ## 0.2.31
4
+
5
+ ### Patch Changes
6
+
7
+ - update dependencies"
8
+
9
+ ## 0.2.30
10
+
11
+ ### Patch Changes
12
+
13
+ - updated dependencies
14
+
3
15
  ## 0.2.29
4
16
 
5
17
  ### Patch Changes
package/dist/cli.cjs CHANGED
@@ -280,8 +280,8 @@ var Command = class {
280
280
  this.config.ignoreOptionDefaultValue = true;
281
281
  return this;
282
282
  }
283
- version(version2, customFlags = "-v, --version") {
284
- this.versionNumber = version2;
283
+ version(version, customFlags = "-v, --version") {
284
+ this.versionNumber = version;
285
285
  this.option(customFlags, "Display version number");
286
286
  return this;
287
287
  }
@@ -453,8 +453,8 @@ var CAC = class extends import_events.EventEmitter {
453
453
  this.showHelpOnExit = true;
454
454
  return this;
455
455
  }
456
- version(version2, customFlags = "-v, --version") {
457
- this.globalCommand.version(version2, customFlags);
456
+ version(version, customFlags = "-v, --version") {
457
+ this.globalCommand.version(version, customFlags);
458
458
  this.showVersionOnExit = true;
459
459
  return this;
460
460
  }
@@ -611,8 +611,8 @@ var CAC = class extends import_events.EventEmitter {
611
611
  };
612
612
  var cac = (name = "") => new CAC(name);
613
613
 
614
- // package.json
615
- var version = "0.2.29";
614
+ // src/generated/version.ts
615
+ var VERSION = "0.2.31";
616
616
 
617
617
  // src/cli.ts
618
618
  var cli = cac("jsselint");
@@ -696,9 +696,9 @@ cli.command("init", "create eslint config file").option("--force", "force create
696
696
  console.log(`made eslint.config.js (type: ${packageJson.type})`);
697
697
  });
698
698
  cli.command("version", "echo version").action(() => {
699
- console.log(version);
699
+ console.log(VERSION);
700
700
  });
701
- cli.version(typeof version === "string" ? version : "unknown");
701
+ cli.version(typeof VERSION === "string" ? VERSION : "unknown");
702
702
  cli.help();
703
703
  async function main(args) {
704
704
  const argv = args ?? import_node_process.default.argv.slice(2);
package/dist/cli.js CHANGED
@@ -256,8 +256,8 @@ var Command = class {
256
256
  this.config.ignoreOptionDefaultValue = true;
257
257
  return this;
258
258
  }
259
- version(version2, customFlags = "-v, --version") {
260
- this.versionNumber = version2;
259
+ version(version, customFlags = "-v, --version") {
260
+ this.versionNumber = version;
261
261
  this.option(customFlags, "Display version number");
262
262
  return this;
263
263
  }
@@ -429,8 +429,8 @@ var CAC = class extends EventEmitter {
429
429
  this.showHelpOnExit = true;
430
430
  return this;
431
431
  }
432
- version(version2, customFlags = "-v, --version") {
433
- this.globalCommand.version(version2, customFlags);
432
+ version(version, customFlags = "-v, --version") {
433
+ this.globalCommand.version(version, customFlags);
434
434
  this.showVersionOnExit = true;
435
435
  return this;
436
436
  }
@@ -587,8 +587,8 @@ var CAC = class extends EventEmitter {
587
587
  };
588
588
  var cac = (name = "") => new CAC(name);
589
589
 
590
- // package.json
591
- var version = "0.2.29";
590
+ // src/generated/version.ts
591
+ var VERSION = "0.2.31";
592
592
 
593
593
  // src/cli.ts
594
594
  var cli = cac("jsselint");
@@ -672,9 +672,9 @@ cli.command("init", "create eslint config file").option("--force", "force create
672
672
  console.log(`made eslint.config.js (type: ${packageJson.type})`);
673
673
  });
674
674
  cli.command("version", "echo version").action(() => {
675
- console.log(version);
675
+ console.log(VERSION);
676
676
  });
677
- cli.version(typeof version === "string" ? version : "unknown");
677
+ cli.version(typeof VERSION === "string" ? VERSION : "unknown");
678
678
  cli.help();
679
679
  async function main(args) {
680
680
  const argv = args ?? process2.argv.slice(2);
package/dist/esm/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import fs from "node:fs";
3
3
  import process from "node:process";
4
4
  import { cac } from "cac";
5
- import { version } from "../package.json";
5
+ import { VERSION } from "./generated/version.js";
6
6
  const cli = cac("jsselint");
7
7
  const CONFIG_OPTIONS_STRING = `
8
8
  {
@@ -92,9 +92,9 @@ cli
92
92
  console.log(`made eslint.config.js (type: ${packageJson.type})`);
93
93
  });
94
94
  cli.command("version", "echo version").action(() => {
95
- console.log(version);
95
+ console.log(VERSION);
96
96
  });
97
- cli.version(typeof version === "string" ? version : "unknown");
97
+ cli.version(typeof VERSION === "string" ? VERSION : "unknown");
98
98
  cli.help();
99
99
  async function main(args) {
100
100
  const argv = args ?? process.argv.slice(2);
@@ -14,6 +14,7 @@ export const requiresTypeChecking = [
14
14
  "@typescript-eslint/no-implied-eval",
15
15
  "@typescript-eslint/no-meaningless-void-operator",
16
16
  "@typescript-eslint/no-misused-promises",
17
+ "@typescript-eslint/no-misused-spread",
17
18
  "@typescript-eslint/no-mixed-enums",
18
19
  "@typescript-eslint/no-redundant-type-constituents",
19
20
  "@typescript-eslint/no-unnecessary-boolean-literal-compare",
@@ -259,7 +259,6 @@ export const fixableRules = {
259
259
  "@typescript-eslint/promise-function-async",
260
260
  "@typescript-eslint/return-await",
261
261
  "@typescript-eslint/sort-type-constituents",
262
- "@typescript-eslint/strict-boolean-expressions",
263
262
  "@typescript-eslint/use-unknown-in-catch-callback-variable",
264
263
  ],
265
264
  unicorn: [
@@ -384,6 +383,7 @@ export const fixableRules = {
384
383
  "vitest/prefer-to-have-length",
385
384
  "vitest/prefer-todo",
386
385
  "vitest/prefer-vi-mocked",
386
+ "vitest/valid-expect",
387
387
  "vitest/valid-title",
388
388
  ],
389
389
  };
@@ -1 +1 @@
1
- export declare const VERSION = "0.2.29";
1
+ export declare const VERSION = "0.2.31";
@@ -1 +1 @@
1
- export const VERSION = "0.2.29";
1
+ export const VERSION = "0.2.31";