@storm-software/eslint 0.137.3 → 0.137.4

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 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
- [![Version](https://img.shields.io/badge/version-0.137.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.137.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/dist/preset.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Linter } from 'eslint';
2
2
  import { FlatConfigComposer } from 'eslint-flat-config-utils';
3
- import { O as OptionsConfig, R as RuleOptions, T as TypedFlatConfigItem, A as Awaitable, C as ConfigNames } from './types-kqDn17wa.js';
3
+ import { OptionsConfig, RuleOptions, TypedFlatConfigItem, Awaitable, ConfigNames } from './types.js';
4
4
  import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
5
5
  import '@stylistic/eslint-plugin';
6
6
  import '@typescript-eslint/parser';
package/dist/preset.js CHANGED
@@ -1,3 +1,11 @@
1
+ import {
2
+ ensurePackages,
3
+ interopDefault,
4
+ isInEditorEnv,
5
+ isPackageInScope,
6
+ parserPlain,
7
+ renameRules
8
+ } from "./chunk-7NZUDX62.js";
1
9
  import {
2
10
  getTsConfigPath
3
11
  } from "./chunk-GXNMSXDL.js";
@@ -36,14 +44,6 @@ import {
36
44
  GLOB_XML,
37
45
  GLOB_YAML
38
46
  } from "./chunk-AIKLBIPC.js";
39
- import {
40
- ensurePackages,
41
- interopDefault,
42
- isInEditorEnv,
43
- isPackageInScope,
44
- parserPlain,
45
- renameRules
46
- } from "./chunk-7NZUDX62.js";
47
47
  import {
48
48
  __name
49
49
  } from "./chunk-SHUYVCID.js";
@@ -16417,6 +16417,12 @@ type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plug
16417
16417
  */
16418
16418
  plugins?: Record<string, any>;
16419
16419
  };
16420
+ interface OptionsFiles {
16421
+ /**
16422
+ * Override the `files` option to provide custom globs.
16423
+ */
16424
+ files?: string[];
16425
+ }
16420
16426
  type OptionsTypescript = (OptionsTypeScriptWithTypes & OptionsOverrides) | (OptionsTypeScriptParserOptions & OptionsOverrides);
16421
16427
  interface OptionsFormatters {
16422
16428
  /**
@@ -16518,6 +16524,12 @@ interface OptionsTypeScriptWithTypes {
16518
16524
  */
16519
16525
  overridesTypeAware?: TypedFlatConfigItem["rules"];
16520
16526
  }
16527
+ interface OptionsHasTypeScript {
16528
+ typescript?: boolean;
16529
+ }
16530
+ interface OptionsStylistic {
16531
+ stylistic?: boolean | StylisticConfig;
16532
+ }
16521
16533
  type StylisticConfig = Pick<StylisticCustomizeOptions, "indent" | "quotes" | "jsx" | "semi"> & {
16522
16534
  lineEndings?: "unix" | "windows";
16523
16535
  };
@@ -16538,6 +16550,9 @@ interface OptionsRegExp {
16538
16550
  */
16539
16551
  level?: "error" | "warn";
16540
16552
  }
16553
+ interface OptionsIsInEditor {
16554
+ isInEditor?: boolean;
16555
+ }
16541
16556
  interface OptionsUnoCSS extends OptionsOverrides {
16542
16557
  /**
16543
16558
  * Enable attributify support.
@@ -16963,4 +16978,4 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
16963
16978
  autoRenamePlugins?: boolean;
16964
16979
  }
16965
16980
 
16966
- export type { Awaitable as A, ConfigNames as C, OptionsConfig as O, RuleOptions as R, TypedFlatConfigItem as T };
16981
+ 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 };
package/dist/types.js ADDED
File without changes
@@ -1,5 +1,5 @@
1
1
  import { Awaitable } from 'eslint-flat-config-utils';
2
- import { T as TypedFlatConfigItem } from '../types-kqDn17wa.js';
2
+ import { TypedFlatConfigItem } from '../types.js';
3
3
  import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
4
4
  import '@stylistic/eslint-plugin';
5
5
  import '@typescript-eslint/parser';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.137.3",
3
+ "version": "0.137.4",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -87,6 +87,14 @@
87
87
  "default": "./dist/preset.js"
88
88
  }
89
89
  },
90
+ "./types": {
91
+ "import": { "types": "./dist/types.d.ts", "default": "./dist/types.js" },
92
+ "require": {
93
+ "types": "./dist/types.d.cts",
94
+ "default": "./dist/types.cjs"
95
+ },
96
+ "default": { "types": "./dist/types.d.ts", "default": "./dist/types.js" }
97
+ },
90
98
  "./rules/*": {
91
99
  "import": {
92
100
  "types": "./dist/rules/*.d.ts",