@storm-software/eslint 0.140.1 → 0.141.0
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/preset.js +9 -2
- package/dist/types.d.ts +12 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/dist/preset.js
CHANGED
|
@@ -2705,7 +2705,9 @@ __name(perfectionist, "perfectionist");
|
|
|
2705
2705
|
|
|
2706
2706
|
// src/configs/pnpm.ts
|
|
2707
2707
|
async function pnpm(options = {}) {
|
|
2708
|
-
const { overrides = {}
|
|
2708
|
+
const { overrides = {}, skip = [
|
|
2709
|
+
"typescript"
|
|
2710
|
+
] } = options;
|
|
2709
2711
|
const [pluginPnpm, parserJsonc] = await Promise.all([
|
|
2710
2712
|
interopDefault(import("eslint-plugin-pnpm")),
|
|
2711
2713
|
interopDefault(import("jsonc-eslint-parser"))
|
|
@@ -2728,7 +2730,12 @@ async function pnpm(options = {}) {
|
|
|
2728
2730
|
parser: parserJsonc
|
|
2729
2731
|
},
|
|
2730
2732
|
rules: {
|
|
2731
|
-
"pnpm/enforce-catalog":
|
|
2733
|
+
"pnpm/enforce-catalog": [
|
|
2734
|
+
"error",
|
|
2735
|
+
{
|
|
2736
|
+
skip
|
|
2737
|
+
}
|
|
2738
|
+
],
|
|
2732
2739
|
"pnpm/valid-catalog": "error",
|
|
2733
2740
|
"pnpm/prefer-workspace-settings": "error",
|
|
2734
2741
|
...overrides
|
package/dist/types.d.ts
CHANGED
|
@@ -12717,6 +12717,8 @@ type PnpmEnforceCatalog = []|[{
|
|
|
12717
12717
|
defaultCatalog?: string
|
|
12718
12718
|
|
|
12719
12719
|
reuseExistingCatalog?: boolean
|
|
12720
|
+
|
|
12721
|
+
skip?: string[]
|
|
12720
12722
|
}]
|
|
12721
12723
|
// ----- pnpm/prefer-workspace-settings -----
|
|
12722
12724
|
type PnpmPreferWorkspaceSettings = []|[{
|
|
@@ -16808,6 +16810,14 @@ interface OptionsNx extends OptionsOverrides {
|
|
|
16808
16810
|
*/
|
|
16809
16811
|
moduleBoundaries?: OptionsNxEnforceModuleBoundaries | false;
|
|
16810
16812
|
}
|
|
16813
|
+
interface OptionsPnpm extends OptionsOverrides {
|
|
16814
|
+
/**
|
|
16815
|
+
* A list of dependencies to ignore for the `pnpm/enforce-catalog` rule.
|
|
16816
|
+
*
|
|
16817
|
+
* @defaultValue ["typescript"]
|
|
16818
|
+
*/
|
|
16819
|
+
skip?: string[];
|
|
16820
|
+
}
|
|
16811
16821
|
interface OptionsCSpell extends OptionsOverrides {
|
|
16812
16822
|
/**
|
|
16813
16823
|
* A path to a CSpell configuration file
|
|
@@ -16884,7 +16894,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16884
16894
|
*
|
|
16885
16895
|
* @defaultValue true
|
|
16886
16896
|
*/
|
|
16887
|
-
pnpm?: boolean |
|
|
16897
|
+
pnpm?: boolean | OptionsPnpm;
|
|
16888
16898
|
/**
|
|
16889
16899
|
* Enable JSX related rules.
|
|
16890
16900
|
*
|
|
@@ -17038,4 +17048,4 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
17038
17048
|
autoRenamePlugins?: boolean;
|
|
17039
17049
|
}
|
|
17040
17050
|
|
|
17041
|
-
export type { Awaitable, ConfigNames, ESLintGlobalsPropValue, OptionsCSpell, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsGraphQL, OptionsHasTypeScript, OptionsIsInEditor, OptionsJavascript, OptionsNext, OptionsNx, OptionsNxDependencyChecks, OptionsNxEnforceModuleBoundaries, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStorybook, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
|
|
17051
|
+
export type { Awaitable, ConfigNames, ESLintGlobalsPropValue, OptionsCSpell, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsGraphQL, OptionsHasTypeScript, OptionsIsInEditor, OptionsJavascript, OptionsNext, OptionsNx, OptionsNxDependencyChecks, OptionsNxEnforceModuleBoundaries, OptionsOverrides, OptionsPnpm, OptionsProjectType, OptionsRegExp, OptionsStorybook, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
|
package/package.json
CHANGED