@storm-software/eslint 0.170.68 → 0.170.69
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/README.md +1 -1
- package/dist/{chunk-Z2ZFJBUD.js → chunk-C74DAXLP.js} +0 -2
- package/dist/{chunk-WEPTDP5X.js → chunk-DMZFJCWX.js} +2 -5
- package/dist/{chunk-ZZRQVLBJ.js → chunk-RU7GXBCG.js} +0 -3
- package/dist/chunk-WBEFFLSU.js +13 -0
- package/dist/{chunk-EIPIQB5E.js → chunk-WYU7W4UW.js} +1 -4
- package/dist/preset.cjs +14708 -16062
- package/dist/preset.d.cts +1 -0
- package/dist/preset.d.ts +1 -0
- package/dist/preset.js +14549 -15253
- package/dist/types.d.cts +29 -31
- package/dist/types.d.ts +29 -31
- package/dist/types.js +1 -4
- package/dist/utils/combine.d.cts +1 -0
- package/dist/utils/combine.d.ts +1 -0
- package/dist/utils/combine.js +1 -2
- package/dist/utils/correct-paths.js +2 -2
- package/dist/utils/find-workspace-root.js +3 -3
- package/dist/utils/format-config.js +20 -2
- package/dist/utils/helpers.cjs +1 -1
- package/dist/utils/helpers.js +2 -2
- package/dist/utils/tsconfig-path.js +4 -4
- package/package.json +12 -11
- package/dist/chunk-2FWJ22PW.js +0 -349
- package/dist/chunk-LRVZTK6Y.js +0 -21
- package/dist/chunk-QO5ZXGIE.js +0 -46
- package/dist/chunk-UVAZFUOB.js +0 -62
- package/dist/chunk-WHUEAYCR.js +0 -236
- package/dist/utils/banner-plugin.cjs +0 -458
- package/dist/utils/banner-plugin.d.cts +0 -6
- package/dist/utils/banner-plugin.d.ts +0 -6
- package/dist/utils/banner-plugin.js +0 -4
- package/dist/utils/constants.cjs +0 -315
- package/dist/utils/constants.d.cts +0 -83
- package/dist/utils/constants.d.ts +0 -83
- package/dist/utils/constants.js +0 -2
- package/dist/utils/get-file-banner.cjs +0 -103
- package/dist/utils/get-file-banner.d.cts +0 -12
- package/dist/utils/get-file-banner.d.ts +0 -12
- package/dist/utils/get-file-banner.js +0 -3
- package/dist/utils/index.cjs +0 -333
- package/dist/utils/index.d.cts +0 -3
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/index.js +0 -6
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { init_esm_shims } from './chunk-QO5ZXGIE.js';
|
|
2
1
|
import { isPackageExists } from 'local-pkg';
|
|
3
2
|
import process from 'node:process';
|
|
4
3
|
import { fileURLToPath } from 'node:url';
|
|
5
4
|
|
|
6
5
|
// src/utils/helpers.ts
|
|
7
|
-
init_esm_shims();
|
|
8
6
|
var scopeUrl = fileURLToPath(new URL(".", import.meta.url));
|
|
9
7
|
var isCwdInScope = isPackageExists("@storm-software/eslint");
|
|
10
8
|
var parserPlain = {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { findWorkspaceRoot } from './chunk-
|
|
2
|
-
import { relative, joinPaths } from './chunk-
|
|
3
|
-
import { init_esm_shims } from './chunk-QO5ZXGIE.js';
|
|
1
|
+
import { findWorkspaceRoot } from './chunk-WYU7W4UW.js';
|
|
2
|
+
import { relative, joinPaths } from './chunk-RU7GXBCG.js';
|
|
4
3
|
import { existsSync, statSync } from 'node:fs';
|
|
5
4
|
|
|
6
|
-
// src/utils/tsconfig-path.ts
|
|
7
|
-
init_esm_shims();
|
|
8
5
|
function getTsConfigPath(tsconfigPath, type = "app") {
|
|
9
6
|
const workspaceRoot = findWorkspaceRoot();
|
|
10
7
|
if (tsconfigPath && existsSync(tsconfigPath) && statSync(tsconfigPath).isFile()) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { fileURLToPath } from 'url';
|
|
2
|
+
import 'path';
|
|
3
|
+
|
|
4
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
5
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
6
|
+
}) : x)(function(x) {
|
|
7
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
8
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
9
|
+
});
|
|
10
|
+
var getFilename = () => fileURLToPath(import.meta.url);
|
|
11
|
+
var __filename$1 = /* @__PURE__ */ getFilename();
|
|
12
|
+
|
|
13
|
+
export { __filename$1 as __filename, __require };
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { correctPaths } from './chunk-
|
|
2
|
-
import { init_esm_shims } from './chunk-QO5ZXGIE.js';
|
|
1
|
+
import { correctPaths } from './chunk-RU7GXBCG.js';
|
|
3
2
|
import { existsSync } from 'node:fs';
|
|
4
3
|
import { join } from 'node:path';
|
|
5
4
|
|
|
6
|
-
// src/utils/find-workspace-root.ts
|
|
7
|
-
init_esm_shims();
|
|
8
5
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
9
6
|
var depth = 0;
|
|
10
7
|
function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|