@storm-software/eslint 0.83.0 → 0.83.1

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.82.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)
24
+ [![Version](https://img.shields.io/badge/version-0.83.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
@@ -12845,29 +12845,24 @@ const plugin = {
12845
12845
  },
12846
12846
  processors: {}
12847
12847
  };
12848
- plugin.configs && (plugin.configs.recommended = [
12849
- {
12850
- name: "banner/recommended/plugin",
12851
- plugins: { banner: plugin }
12852
- },
12853
- {
12854
- name: "banner/recommended/code-files",
12855
- files: [
12856
- CODE_FILE,
12857
- "!**/docs/**/*",
12858
- "!**/crates/**/*",
12859
- "!**/tmp/**/*",
12860
- "!**/dist/**/*",
12861
- "!**/coverage/**/*",
12862
- "!**/node_modules/**/*",
12863
- "!**/.cache/**/*",
12864
- "!**/.nx/**/*"
12865
- ],
12866
- rules: {
12867
- "banner/banner": ["error", { commentType: "block", numNewlines: 2 }]
12868
- }
12848
+ plugin.configs && (plugin.configs.recommended = {
12849
+ name: "banner/recommended",
12850
+ plugins: { banner: plugin },
12851
+ files: [
12852
+ CODE_FILE,
12853
+ "!**/docs/**/*",
12854
+ "!**/crates/**/*",
12855
+ "!**/tmp/**/*",
12856
+ "!**/dist/**/*",
12857
+ "!**/coverage/**/*",
12858
+ "!**/node_modules/**/*",
12859
+ "!**/.cache/**/*",
12860
+ "!**/.nx/**/*"
12861
+ ],
12862
+ rules: {
12863
+ "banner/banner": ["error", { commentType: "block", numNewlines: 2 }]
12869
12864
  }
12870
- ]);
12865
+ });
12871
12866
 
12872
12867
  const formatConfig = (name, config = []) => {
12873
12868
  return config.map((config2, index) => {
@@ -12896,6 +12891,7 @@ function getStormConfig(options = {
12896
12891
  react: {},
12897
12892
  useReactCompiler: false
12898
12893
  }, ...userConfigs) {
12894
+ const tsconfig = options.tsconfig ?? "./tsconfig.base.json";
12899
12895
  const tsConfigType = options.tsConfigType || "eslint-recommended";
12900
12896
  const useUnicorn = options.useUnicorn ?? true;
12901
12897
  const react = options.react ?? {};
@@ -12912,7 +12908,15 @@ function getStormConfig(options = {
12912
12908
  // },
12913
12909
  // Banner
12914
12910
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
12915
- ...plugin.configs["recommended"],
12911
+ {
12912
+ ...plugin.configs["recommended"],
12913
+ rules: {
12914
+ "banner/banner": [
12915
+ "error",
12916
+ { commentType: "block", numNewlines: 2, repositoryName: options.name }
12917
+ ]
12918
+ }
12919
+ },
12916
12920
  // NX
12917
12921
  {
12918
12922
  plugins: { "@nx": nxPlugin }
@@ -13032,7 +13036,7 @@ function getStormConfig(options = {
13032
13036
  parserOptions: {
13033
13037
  emitDecoratorMetadata: true,
13034
13038
  experimentalDecorators: true,
13035
- project: options.tsconfig ? options.tsconfig : "./tsconfig.base.json",
13039
+ project: tsconfig,
13036
13040
  projectService: true,
13037
13041
  sourceType: "module",
13038
13042
  projectFolderIgnoreList: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.83.0",
3
+ "version": "0.83.1",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {