@storm-software/eslint 0.39.3 → 0.41.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 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.39.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.40.0-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.mjs CHANGED
@@ -12923,9 +12923,10 @@ const formatConfig = (name, config = []) => {
12923
12923
  });
12924
12924
  };
12925
12925
 
12926
- function stormPreset(options = {
12926
+ function getStormConfig(options = {
12927
12927
  rules: {},
12928
12928
  ignores: [],
12929
+ tsconfig: "./tsconfig.base.json",
12929
12930
  markdown: {},
12930
12931
  react: {}
12931
12932
  }, ...userConfigs) {
@@ -13005,7 +13006,6 @@ function stormPreset(options = {
13005
13006
  ...eslintPluginUnicorn.configs["flat/recommended"],
13006
13007
  files: [CODE_FILE],
13007
13008
  languageOptions: {
13008
- parser: tsEslint$1.parser,
13009
13009
  globals: {
13010
13010
  ...Object.fromEntries(
13011
13011
  Object.keys(globals).flatMap(
@@ -13016,7 +13016,8 @@ function stormPreset(options = {
13016
13016
  )
13017
13017
  ),
13018
13018
  "Storm": true
13019
- }
13019
+ },
13020
+ project: options.tsconfig ? options.tsconfig : "./tsconfig.base.json"
13020
13021
  },
13021
13022
  rules: {
13022
13023
  // https://eslint.org/docs/latest/rules/
@@ -13087,4 +13088,4 @@ function stormPreset(options = {
13087
13088
  return formatConfig("Preset", configs);
13088
13089
  }
13089
13090
 
13090
- export { stormPreset as default };
13091
+ export { getStormConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.39.3",
3
+ "version": "0.41.0",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -29,14 +29,15 @@
29
29
  "private": false,
30
30
  "exports": {
31
31
  ".": {
32
- "types": "./dist/preset.d.mts",
32
+ "types": "./declarations.d.ts",
33
33
  "import": "./dist/preset.mjs"
34
34
  },
35
35
  "./preset": {
36
- "types": "./dist/preset.d.mts",
36
+ "types": "./declarations.d.ts",
37
37
  "import": "./dist/preset.mjs"
38
38
  }
39
39
  },
40
+ "types": "declarations.d.ts",
40
41
  "files": [
41
42
  "dist"
42
43
  ],