@storm-software/eslint 0.32.0 → 0.34.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.31.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.32.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.d.mts CHANGED
@@ -780,7 +780,11 @@ interface RuleOptions {
780
780
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
781
781
  */
782
782
  '@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
783
- 'banner/banner'?: Linter.RuleEntry<[]>
783
+ /**
784
+ * Ensures the file has a Storm Software banner
785
+ * @see https://docs.stormsoftware.com/eslint-rules/banner
786
+ */
787
+ 'banner/banner'?: Linter.RuleEntry<BannerBanner>
784
788
  /**
785
789
  * Enforce emojis are wrapped in `<span>` and provide screenreader access.
786
790
  * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md
@@ -3868,6 +3872,15 @@ type TypescriptEslintUnifiedSignatures = []|[{
3868
3872
 
3869
3873
  ignoreDifferentlyNamedParameters?: boolean
3870
3874
  }]
3875
+ // ----- banner/banner -----
3876
+ type BannerBanner = []|[{
3877
+
3878
+ banner?: string
3879
+
3880
+ commentType?: string
3881
+
3882
+ numNewlines?: number
3883
+ }]
3871
3884
  // ----- prettier/prettier -----
3872
3885
  type PrettierPrettier = []|[{
3873
3886
  [k: string]: unknown | undefined
package/dist/preset.d.ts CHANGED
@@ -780,7 +780,11 @@ interface RuleOptions {
780
780
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
781
781
  */
782
782
  '@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
783
- 'banner/banner'?: Linter.RuleEntry<[]>
783
+ /**
784
+ * Ensures the file has a Storm Software banner
785
+ * @see https://docs.stormsoftware.com/eslint-rules/banner
786
+ */
787
+ 'banner/banner'?: Linter.RuleEntry<BannerBanner>
784
788
  /**
785
789
  * Enforce emojis are wrapped in `<span>` and provide screenreader access.
786
790
  * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md
@@ -3868,6 +3872,15 @@ type TypescriptEslintUnifiedSignatures = []|[{
3868
3872
 
3869
3873
  ignoreDifferentlyNamedParameters?: boolean
3870
3874
  }]
3875
+ // ----- banner/banner -----
3876
+ type BannerBanner = []|[{
3877
+
3878
+ banner?: string
3879
+
3880
+ commentType?: string
3881
+
3882
+ numNewlines?: number
3883
+ }]
3871
3884
  // ----- prettier/prettier -----
3872
3885
  type PrettierPrettier = []|[{
3873
3886
  [k: string]: unknown | undefined