@storm-software/eslint 0.131.0 → 0.131.2

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.129.4-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.131.1-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 -->
@@ -16,6 +16,7 @@ var DEFAULT_IGNORES = [
16
16
  "**/tamagui.css",
17
17
  "**/.nx/**",
18
18
  "**/.next/**",
19
+ "**/.storm/**",
19
20
  "**/workbox*.js",
20
21
  "**/sw*.js",
21
22
  "**/service-worker.js",
package/dist/preset.js CHANGED
@@ -2667,34 +2667,26 @@ async function perfectionist() {
2667
2667
  type: "natural"
2668
2668
  }
2669
2669
  ],
2670
- "perfectionist/sort-imports": [
2671
- "error",
2672
- {
2673
- groups: [
2674
- "type",
2675
- [
2676
- "parent-type",
2677
- "sibling-type",
2678
- "index-type",
2679
- "internal-type"
2680
- ],
2681
- "builtin",
2682
- "external",
2683
- "internal",
2684
- [
2685
- "parent",
2686
- "sibling",
2687
- "index"
2688
- ],
2689
- "side-effect",
2690
- "object",
2691
- "unknown"
2692
- ],
2693
- newlinesBetween: "ignore",
2694
- order: "asc",
2695
- type: "natural"
2696
- }
2697
- ],
2670
+ // "perfectionist/sort-imports": [
2671
+ // "error",
2672
+ // {
2673
+ // groups: [
2674
+ // "type",
2675
+ // ["parent-type", "sibling-type", "index-type", "internal-type"],
2676
+ // "builtin",
2677
+ // "external",
2678
+ // "internal",
2679
+ // ["parent", "sibling", "index"],
2680
+ // "side-effect",
2681
+ // "object",
2682
+ // "unknown"
2683
+ // ],
2684
+ // newlinesBetween: "ignore",
2685
+ // order: "asc",
2686
+ // type: "natural"
2687
+ // }
2688
+ // ],
2689
+ "perfectionist/sort-imports": "off",
2698
2690
  "perfectionist/sort-named-exports": [
2699
2691
  "error",
2700
2692
  {
@@ -2702,13 +2694,11 @@ async function perfectionist() {
2702
2694
  type: "natural"
2703
2695
  }
2704
2696
  ],
2705
- "perfectionist/sort-named-imports": [
2706
- "error",
2707
- {
2708
- order: "asc",
2709
- type: "natural"
2710
- }
2711
- ]
2697
+ // "perfectionist/sort-named-imports": [
2698
+ // "error",
2699
+ // { order: "asc", type: "natural" }
2700
+ // ],
2701
+ "perfectionist/sort-named-imports": "off"
2712
2702
  }
2713
2703
  }
2714
2704
  ];
@@ -3423,9 +3413,12 @@ async function toml(options = {}) {
3423
3413
  __name(toml, "toml");
3424
3414
 
3425
3415
  // src/configs/typescript.ts
3426
- import process2 from "node:process";
3427
3416
  async function typescript(options = {}) {
3428
3417
  const { componentExts = [], overrides = {}, overridesTypeAware = {}, parserOptions = {}, type = "app" } = options;
3418
+ let tsconfigRootDir = process.cwd();
3419
+ if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
3420
+ tsconfigRootDir = process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH;
3421
+ }
3429
3422
  const files = options.files ?? [
3430
3423
  GLOB_TS,
3431
3424
  GLOB_TSX,
@@ -3490,6 +3483,7 @@ async function typescript(options = {}) {
3490
3483
  parserOptions: {
3491
3484
  extraFileExtensions: componentExts.map((ext) => `.${ext}`),
3492
3485
  sourceType: "module",
3486
+ projectService: true,
3493
3487
  ...typeAware ? {
3494
3488
  projectService: {
3495
3489
  allowDefaultProject: [
@@ -3497,7 +3491,7 @@ async function typescript(options = {}) {
3497
3491
  ],
3498
3492
  defaultProject: tsconfigPath
3499
3493
  },
3500
- tsconfigRootDir: process2.cwd()
3494
+ tsconfigRootDir
3501
3495
  } : {},
3502
3496
  ...parserOptions
3503
3497
  }
@@ -3542,6 +3536,9 @@ async function typescript(options = {}) {
3542
3536
  *
3543
3537
  **************************************************************/
3544
3538
  "ts/no-explicit-any": "off",
3539
+ "ts/no-unsafe-assignment": "off",
3540
+ "ts/no-unsafe-argument": "off",
3541
+ "ts/no-unsafe-member-access": "off",
3545
3542
  "ts/no-empty-function": "off",
3546
3543
  "ts/no-var-requires": "off",
3547
3544
  "ts/ban-ts-comment": "off",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_IGNORES
3
- } from "../chunk-UAGSKXUP.js";
3
+ } from "../chunk-NXBMVNV2.js";
4
4
  import "../chunk-SHUYVCID.js";
5
5
  export {
6
6
  DEFAULT_IGNORES
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_IGNORES
3
- } from "../chunk-UAGSKXUP.js";
3
+ } from "../chunk-NXBMVNV2.js";
4
4
  import {
5
5
  formatConfig
6
6
  } from "../chunk-FTXILLLE.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.131.0",
3
+ "version": "0.131.2",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {