@storm-software/eslint 0.169.108 → 0.169.110
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/dist/{chunk-KD3E54TD.js → chunk-2V6EZM6D.js} +3 -3
- package/dist/{chunk-PKXKXCCD.js → chunk-655D5XKH.js} +1 -1
- package/dist/{chunk-V4HRYKCY.js → chunk-6DUZFXFW.js} +1 -1
- package/dist/{chunk-H3RCHNCA.js → chunk-6TIYLGBO.js} +1 -1
- package/dist/{chunk-RSOBNZB3.js → chunk-ASU5M27G.js} +1 -1
- package/dist/{chunk-HGKDUUP5.js → chunk-HGCOK6XC.js} +2 -2
- package/dist/{chunk-SMKQOITJ.js → chunk-M7EEUVBU.js} +3 -3
- package/dist/{chunk-VWADAV3Y.js → chunk-XK2F42EF.js} +1 -1
- package/dist/{chunk-Q25MSM3K.js → chunk-ZZUD7FM2.js} +2 -2
- package/dist/preset.cjs +2 -2
- package/dist/preset.js +8 -8
- package/dist/types.d.cts +49 -0
- package/dist/types.d.ts +49 -0
- package/dist/types.js +1 -1
- package/dist/utils/banner-plugin.js +4 -4
- package/dist/utils/combine.js +1 -1
- package/dist/utils/constants.js +2 -2
- package/dist/utils/correct-paths.js +2 -2
- package/dist/utils/find-workspace-root.js +3 -3
- package/dist/utils/format-config.js +2 -2
- package/dist/utils/get-file-banner.js +3 -3
- package/dist/utils/helpers.cjs +1 -1
- package/dist/utils/helpers.js +2 -2
- package/dist/utils/index.js +3 -3
- package/dist/utils/tsconfig-path.js +4 -4
- package/package.json +9 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getFileBanner } from './chunk-
|
|
2
|
-
import { GLOB_SRC } from './chunk-
|
|
3
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { getFileBanner } from './chunk-ZZUD7FM2.js';
|
|
2
|
+
import { GLOB_SRC } from './chunk-6TIYLGBO.js';
|
|
3
|
+
import { init_esm_shims } from './chunk-655D5XKH.js';
|
|
4
4
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
5
5
|
import os from 'node:os';
|
|
6
6
|
|
|
@@ -30,7 +30,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
mod
|
|
31
31
|
));
|
|
32
32
|
var init_esm_shims = __esm({
|
|
33
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
33
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__008a54d3eaeaa383d843d27c70975cf9/node_modules/tsup/assets/esm_shims.js"() {
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { correctPaths } from './chunk-
|
|
2
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { correctPaths } from './chunk-6DUZFXFW.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-655D5XKH.js';
|
|
3
3
|
import { existsSync } from 'node:fs';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
5
|
|
|
@@ -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-HGCOK6XC.js';
|
|
2
|
+
import { relative, joinPaths } from './chunk-6DUZFXFW.js';
|
|
3
|
+
import { init_esm_shims } from './chunk-655D5XKH.js';
|
|
4
4
|
import { existsSync, statSync } from 'node:fs';
|
|
5
5
|
|
|
6
6
|
// src/utils/tsconfig-path.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACRONYMS_LIST } from './chunk-
|
|
2
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { ACRONYMS_LIST } from './chunk-6TIYLGBO.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-655D5XKH.js';
|
|
3
3
|
|
|
4
4
|
// src/utils/get-file-banner.ts
|
|
5
5
|
init_esm_shims();
|
package/dist/preset.cjs
CHANGED
|
@@ -112,10 +112,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
112
112
|
mod
|
|
113
113
|
));
|
|
114
114
|
|
|
115
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
115
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__008a54d3eaeaa383d843d27c70975cf9/node_modules/tsup/assets/cjs_shims.js
|
|
116
116
|
var getImportMetaUrl, importMetaUrl;
|
|
117
117
|
var init_cjs_shims = __esm({
|
|
118
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
118
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__008a54d3eaeaa383d843d27c70975cf9/node_modules/tsup/assets/cjs_shims.js"() {
|
|
119
119
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
120
120
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
121
121
|
}
|
package/dist/preset.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-
|
|
2
|
-
import { getTsConfigPath } from './chunk-
|
|
3
|
-
import { banner_plugin_default } from './chunk-
|
|
4
|
-
import { getFileBanner } from './chunk-
|
|
5
|
-
import { GLOB_EXCLUDE, GLOB_TS, GLOB_TSX, GLOB_JSX, GLOB_MARKDOWN, GLOB_ASTRO_TS, GLOB_SRC, GLOB_TESTS, GLOB_ASTRO, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_YAML, GLOB_TOML, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_CSS, GLOB_POSTCSS, GLOB_SCSS, GLOB_LESS, GLOB_HTML, GLOB_XML, GLOB_SVG, GLOB_GRAPHQL, GLOB_SRC_EXT } from './chunk-
|
|
6
|
-
import { findWorkspaceRoot } from './chunk-
|
|
7
|
-
import { joinPaths } from './chunk-
|
|
8
|
-
import { __commonJS, init_esm_shims, __toESM } from './chunk-
|
|
1
|
+
import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-XK2F42EF.js';
|
|
2
|
+
import { getTsConfigPath } from './chunk-M7EEUVBU.js';
|
|
3
|
+
import { banner_plugin_default } from './chunk-2V6EZM6D.js';
|
|
4
|
+
import { getFileBanner } from './chunk-ZZUD7FM2.js';
|
|
5
|
+
import { GLOB_EXCLUDE, GLOB_TS, GLOB_TSX, GLOB_JSX, GLOB_MARKDOWN, GLOB_ASTRO_TS, GLOB_SRC, GLOB_TESTS, GLOB_ASTRO, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_YAML, GLOB_TOML, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_CSS, GLOB_POSTCSS, GLOB_SCSS, GLOB_LESS, GLOB_HTML, GLOB_XML, GLOB_SVG, GLOB_GRAPHQL, GLOB_SRC_EXT } from './chunk-6TIYLGBO.js';
|
|
6
|
+
import { findWorkspaceRoot } from './chunk-HGCOK6XC.js';
|
|
7
|
+
import { joinPaths } from './chunk-6DUZFXFW.js';
|
|
8
|
+
import { __commonJS, init_esm_shims, __toESM } from './chunk-655D5XKH.js';
|
|
9
9
|
import * as __import__microsoft_tsdocConfig from '@microsoft/tsdoc-config';
|
|
10
10
|
import * as __import_path from 'path';
|
|
11
11
|
import * as __import_fs from 'fs';
|
package/dist/types.d.cts
CHANGED
|
@@ -15881,36 +15881,49 @@ type TemplateCurlySpacing = []|[("always" | "never")]
|
|
|
15881
15881
|
type TemplateTagSpacing = []|[("always" | "never")]
|
|
15882
15882
|
// ----- test/consistent-each-for -----
|
|
15883
15883
|
type TestConsistentEachFor = []|[{
|
|
15884
|
+
|
|
15884
15885
|
test?: ("each" | "for")
|
|
15886
|
+
|
|
15885
15887
|
it?: ("each" | "for")
|
|
15888
|
+
|
|
15886
15889
|
describe?: ("each" | "for")
|
|
15890
|
+
|
|
15887
15891
|
suite?: ("each" | "for")
|
|
15888
15892
|
}]
|
|
15889
15893
|
// ----- test/consistent-test-filename -----
|
|
15890
15894
|
type TestConsistentTestFilename = []|[{
|
|
15895
|
+
|
|
15891
15896
|
pattern?: string
|
|
15897
|
+
|
|
15892
15898
|
allTestPattern?: string
|
|
15893
15899
|
}]
|
|
15894
15900
|
// ----- test/consistent-test-it -----
|
|
15895
15901
|
type TestConsistentTestIt = []|[{
|
|
15902
|
+
|
|
15896
15903
|
fn?: ("test" | "it")
|
|
15904
|
+
|
|
15897
15905
|
withinDescribe?: ("test" | "it")
|
|
15898
15906
|
}]
|
|
15899
15907
|
// ----- test/consistent-vitest-vi -----
|
|
15900
15908
|
type TestConsistentVitestVi = []|[{
|
|
15909
|
+
|
|
15901
15910
|
fn?: ("vi" | "vitest")
|
|
15902
15911
|
}]
|
|
15903
15912
|
// ----- test/expect-expect -----
|
|
15904
15913
|
type TestExpectExpect = []|[{
|
|
15914
|
+
|
|
15905
15915
|
assertFunctionNames?: string[]
|
|
15916
|
+
|
|
15906
15917
|
additionalTestBlockFunctions?: string[]
|
|
15907
15918
|
}]
|
|
15908
15919
|
// ----- test/max-expects -----
|
|
15909
15920
|
type TestMaxExpects = []|[{
|
|
15921
|
+
|
|
15910
15922
|
max?: number
|
|
15911
15923
|
}]
|
|
15912
15924
|
// ----- test/max-nested-describe -----
|
|
15913
15925
|
type TestMaxNestedDescribe = []|[{
|
|
15926
|
+
|
|
15914
15927
|
max?: number
|
|
15915
15928
|
}]
|
|
15916
15929
|
// ----- test/no-conditional-expect -----
|
|
@@ -15920,6 +15933,7 @@ type TestNoConditionalExpect = []|[{
|
|
|
15920
15933
|
}]
|
|
15921
15934
|
// ----- test/no-focused-tests -----
|
|
15922
15935
|
type TestNoFocusedTests = []|[{
|
|
15936
|
+
|
|
15923
15937
|
fixable?: boolean
|
|
15924
15938
|
}]
|
|
15925
15939
|
// ----- test/no-hooks -----
|
|
@@ -15929,8 +15943,11 @@ type TestNoHooks = []|[{
|
|
|
15929
15943
|
}]
|
|
15930
15944
|
// ----- test/no-large-snapshots -----
|
|
15931
15945
|
type TestNoLargeSnapshots = []|[{
|
|
15946
|
+
|
|
15932
15947
|
maxSize?: number
|
|
15948
|
+
|
|
15933
15949
|
inlineMaxSize?: number
|
|
15950
|
+
|
|
15934
15951
|
allowedSnapshots?: {
|
|
15935
15952
|
[k: string]: unknown[] | undefined
|
|
15936
15953
|
}
|
|
@@ -15952,50 +15969,69 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
15952
15969
|
}]
|
|
15953
15970
|
// ----- test/no-standalone-expect -----
|
|
15954
15971
|
type TestNoStandaloneExpect = []|[{
|
|
15972
|
+
|
|
15955
15973
|
additionalTestBlockFunctions?: string[]
|
|
15956
15974
|
}]
|
|
15957
15975
|
// ----- test/prefer-expect-assertions -----
|
|
15958
15976
|
type TestPreferExpectAssertions = []|[{
|
|
15977
|
+
|
|
15959
15978
|
onlyFunctionsWithAsyncKeyword?: boolean
|
|
15979
|
+
|
|
15960
15980
|
onlyFunctionsWithExpectInLoop?: boolean
|
|
15981
|
+
|
|
15961
15982
|
onlyFunctionsWithExpectInCallback?: boolean
|
|
15962
15983
|
}]
|
|
15963
15984
|
// ----- test/prefer-import-in-mock -----
|
|
15964
15985
|
type TestPreferImportInMock = []|[{
|
|
15986
|
+
|
|
15965
15987
|
fixable?: boolean
|
|
15966
15988
|
}]
|
|
15967
15989
|
// ----- test/prefer-lowercase-title -----
|
|
15968
15990
|
type TestPreferLowercaseTitle = []|[{
|
|
15991
|
+
|
|
15969
15992
|
ignore?: ("describe" | "test" | "it")[]
|
|
15993
|
+
|
|
15970
15994
|
allowedPrefixes?: string[]
|
|
15995
|
+
|
|
15971
15996
|
ignoreTopLevelDescribe?: boolean
|
|
15997
|
+
|
|
15972
15998
|
lowercaseFirstCharacterOnly?: boolean
|
|
15973
15999
|
}]
|
|
15974
16000
|
// ----- test/prefer-snapshot-hint -----
|
|
15975
16001
|
type TestPreferSnapshotHint = []|[("always" | "multi")]
|
|
15976
16002
|
// ----- test/require-hook -----
|
|
15977
16003
|
type TestRequireHook = []|[{
|
|
16004
|
+
|
|
15978
16005
|
allowedFunctionCalls?: string[]
|
|
15979
16006
|
}]
|
|
15980
16007
|
// ----- test/require-mock-type-parameters -----
|
|
15981
16008
|
type TestRequireMockTypeParameters = []|[{
|
|
16009
|
+
|
|
15982
16010
|
checkImportFunctions?: boolean
|
|
15983
16011
|
}]
|
|
15984
16012
|
// ----- test/require-top-level-describe -----
|
|
15985
16013
|
type TestRequireTopLevelDescribe = []|[{
|
|
16014
|
+
|
|
15986
16015
|
maxNumberOfTopLevelDescribes?: number
|
|
15987
16016
|
}]
|
|
15988
16017
|
// ----- test/valid-expect -----
|
|
15989
16018
|
type TestValidExpect = []|[{
|
|
16019
|
+
|
|
15990
16020
|
alwaysAwait?: boolean
|
|
16021
|
+
|
|
15991
16022
|
asyncMatchers?: string[]
|
|
16023
|
+
|
|
15992
16024
|
minArgs?: number
|
|
16025
|
+
|
|
15993
16026
|
maxArgs?: number
|
|
15994
16027
|
}]
|
|
15995
16028
|
// ----- test/valid-title -----
|
|
15996
16029
|
type TestValidTitle = []|[{
|
|
16030
|
+
|
|
15997
16031
|
ignoreTypeOfDescribeName?: boolean
|
|
16032
|
+
|
|
15998
16033
|
allowArguments?: boolean
|
|
16034
|
+
|
|
15999
16035
|
disallowedWords?: string[]
|
|
16000
16036
|
[k: string]: (string | [string]|[string, string] | {
|
|
16001
16037
|
[k: string]: (string | [string]|[string, string]) | undefined
|
|
@@ -17142,6 +17178,19 @@ type TsPreferOptionalChain = []|[{
|
|
|
17142
17178
|
// ----- ts/prefer-promise-reject-errors -----
|
|
17143
17179
|
type TsPreferPromiseRejectErrors = []|[{
|
|
17144
17180
|
|
|
17181
|
+
allow?: (string | {
|
|
17182
|
+
from: "file"
|
|
17183
|
+
name: (string | [string, ...(string)[]])
|
|
17184
|
+
path?: string
|
|
17185
|
+
} | {
|
|
17186
|
+
from: "lib"
|
|
17187
|
+
name: (string | [string, ...(string)[]])
|
|
17188
|
+
} | {
|
|
17189
|
+
from: "package"
|
|
17190
|
+
name: (string | [string, ...(string)[]])
|
|
17191
|
+
package: string
|
|
17192
|
+
})[]
|
|
17193
|
+
|
|
17145
17194
|
allowEmptyReject?: boolean
|
|
17146
17195
|
|
|
17147
17196
|
allowThrowingAny?: boolean
|
package/dist/types.d.ts
CHANGED
|
@@ -15881,36 +15881,49 @@ type TemplateCurlySpacing = []|[("always" | "never")]
|
|
|
15881
15881
|
type TemplateTagSpacing = []|[("always" | "never")]
|
|
15882
15882
|
// ----- test/consistent-each-for -----
|
|
15883
15883
|
type TestConsistentEachFor = []|[{
|
|
15884
|
+
|
|
15884
15885
|
test?: ("each" | "for")
|
|
15886
|
+
|
|
15885
15887
|
it?: ("each" | "for")
|
|
15888
|
+
|
|
15886
15889
|
describe?: ("each" | "for")
|
|
15890
|
+
|
|
15887
15891
|
suite?: ("each" | "for")
|
|
15888
15892
|
}]
|
|
15889
15893
|
// ----- test/consistent-test-filename -----
|
|
15890
15894
|
type TestConsistentTestFilename = []|[{
|
|
15895
|
+
|
|
15891
15896
|
pattern?: string
|
|
15897
|
+
|
|
15892
15898
|
allTestPattern?: string
|
|
15893
15899
|
}]
|
|
15894
15900
|
// ----- test/consistent-test-it -----
|
|
15895
15901
|
type TestConsistentTestIt = []|[{
|
|
15902
|
+
|
|
15896
15903
|
fn?: ("test" | "it")
|
|
15904
|
+
|
|
15897
15905
|
withinDescribe?: ("test" | "it")
|
|
15898
15906
|
}]
|
|
15899
15907
|
// ----- test/consistent-vitest-vi -----
|
|
15900
15908
|
type TestConsistentVitestVi = []|[{
|
|
15909
|
+
|
|
15901
15910
|
fn?: ("vi" | "vitest")
|
|
15902
15911
|
}]
|
|
15903
15912
|
// ----- test/expect-expect -----
|
|
15904
15913
|
type TestExpectExpect = []|[{
|
|
15914
|
+
|
|
15905
15915
|
assertFunctionNames?: string[]
|
|
15916
|
+
|
|
15906
15917
|
additionalTestBlockFunctions?: string[]
|
|
15907
15918
|
}]
|
|
15908
15919
|
// ----- test/max-expects -----
|
|
15909
15920
|
type TestMaxExpects = []|[{
|
|
15921
|
+
|
|
15910
15922
|
max?: number
|
|
15911
15923
|
}]
|
|
15912
15924
|
// ----- test/max-nested-describe -----
|
|
15913
15925
|
type TestMaxNestedDescribe = []|[{
|
|
15926
|
+
|
|
15914
15927
|
max?: number
|
|
15915
15928
|
}]
|
|
15916
15929
|
// ----- test/no-conditional-expect -----
|
|
@@ -15920,6 +15933,7 @@ type TestNoConditionalExpect = []|[{
|
|
|
15920
15933
|
}]
|
|
15921
15934
|
// ----- test/no-focused-tests -----
|
|
15922
15935
|
type TestNoFocusedTests = []|[{
|
|
15936
|
+
|
|
15923
15937
|
fixable?: boolean
|
|
15924
15938
|
}]
|
|
15925
15939
|
// ----- test/no-hooks -----
|
|
@@ -15929,8 +15943,11 @@ type TestNoHooks = []|[{
|
|
|
15929
15943
|
}]
|
|
15930
15944
|
// ----- test/no-large-snapshots -----
|
|
15931
15945
|
type TestNoLargeSnapshots = []|[{
|
|
15946
|
+
|
|
15932
15947
|
maxSize?: number
|
|
15948
|
+
|
|
15933
15949
|
inlineMaxSize?: number
|
|
15950
|
+
|
|
15934
15951
|
allowedSnapshots?: {
|
|
15935
15952
|
[k: string]: unknown[] | undefined
|
|
15936
15953
|
}
|
|
@@ -15952,50 +15969,69 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
15952
15969
|
}]
|
|
15953
15970
|
// ----- test/no-standalone-expect -----
|
|
15954
15971
|
type TestNoStandaloneExpect = []|[{
|
|
15972
|
+
|
|
15955
15973
|
additionalTestBlockFunctions?: string[]
|
|
15956
15974
|
}]
|
|
15957
15975
|
// ----- test/prefer-expect-assertions -----
|
|
15958
15976
|
type TestPreferExpectAssertions = []|[{
|
|
15977
|
+
|
|
15959
15978
|
onlyFunctionsWithAsyncKeyword?: boolean
|
|
15979
|
+
|
|
15960
15980
|
onlyFunctionsWithExpectInLoop?: boolean
|
|
15981
|
+
|
|
15961
15982
|
onlyFunctionsWithExpectInCallback?: boolean
|
|
15962
15983
|
}]
|
|
15963
15984
|
// ----- test/prefer-import-in-mock -----
|
|
15964
15985
|
type TestPreferImportInMock = []|[{
|
|
15986
|
+
|
|
15965
15987
|
fixable?: boolean
|
|
15966
15988
|
}]
|
|
15967
15989
|
// ----- test/prefer-lowercase-title -----
|
|
15968
15990
|
type TestPreferLowercaseTitle = []|[{
|
|
15991
|
+
|
|
15969
15992
|
ignore?: ("describe" | "test" | "it")[]
|
|
15993
|
+
|
|
15970
15994
|
allowedPrefixes?: string[]
|
|
15995
|
+
|
|
15971
15996
|
ignoreTopLevelDescribe?: boolean
|
|
15997
|
+
|
|
15972
15998
|
lowercaseFirstCharacterOnly?: boolean
|
|
15973
15999
|
}]
|
|
15974
16000
|
// ----- test/prefer-snapshot-hint -----
|
|
15975
16001
|
type TestPreferSnapshotHint = []|[("always" | "multi")]
|
|
15976
16002
|
// ----- test/require-hook -----
|
|
15977
16003
|
type TestRequireHook = []|[{
|
|
16004
|
+
|
|
15978
16005
|
allowedFunctionCalls?: string[]
|
|
15979
16006
|
}]
|
|
15980
16007
|
// ----- test/require-mock-type-parameters -----
|
|
15981
16008
|
type TestRequireMockTypeParameters = []|[{
|
|
16009
|
+
|
|
15982
16010
|
checkImportFunctions?: boolean
|
|
15983
16011
|
}]
|
|
15984
16012
|
// ----- test/require-top-level-describe -----
|
|
15985
16013
|
type TestRequireTopLevelDescribe = []|[{
|
|
16014
|
+
|
|
15986
16015
|
maxNumberOfTopLevelDescribes?: number
|
|
15987
16016
|
}]
|
|
15988
16017
|
// ----- test/valid-expect -----
|
|
15989
16018
|
type TestValidExpect = []|[{
|
|
16019
|
+
|
|
15990
16020
|
alwaysAwait?: boolean
|
|
16021
|
+
|
|
15991
16022
|
asyncMatchers?: string[]
|
|
16023
|
+
|
|
15992
16024
|
minArgs?: number
|
|
16025
|
+
|
|
15993
16026
|
maxArgs?: number
|
|
15994
16027
|
}]
|
|
15995
16028
|
// ----- test/valid-title -----
|
|
15996
16029
|
type TestValidTitle = []|[{
|
|
16030
|
+
|
|
15997
16031
|
ignoreTypeOfDescribeName?: boolean
|
|
16032
|
+
|
|
15998
16033
|
allowArguments?: boolean
|
|
16034
|
+
|
|
15999
16035
|
disallowedWords?: string[]
|
|
16000
16036
|
[k: string]: (string | [string]|[string, string] | {
|
|
16001
16037
|
[k: string]: (string | [string]|[string, string]) | undefined
|
|
@@ -17142,6 +17178,19 @@ type TsPreferOptionalChain = []|[{
|
|
|
17142
17178
|
// ----- ts/prefer-promise-reject-errors -----
|
|
17143
17179
|
type TsPreferPromiseRejectErrors = []|[{
|
|
17144
17180
|
|
|
17181
|
+
allow?: (string | {
|
|
17182
|
+
from: "file"
|
|
17183
|
+
name: (string | [string, ...(string)[]])
|
|
17184
|
+
path?: string
|
|
17185
|
+
} | {
|
|
17186
|
+
from: "lib"
|
|
17187
|
+
name: (string | [string, ...(string)[]])
|
|
17188
|
+
} | {
|
|
17189
|
+
from: "package"
|
|
17190
|
+
name: (string | [string, ...(string)[]])
|
|
17191
|
+
package: string
|
|
17192
|
+
})[]
|
|
17193
|
+
|
|
17145
17194
|
allowEmptyReject?: boolean
|
|
17146
17195
|
|
|
17147
17196
|
allowThrowingAny?: boolean
|
package/dist/types.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { banner_plugin_default as default } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { banner_plugin_default as default } from '../chunk-2V6EZM6D.js';
|
|
2
|
+
import '../chunk-ZZUD7FM2.js';
|
|
3
|
+
import '../chunk-6TIYLGBO.js';
|
|
4
|
+
import '../chunk-655D5XKH.js';
|
package/dist/utils/combine.js
CHANGED
package/dist/utils/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML } from '../chunk-6TIYLGBO.js';
|
|
2
|
+
import '../chunk-655D5XKH.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from '../chunk-6DUZFXFW.js';
|
|
2
|
+
import '../chunk-655D5XKH.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { findWorkspaceRoot, findWorkspaceRootSafe } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { findWorkspaceRoot, findWorkspaceRootSafe } from '../chunk-HGCOK6XC.js';
|
|
2
|
+
import '../chunk-6DUZFXFW.js';
|
|
3
|
+
import '../chunk-655D5XKH.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { formatConfig } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { formatConfig } from '../chunk-ASU5M27G.js';
|
|
2
|
+
import '../chunk-655D5XKH.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { getFileBanner } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { getFileBanner } from '../chunk-ZZUD7FM2.js';
|
|
2
|
+
import '../chunk-6TIYLGBO.js';
|
|
3
|
+
import '../chunk-655D5XKH.js';
|
package/dist/utils/helpers.cjs
CHANGED
|
@@ -8,7 +8,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
8
8
|
|
|
9
9
|
var process__default = /*#__PURE__*/_interopDefault(process);
|
|
10
10
|
|
|
11
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
11
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__008a54d3eaeaa383d843d27c70975cf9/node_modules/tsup/assets/cjs_shims.js
|
|
12
12
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
13
13
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
14
14
|
var scopeUrl = url.fileURLToPath(new URL(".", importMetaUrl));
|
package/dist/utils/helpers.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules } from '../chunk-XK2F42EF.js';
|
|
2
|
+
import '../chunk-655D5XKH.js';
|
package/dist/utils/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML } from '../chunk-
|
|
2
|
-
export { formatConfig } from '../chunk-
|
|
3
|
-
import { init_esm_shims } from '../chunk-
|
|
1
|
+
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML } from '../chunk-6TIYLGBO.js';
|
|
2
|
+
export { formatConfig } from '../chunk-ASU5M27G.js';
|
|
3
|
+
import { init_esm_shims } from '../chunk-655D5XKH.js';
|
|
4
4
|
|
|
5
5
|
// src/utils/index.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { checkTsConfigPath, getTsConfigPath } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { checkTsConfigPath, getTsConfigPath } from '../chunk-M7EEUVBU.js';
|
|
2
|
+
import '../chunk-HGCOK6XC.js';
|
|
3
|
+
import '../chunk-6DUZFXFW.js';
|
|
4
|
+
import '../chunk-655D5XKH.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.169.
|
|
3
|
+
"version": "0.169.110",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"keywords": [
|
|
@@ -141,13 +141,13 @@
|
|
|
141
141
|
"@eslint/eslintrc": "^3.3.5",
|
|
142
142
|
"@eslint/markdown": "^6.6.0",
|
|
143
143
|
"@nx/eslint-plugin": "22.5.1",
|
|
144
|
-
"@storm-software/config": "^1.135.
|
|
145
|
-
"@storm-software/config-tools": "^1.189.
|
|
144
|
+
"@storm-software/config": "^1.135.23",
|
|
145
|
+
"@storm-software/config-tools": "^1.189.22",
|
|
146
146
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
147
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
148
|
-
"@typescript-eslint/parser": "^8.
|
|
149
|
-
"@typescript-eslint/utils": "^8.
|
|
150
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
147
|
+
"@typescript-eslint/eslint-plugin": "^8.57.0",
|
|
148
|
+
"@typescript-eslint/parser": "^8.57.0",
|
|
149
|
+
"@typescript-eslint/utils": "^8.57.0",
|
|
150
|
+
"@vitest/eslint-plugin": "^1.6.10",
|
|
151
151
|
"chalk": "^4.1.2",
|
|
152
152
|
"defu": "6.1.4",
|
|
153
153
|
"eslint-config-flat-gitignore": "^2.2.1",
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
196
196
|
"@types/eslint": "^9.6.1",
|
|
197
197
|
"@types/eslint__js": "^8.42.3",
|
|
198
|
-
"@types/node": "^25.
|
|
198
|
+
"@types/node": "^25.4.0",
|
|
199
199
|
"@unocss/eslint-plugin": "^65.5.0",
|
|
200
200
|
"astro-eslint-parser": "^1.3.0",
|
|
201
201
|
"esbuild": "^0.25.12",
|
|
@@ -239,5 +239,5 @@
|
|
|
239
239
|
"prettier-plugin-astro": "^0.14.0"
|
|
240
240
|
},
|
|
241
241
|
"publishConfig": { "access": "public" },
|
|
242
|
-
"gitHead": "
|
|
242
|
+
"gitHead": "b7c665a59faca9ef7b8b96af523c2f23c6561b54"
|
|
243
243
|
}
|