@storm-software/eslint 0.170.78 → 0.170.80
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-H5G3BZKC.js → chunk-2U26IRBT.js} +2 -2
- package/dist/{chunk-ZKDKPCV5.js → chunk-GNREDRXJ.js} +1 -1
- package/dist/{chunk-W2N2UAU4.js → chunk-HUL5SEAB.js} +1 -1
- package/dist/{chunk-XUA7TAHD.js → chunk-I72VXUA2.js} +1 -1
- package/dist/{chunk-KELTZLAL.js → chunk-STWB44U5.js} +3 -3
- package/dist/preset.cjs +6 -10
- package/dist/preset.js +9 -13
- package/dist/types.d.cts +3251 -2779
- package/dist/types.d.ts +3251 -2779
- package/dist/types.js +1 -1
- package/dist/utils/combine.js +1 -1
- package/dist/utils/correct-paths.js +2 -2
- package/dist/utils/find-workspace-root.js +3 -3
- package/dist/utils/format-config.js +1 -1
- 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 +21 -19
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,5 +1,5 @@
|
|
|
1
|
-
import { correctPaths } from './chunk-
|
|
2
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { correctPaths } from './chunk-I72VXUA2.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-HUL5SEAB.js';
|
|
3
3
|
import { existsSync } from 'node:fs';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
5
|
|
|
@@ -37,7 +37,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
37
37
|
));
|
|
38
38
|
var getFilename, __filename$1;
|
|
39
39
|
var init_esm_shims = __esm({
|
|
40
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
40
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/esm_shims.js"() {
|
|
41
41
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
42
42
|
__filename$1 = /* @__PURE__ */ getFilename();
|
|
43
43
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { findWorkspaceRoot } from './chunk-
|
|
2
|
-
import { relative, joinPaths } from './chunk-
|
|
3
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { findWorkspaceRoot } from './chunk-2U26IRBT.js';
|
|
2
|
+
import { relative, joinPaths } from './chunk-I72VXUA2.js';
|
|
3
|
+
import { init_esm_shims } from './chunk-HUL5SEAB.js';
|
|
4
4
|
import { existsSync, statSync } from 'node:fs';
|
|
5
5
|
|
|
6
6
|
// src/utils/tsconfig-path.ts
|
package/dist/preset.cjs
CHANGED
|
@@ -131,10 +131,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
131
131
|
mod
|
|
132
132
|
));
|
|
133
133
|
|
|
134
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
134
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/cjs_shims.js
|
|
135
135
|
var getImportMetaUrl, importMetaUrl;
|
|
136
136
|
var init_cjs_shims = __esm({
|
|
137
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
137
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/cjs_shims.js"() {
|
|
138
138
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
139
139
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
140
140
|
}
|
|
@@ -4439,7 +4439,7 @@ init_cjs_shims();
|
|
|
4439
4439
|
|
|
4440
4440
|
// ../eslint-plugin-banner/package.json
|
|
4441
4441
|
var package_default = {
|
|
4442
|
-
version: "0.0.
|
|
4442
|
+
version: "0.0.19"};
|
|
4443
4443
|
|
|
4444
4444
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
4445
4445
|
init_cjs_shims();
|
|
@@ -18459,7 +18459,7 @@ plugin3.configs = configs3;
|
|
|
18459
18459
|
|
|
18460
18460
|
// ../eslint-plugin-pnpm/package.json
|
|
18461
18461
|
var package_default2 = {
|
|
18462
|
-
version: "0.0.
|
|
18462
|
+
version: "0.0.18"};
|
|
18463
18463
|
|
|
18464
18464
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
18465
18465
|
var plugin4 = {
|
|
@@ -18690,18 +18690,14 @@ async function react(options = {}) {
|
|
|
18690
18690
|
(i) => localPkg.isPackageExists(i)
|
|
18691
18691
|
);
|
|
18692
18692
|
const isUsingReactRouter = ReactRouterPackages.some((i) => localPkg.isPackageExists(i));
|
|
18693
|
-
const plugins = pluginReact.configs.all.plugins;
|
|
18694
18693
|
return [
|
|
18694
|
+
pluginReactHooks.configs.flat["recommended-latest"],
|
|
18695
|
+
isTypeAware ? pluginReact.configs["recommended-type-checked"] : pluginReact.configs["recommended"],
|
|
18695
18696
|
{
|
|
18696
18697
|
name: "storm/react/setup",
|
|
18697
18698
|
plugins: {
|
|
18698
|
-
react: plugins["@eslint-react"],
|
|
18699
|
-
"react-dom": plugins["@eslint-react/dom"],
|
|
18700
18699
|
"react-hooks": pluginReactHooks,
|
|
18701
|
-
"react-hooks-extra": plugins["@eslint-react/hooks-extra"],
|
|
18702
|
-
"react-naming-convention": plugins["@eslint-react/naming-convention"],
|
|
18703
18700
|
"react-refresh": pluginReactRefresh,
|
|
18704
|
-
"react-web-api": plugins["@eslint-react/web-api"],
|
|
18705
18701
|
"react-compiler": pluginReactCompiler
|
|
18706
18702
|
}
|
|
18707
18703
|
},
|
package/dist/preset.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-
|
|
2
|
-
import { getTsConfigPath } from './chunk-
|
|
3
|
-
import { findWorkspaceRoot } from './chunk-
|
|
4
|
-
import { joinPaths } from './chunk-
|
|
5
|
-
import { __commonJS, init_esm_shims, __toESM, __require, __filename as __filename$1 } from './chunk-
|
|
1
|
+
import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-GNREDRXJ.js';
|
|
2
|
+
import { getTsConfigPath } from './chunk-STWB44U5.js';
|
|
3
|
+
import { findWorkspaceRoot } from './chunk-2U26IRBT.js';
|
|
4
|
+
import { joinPaths } from './chunk-I72VXUA2.js';
|
|
5
|
+
import { __commonJS, init_esm_shims, __toESM, __require, __filename as __filename$1 } from './chunk-HUL5SEAB.js';
|
|
6
6
|
import * as __import__microsoft_tsdocConfig from '@microsoft/tsdoc-config';
|
|
7
7
|
import * as __import_path from 'path';
|
|
8
8
|
import * as __import_fs from 'fs';
|
|
@@ -4285,7 +4285,7 @@ init_esm_shims();
|
|
|
4285
4285
|
|
|
4286
4286
|
// ../eslint-plugin-banner/package.json
|
|
4287
4287
|
var package_default = {
|
|
4288
|
-
version: "0.0.
|
|
4288
|
+
version: "0.0.19"};
|
|
4289
4289
|
|
|
4290
4290
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
4291
4291
|
init_esm_shims();
|
|
@@ -18047,7 +18047,7 @@ plugin3.configs = configs3;
|
|
|
18047
18047
|
|
|
18048
18048
|
// ../eslint-plugin-pnpm/package.json
|
|
18049
18049
|
var package_default2 = {
|
|
18050
|
-
version: "0.0.
|
|
18050
|
+
version: "0.0.18"};
|
|
18051
18051
|
|
|
18052
18052
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
18053
18053
|
var plugin4 = {
|
|
@@ -18278,18 +18278,14 @@ async function react(options = {}) {
|
|
|
18278
18278
|
(i) => isPackageExists(i)
|
|
18279
18279
|
);
|
|
18280
18280
|
const isUsingReactRouter = ReactRouterPackages.some((i) => isPackageExists(i));
|
|
18281
|
-
const plugins = pluginReact.configs.all.plugins;
|
|
18282
18281
|
return [
|
|
18282
|
+
pluginReactHooks.configs.flat["recommended-latest"],
|
|
18283
|
+
isTypeAware ? pluginReact.configs["recommended-type-checked"] : pluginReact.configs["recommended"],
|
|
18283
18284
|
{
|
|
18284
18285
|
name: "storm/react/setup",
|
|
18285
18286
|
plugins: {
|
|
18286
|
-
react: plugins["@eslint-react"],
|
|
18287
|
-
"react-dom": plugins["@eslint-react/dom"],
|
|
18288
18287
|
"react-hooks": pluginReactHooks,
|
|
18289
|
-
"react-hooks-extra": plugins["@eslint-react/hooks-extra"],
|
|
18290
|
-
"react-naming-convention": plugins["@eslint-react/naming-convention"],
|
|
18291
18288
|
"react-refresh": pluginReactRefresh,
|
|
18292
|
-
"react-web-api": plugins["@eslint-react/web-api"],
|
|
18293
18289
|
"react-compiler": pluginReactCompiler
|
|
18294
18290
|
}
|
|
18295
18291
|
},
|