@agilebot/eslint-config 0.9.1 → 0.9.2
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/bin/eslint-agilebot
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import '../dist/cli.
|
|
2
|
+
import '../dist/cli.mjs';
|
package/dist/{cli.js → cli.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as CLI_NAME } from "./constants-
|
|
1
|
+
import { t as CLI_NAME } from "./constants-DnH_FaAF.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { isCI } from "@agilebot/eslint-utils";
|
|
3
5
|
import yargs from "yargs";
|
|
4
6
|
import { hideBin } from "yargs/helpers";
|
|
5
7
|
import ansis from "ansis";
|
|
6
|
-
import { isCI } from "@agilebot/eslint-utils";
|
|
7
|
-
import path from "node:path";
|
|
8
8
|
|
|
9
9
|
//#region src/cli/stages/eslint.ts
|
|
10
10
|
const require = createRequire(import.meta.url);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as JS_GLOBS, i as IGNORE_GLOBS, n as DEFAULT_GLOBS, o as TS_GLOBS, r as DTS_GLOBS, s as VUE_GLOBS } from "./constants-
|
|
2
|
-
import { findCacheDir, findRootDir, findTsconfigFiles, isInEditor } from "@agilebot/eslint-utils";
|
|
3
|
-
import path from "node:path";
|
|
1
|
+
import { a as JS_GLOBS, i as IGNORE_GLOBS, n as DEFAULT_GLOBS, o as TS_GLOBS, r as DTS_GLOBS, s as VUE_GLOBS } from "./constants-DnH_FaAF.mjs";
|
|
4
2
|
import assert from "node:assert";
|
|
5
3
|
import { fileURLToPath } from "node:url";
|
|
4
|
+
import path from "node:path";
|
|
6
5
|
import * as parserTs from "@typescript-eslint/parser";
|
|
7
6
|
import * as parserVue from "vue-eslint-parser";
|
|
7
|
+
import { findCacheDir, findRootDir, findTsconfigFiles, isInEditor } from "@agilebot/eslint-utils";
|
|
8
8
|
import globals from "globals";
|
|
9
9
|
import pluginImport from "eslint-plugin-import-x";
|
|
10
10
|
import pluginNode from "eslint-plugin-n";
|
|
@@ -630,7 +630,7 @@ function imports(packageDir, opts) {
|
|
|
630
630
|
if (!fs.existsSync(tmpPkgDir)) fs.mkdirSync(tmpPkgDir, { recursive: true });
|
|
631
631
|
const tmpPkgJson = JSON.stringify(tmpPkg, null, 2);
|
|
632
632
|
fs.writeFileSync(path.join(tmpPkgDir, "package.json"), tmpPkgJson);
|
|
633
|
-
const ignorePatterns = [String.raw`\?(react|raw|url|inline|worker|worker&inline|worker&url|sharedworker|sharedworker&inline|sharedworker&url)
|
|
633
|
+
const ignorePatterns = [String.raw`\?(react|raw|url|inline|worker|worker&inline|worker&url|sharedworker|sharedworker&inline|sharedworker&url)$`, String.raw`^bun(:\w+)?$`];
|
|
634
634
|
return {
|
|
635
635
|
name: "agilebot/imports",
|
|
636
636
|
files: DEFAULT_GLOBS,
|
|
@@ -950,7 +950,7 @@ function agilebot(opts) {
|
|
|
950
950
|
}
|
|
951
951
|
|
|
952
952
|
//#endregion
|
|
953
|
-
//#region ../prettier-config/dist/index.
|
|
953
|
+
//#region ../prettier-config/dist/index.mjs
|
|
954
954
|
var src_default = {
|
|
955
955
|
tabWidth: 2,
|
|
956
956
|
singleQuote: true,
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agilebot/eslint-config",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Agilebot's ESLint config",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eslint-agilebot": "bin/eslint-agilebot"
|
|
8
8
|
},
|
|
9
|
-
"main": "./dist/index.
|
|
10
|
-
"types": "./dist/index.d.
|
|
9
|
+
"main": "./dist/index.mjs",
|
|
10
|
+
"types": "./dist/index.d.mts",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
-
"types": "./dist/index.d.
|
|
14
|
-
"import": "./dist/index.
|
|
13
|
+
"types": "./dist/index.d.mts",
|
|
14
|
+
"import": "./dist/index.mjs"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"globals": "^16.2.0",
|
|
59
59
|
"vue-eslint-parser": "^10.1.3",
|
|
60
60
|
"yargs": "^17.7.2",
|
|
61
|
-
"@agilebot/eslint-utils": "0.9.
|
|
61
|
+
"@agilebot/eslint-utils": "0.9.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/yargs": "^17.0.33",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"eslint": "^9.0.0",
|
|
69
|
-
"@agilebot/eslint-plugin": "0.9.
|
|
69
|
+
"@agilebot/eslint-plugin": "0.9.2"
|
|
70
70
|
},
|
|
71
71
|
"files": [
|
|
72
72
|
"bin",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|