@pobammer-ts/eslint-cease-nonsense-rules 1.5.0 → 1.5.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.
@@ -2,8 +2,10 @@ import type { TSESLint } from "@typescript-eslint/utils";
2
2
  type MessageIds = "uselessSpring";
3
3
  export interface NoUselessUseSpringOptions {
4
4
  readonly springHooks?: ReadonlyArray<string>;
5
+ readonly staticGlobalFactories?: ReadonlyArray<string>;
5
6
  readonly treatEmptyDepsAsViolation?: boolean;
6
7
  }
7
8
  type Options = [NoUselessUseSpringOptions?];
9
+ export declare const DEFAULT_STATIC_GLOBAL_FACTORIES: ReadonlyArray<string>;
8
10
  declare const noUselessUseSpring: TSESLint.RuleModuleWithMetaDocs<MessageIds, Options>;
9
11
  export default noUselessUseSpring;
package/package.json CHANGED
@@ -79,5 +79,5 @@
79
79
  },
80
80
  "type": "module",
81
81
  "types": "./dist/index.d.ts",
82
- "version": "1.5.0"
82
+ "version": "1.5.1"
83
83
  }