@jsse/eslint-config 0.4.25 → 0.4.26
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 +6 -0
- package/dist/{chunk-bekqDN86.js → chunk-VnP9fmST.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/index.d.ts +1199 -457
- package/dist/index.js +1077 -460
- package/dist/{version-B9ymZQwv.js → version-BLrZTyT6.js} +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
8
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
9
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
10
|
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
|
-
var
|
|
11
|
+
var __exportAll = (all, symbols) => {
|
|
12
12
|
let target = {};
|
|
13
13
|
for (var name in all) {
|
|
14
14
|
__defProp(target, name, {
|
|
@@ -41,4 +41,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
41
41
|
}) : target, mod));
|
|
42
42
|
|
|
43
43
|
//#endregion
|
|
44
|
-
export {
|
|
44
|
+
export { __exportAll as n, __toESM as r, __commonJSMin as t };
|
package/dist/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as DEBUG, t as VERSION } from "./version-
|
|
1
|
+
import { n as DEBUG$1, t as VERSION } from "./version-BLrZTyT6.js";
|
|
2
2
|
import process$1 from "node:process";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import { EventEmitter } from "events";
|
|
@@ -577,7 +577,7 @@ var dist_default = cac;
|
|
|
577
577
|
//#endregion
|
|
578
578
|
//#region src/cli.ts
|
|
579
579
|
const cli = cac("jsselint");
|
|
580
|
-
const DEBUG
|
|
580
|
+
const DEBUG = DEBUG$1 || process$1.argv.includes("-debug");
|
|
581
581
|
const CONFIG_OPTIONS_STRING = `
|
|
582
582
|
{
|
|
583
583
|
/**
|
|
@@ -666,7 +666,7 @@ async function main(args) {
|
|
|
666
666
|
const argv = args ?? process$1.argv;
|
|
667
667
|
try {
|
|
668
668
|
const parsed = cli.parse(argv, { run: false });
|
|
669
|
-
if (DEBUG
|
|
669
|
+
if (DEBUG) {
|
|
670
670
|
console.log("=====");
|
|
671
671
|
console.log(parsed);
|
|
672
672
|
console.log("=====");
|